func (c *FakeExternalInterfaces) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(externalinterfacesResource, c.ns, opts))
}
Watch returns a watch.Interface that watches the requested externalInterfaces.
package fake
import (
	contivppiov1 "github.com/contiv/vpp/plugins/crd/pkg/apis/contivppio/v1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	labels "k8s.io/apimachinery/pkg/labels"
	schema "k8s.io/apimachinery/pkg/runtime/schema"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	testing "k8s.io/client-go/testing"
)
type FakeExternalInterfaces struct {
	Fake *FakeContivppV1
	ns   string
}
var externalinterfacesResource = schema.GroupVersionResource{Group: "contivpp.io", Version: "v1", Resource: "externalinterfaces"}
var externalinterfacesKind = schema.GroupVersionKind{Group: "contivpp.io", Version: "v1", Kind: "ExternalInterface"}
func (c *FakeExternalInterfaces) Get(name string, options v1.GetOptions) (result *contivppiov1.ExternalInterface, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(externalinterfacesResource, c.ns, name), &contivppiov1.ExternalInterface{})
	if obj == nil {
		return nil, err
	}
	return obj.(*contivppiov1.ExternalInterface), err
}
func (c *FakeExternalInterfaces) List(opts v1.ListOptions) (result *contivppiov1.ExternalInterfaceList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(externalinterfacesResource, externalinterfacesKind, c.ns, opts), &contivppiov1.ExternalInterfaceList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &contivppiov1.ExternalInterfaceList{ListMeta: obj.(*contivppiov1.ExternalInterfaceList).ListMeta}
	for _, item := range obj.(*contivppiov1.ExternalInterfaceList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}