func (c *FakeMirrors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
	action := testing.NewDeleteCollectionAction(mirrorsResource, c.ns, listOptions)
	_, err := c.Fake.Invokes(action, &v1alpha1.MirrorList{})
	return err
}
DeleteCollection deletes a collection of objects.
package fake
import (
	v1alpha1 "go.medium.engineering/picchu/pkg/apis/picchu/v1alpha1"
	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 FakeMirrors struct {
	Fake *FakePicchuV1alpha1
	ns   string
}
var mirrorsResource = schema.GroupVersionResource{Group: "picchu.medium.engineering", Version: "v1alpha1", Resource: "mirrors"}
var mirrorsKind = schema.GroupVersionKind{Group: "picchu.medium.engineering", Version: "v1alpha1", Kind: "Mirror"}
func (c *FakeMirrors) Get(name string, options v1.GetOptions) (result *v1alpha1.Mirror, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(mirrorsResource, c.ns, name), &v1alpha1.Mirror{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.Mirror), err
}
func (c *FakeMirrors) List(opts v1.ListOptions) (result *v1alpha1.MirrorList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(mirrorsResource, mirrorsKind, c.ns, opts), &v1alpha1.MirrorList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &v1alpha1.MirrorList{ListMeta: obj.(*v1alpha1.MirrorList).ListMeta}
	for _, item := range obj.(*v1alpha1.MirrorList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeMirrors) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(mirrorsResource, c.ns, opts))
}
func (c *FakeMirrors) Create(mirror *v1alpha1.Mirror) (result *v1alpha1.Mirror, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(mirrorsResource, c.ns, mirror), &v1alpha1.Mirror{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.Mirror), err
}
func (c *FakeMirrors) Update(mirror *v1alpha1.Mirror) (result *v1alpha1.Mirror, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateAction(mirrorsResource, c.ns, mirror), &v1alpha1.Mirror{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.Mirror), err
}
func (c *FakeMirrors) UpdateStatus(mirror *v1alpha1.Mirror) (*v1alpha1.Mirror, error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateSubresourceAction(mirrorsResource, "status", c.ns, mirror), &v1alpha1.Mirror{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.Mirror), err
}
func (c *FakeMirrors) Delete(name string, options *v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(testing.NewDeleteAction(mirrorsResource, c.ns, name), &v1alpha1.Mirror{})
	return err
}