func (c *FakeNodeAssignmentGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
	action := testing.NewRootDeleteCollectionAction(nodeassignmentgroupsResource, listOptions)
	_, err := c.Fake.Invokes(action, &v1alpha1.NodeAssignmentGroupList{})
	return err
}
DeleteCollection deletes a collection of objects.
package fake
import (
	v1alpha1 "github.com/domoinc/kube-valet/pkg/apis/assignments/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 FakeNodeAssignmentGroups struct {
	Fake *FakeAssignmentsV1alpha1
}
var nodeassignmentgroupsResource = schema.GroupVersionResource{Group: "assignments.kube-valet.io", Version: "v1alpha1", Resource: "nodeassignmentgroups"}
var nodeassignmentgroupsKind = schema.GroupVersionKind{Group: "assignments.kube-valet.io", Version: "v1alpha1", Kind: "NodeAssignmentGroup"}
func (c *FakeNodeAssignmentGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeAssignmentGroup, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootGetAction(nodeassignmentgroupsResource, name), &v1alpha1.NodeAssignmentGroup{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.NodeAssignmentGroup), err
}
func (c *FakeNodeAssignmentGroups) List(opts v1.ListOptions) (result *v1alpha1.NodeAssignmentGroupList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootListAction(nodeassignmentgroupsResource, nodeassignmentgroupsKind, opts), &v1alpha1.NodeAssignmentGroupList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &v1alpha1.NodeAssignmentGroupList{ListMeta: obj.(*v1alpha1.NodeAssignmentGroupList).ListMeta}
	for _, item := range obj.(*v1alpha1.NodeAssignmentGroupList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeNodeAssignmentGroups) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewRootWatchAction(nodeassignmentgroupsResource, opts))
}
func (c *FakeNodeAssignmentGroups) Create(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (result *v1alpha1.NodeAssignmentGroup, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootCreateAction(nodeassignmentgroupsResource, nodeAssignmentGroup), &v1alpha1.NodeAssignmentGroup{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.NodeAssignmentGroup), err
}
func (c *FakeNodeAssignmentGroups) Update(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (result *v1alpha1.NodeAssignmentGroup, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootUpdateAction(nodeassignmentgroupsResource, nodeAssignmentGroup), &v1alpha1.NodeAssignmentGroup{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.NodeAssignmentGroup), err
}
func (c *FakeNodeAssignmentGroups) UpdateStatus(nodeAssignmentGroup *v1alpha1.NodeAssignmentGroup) (*v1alpha1.NodeAssignmentGroup, error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootUpdateSubresourceAction(nodeassignmentgroupsResource, "status", nodeAssignmentGroup), &v1alpha1.NodeAssignmentGroup{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.NodeAssignmentGroup), err
}
func (c *FakeNodeAssignmentGroups) Delete(name string, options *v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(testing.NewRootDeleteAction(nodeassignmentgroupsResource, name), &v1alpha1.NodeAssignmentGroup{})
	return err
}