func (c *FakePodENIs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
	action := testing.NewDeleteCollectionAction(podenisResource, c.ns, listOpts)
	_, err := c.Fake.Invokes(action, &v1beta1.PodENIList{})
	return err
}
DeleteCollection deletes a collection of objects.
package fake
import (
	"context"
	v1beta1 "github.com/AliyunContainerService/terway/pkg/apis/network.alibabacloud.com/v1beta1"
	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 FakePodENIs struct {
	Fake *FakeNetworkV1beta1
	ns   string
}
var podenisResource = schema.GroupVersionResource{Group: "network.alibabacloud.com", Version: "v1beta1", Resource: "podenis"}
var podenisKind = schema.GroupVersionKind{Group: "network.alibabacloud.com", Version: "v1beta1", Kind: "PodENI"}
func (c *FakePodENIs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PodENI, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(podenisResource, c.ns, name), &v1beta1.PodENI{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1beta1.PodENI), err
}
func (c *FakePodENIs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PodENIList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(podenisResource, podenisKind, c.ns, opts), &v1beta1.PodENIList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &v1beta1.PodENIList{ListMeta: obj.(*v1beta1.PodENIList).ListMeta}
	for _, item := range obj.(*v1beta1.PodENIList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakePodENIs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(podenisResource, c.ns, opts))
}
func (c *FakePodENIs) Create(ctx context.Context, podENI *v1beta1.PodENI, opts v1.CreateOptions) (result *v1beta1.PodENI, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(podenisResource, c.ns, podENI), &v1beta1.PodENI{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1beta1.PodENI), err
}
func (c *FakePodENIs) Update(ctx context.Context, podENI *v1beta1.PodENI, opts v1.UpdateOptions) (result *v1beta1.PodENI, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateAction(podenisResource, c.ns, podENI), &v1beta1.PodENI{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1beta1.PodENI), err
}
func (c *FakePodENIs) UpdateStatus(ctx context.Context, podENI *v1beta1.PodENI, opts v1.UpdateOptions) (*v1beta1.PodENI, error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateSubresourceAction(podenisResource, "status", c.ns, podENI), &v1beta1.PodENI{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1beta1.PodENI), err
}
func (c *FakePodENIs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(testing.NewDeleteAction(podenisResource, c.ns, name), &v1beta1.PodENI{})
	return err
}