func New(c rest.Interface) *DanmV1Client {
	return &DanmV1Client{c}
}
New creates a new DanmV1Client for the given RESTClient.
package v1
import (
	v1 "github.com/nokia/danm/crd/apis/danm/v1"
	"github.com/nokia/danm/crd/client/clientset/versioned/scheme"
	rest "k8s.io/client-go/rest"
)
type DanmV1Interface interface {
	RESTClient() rest.Interface
	ClusterNetworksGetter
	DanmEpsGetter
	DanmNetsGetter
	TenantConfigsGetter
	TenantNetworksGetter
}
type DanmV1Client struct {
	restClient rest.Interface
}
func (c *DanmV1Client) ClusterNetworks() ClusterNetworkInterface {
	return newClusterNetworks(c)
}
func (c *DanmV1Client) DanmEps(namespace string) DanmEpInterface {
	return newDanmEps(c, namespace)
}
func (c *DanmV1Client) DanmNets(namespace string) DanmNetInterface {
	return newDanmNets(c, namespace)
}
func (c *DanmV1Client) TenantConfigs() TenantConfigInterface {
	return newTenantConfigs(c)
}
func (c *DanmV1Client) TenantNetworks(namespace string) TenantNetworkInterface {
	return newTenantNetworks(c, namespace)
}
func NewForConfig(c *rest.Config) (*DanmV1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &DanmV1Client{client}, nil
}
func NewForConfigOrDie(c *rest.Config) *DanmV1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}