func newCustomNetworks(c *ContivppV1Client, namespace string) *customNetworks {
	return &customNetworks{
		client: c.RESTClient(),
		ns:     namespace,
	}
}
newCustomNetworks returns a CustomNetworks
package v1
import (
	"time"
	v1 "github.com/contiv/vpp/plugins/crd/pkg/apis/contivppio/v1"
	scheme "github.com/contiv/vpp/plugins/crd/pkg/client/clientset/versioned/scheme"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	rest "k8s.io/client-go/rest"
)
type CustomNetworksGetter interface {
	CustomNetworks(namespace string) CustomNetworkInterface
}
type CustomNetworkInterface interface {
	Create(*v1.CustomNetwork) (*v1.CustomNetwork, error)
	Update(*v1.CustomNetwork) (*v1.CustomNetwork, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.CustomNetwork, error)
	List(opts metav1.ListOptions) (*v1.CustomNetworkList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.CustomNetwork, err error)
	CustomNetworkExpansion
}
type customNetworks struct {
	client rest.Interface
	ns     string
}