func (c *FakeClusterMetricSinks) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(clustermetricsinksResource, c.ns, opts))
}
Watch returns a watch.Interface that watches the requested clusterMetricSinks.
package fake
import (
	v1alpha1 "github.com/knative/observability/pkg/apis/sink/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 FakeClusterMetricSinks struct {
	Fake *FakeObservabilityV1alpha1
	ns   string
}
var clustermetricsinksResource = schema.GroupVersionResource{Group: "observability.knative.dev", Version: "v1alpha1", Resource: "clustermetricsinks"}
var clustermetricsinksKind = schema.GroupVersionKind{Group: "observability.knative.dev", Version: "v1alpha1", Kind: "ClusterMetricSink"}
func (c *FakeClusterMetricSinks) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterMetricSink, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(clustermetricsinksResource, c.ns, name), &v1alpha1.ClusterMetricSink{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.ClusterMetricSink), err
}
func (c *FakeClusterMetricSinks) List(opts v1.ListOptions) (result *v1alpha1.ClusterMetricSinkList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(clustermetricsinksResource, clustermetricsinksKind, c.ns, opts), &v1alpha1.ClusterMetricSinkList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &v1alpha1.ClusterMetricSinkList{ListMeta: obj.(*v1alpha1.ClusterMetricSinkList).ListMeta}
	for _, item := range obj.(*v1alpha1.ClusterMetricSinkList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}