func (c *FakeClusterBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewRootWatchAction(clusterbuildersResource, opts))
}
Watch returns a watch.Interface that watches the requested clusterBuilders.
package fake
import (
	"context"
	v1alpha2 "github.com/pivotal/kpack/pkg/apis/build/v1alpha2"
	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 FakeClusterBuilders struct {
	Fake *FakeKpackV1alpha2
}
var clusterbuildersResource = schema.GroupVersionResource{Group: "kpack.io", Version: "v1alpha2", Resource: "clusterbuilders"}
var clusterbuildersKind = schema.GroupVersionKind{Group: "kpack.io", Version: "v1alpha2", Kind: "ClusterBuilder"}
func (c *FakeClusterBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterBuilder, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootGetAction(clusterbuildersResource, name), &v1alpha2.ClusterBuilder{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha2.ClusterBuilder), err
}
func (c *FakeClusterBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterBuilderList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootListAction(clusterbuildersResource, clusterbuildersKind, opts), &v1alpha2.ClusterBuilderList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &v1alpha2.ClusterBuilderList{ListMeta: obj.(*v1alpha2.ClusterBuilderList).ListMeta}
	for _, item := range obj.(*v1alpha2.ClusterBuilderList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}