func (c *nodeAssignmentGroups) List(opts v1.ListOptions) (result *v1alpha1.NodeAssignmentGroupList, err error) {
	var timeout time.Duration
	if opts.TimeoutSeconds != nil {
		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
	}
	result = &v1alpha1.NodeAssignmentGroupList{}
	err = c.client.Get().
		Resource("nodeassignmentgroups").
		VersionedParams(&opts, scheme.ParameterCodec).
		Timeout(timeout).
		Do().
		Into(result)
	return
}
List takes label and field selectors, and returns the list of NodeAssignmentGroups that match those selectors.
package v1alpha1
import (
	"time"
	v1alpha1 "github.com/domoinc/kube-valet/pkg/apis/assignments/v1alpha1"
	scheme "github.com/domoinc/kube-valet/pkg/client/clientset/versioned/scheme"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	rest "k8s.io/client-go/rest"
)
type NodeAssignmentGroupsGetter interface {
	NodeAssignmentGroups() NodeAssignmentGroupInterface
}
type NodeAssignmentGroupInterface interface {
	Create(*v1alpha1.NodeAssignmentGroup) (*v1alpha1.NodeAssignmentGroup, error)
	Update(*v1alpha1.NodeAssignmentGroup) (*v1alpha1.NodeAssignmentGroup, error)
	UpdateStatus(*v1alpha1.NodeAssignmentGroup) (*v1alpha1.NodeAssignmentGroup, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.NodeAssignmentGroup, error)
	List(opts v1.ListOptions) (*v1alpha1.NodeAssignmentGroupList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeAssignmentGroup, err error)
	NodeAssignmentGroupExpansion
}
type nodeAssignmentGroups struct {
	client rest.Interface
}
func newNodeAssignmentGroups(c *AssignmentsV1alpha1Client) *nodeAssignmentGroups {
	return &nodeAssignmentGroups{
		client: c.RESTClient(),
	}
}
func (c *nodeAssignmentGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeAssignmentGroup, err error) {
	result = &v1alpha1.NodeAssignmentGroup{}
	err = c.client.Get().
		Resource("nodeassignmentgroups").
		Name(name).
		VersionedParams(&options, scheme.ParameterCodec).
		Do().
		Into(result)
	return
}