func (c *bundles) List(opts v1.ListOptions) (result *v1alpha1.BundleList, err error) {
	result = &v1alpha1.BundleList{}
	err = c.client.Get().
		Namespace(c.ns).
		Resource("bundles").
		VersionedParams(&opts, scheme.ParameterCodec).
		Do().
		Into(result)
	return
}
List takes label and field selectors, and returns the list of Bundles that match those selectors.
package v1alpha1
import (
	scheme "github.com/automationbroker/broker-client-go/client/clientset/versioned/scheme"
	v1alpha1 "github.com/automationbroker/broker-client-go/pkg/apis/automationbroker/v1alpha1"
	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 BundlesGetter interface {
	Bundles(namespace string) BundleInterface
}
type BundleInterface interface {
	Create(*v1alpha1.Bundle) (*v1alpha1.Bundle, error)
	Update(*v1alpha1.Bundle) (*v1alpha1.Bundle, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Bundle, error)
	List(opts v1.ListOptions) (*v1alpha1.BundleList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Bundle, err error)
	BundleExpansion
}
type bundles struct {
	client rest.Interface
	ns     string
}
func newBundles(c *AutomationbrokerV1alpha1Client, namespace string) *bundles {
	return &bundles{
		client: c.RESTClient(),
		ns:     namespace,
	}
}
func (c *bundles) Get(name string, options v1.GetOptions) (result *v1alpha1.Bundle, err error) {
	result = &v1alpha1.Bundle{}
	err = c.client.Get().
		Namespace(c.ns).
		Resource("bundles").
		Name(name).
		VersionedParams(&options, scheme.ParameterCodec).
		Do().
		Into(result)
	return
}