func (c *Clientset) ObservabilityV1alpha1() observabilityv1alpha1.ObservabilityV1alpha1Interface {
	return &fakeobservabilityv1alpha1.FakeObservabilityV1alpha1{Fake: &c.Fake}
}
ObservabilityV1alpha1 retrieves the ObservabilityV1alpha1Client
package fake
import (
	clientset "github.com/knative/observability/pkg/client/clientset/versioned"
	observabilityv1alpha1 "github.com/knative/observability/pkg/client/clientset/versioned/typed/sink/v1alpha1"
	fakeobservabilityv1alpha1 "github.com/knative/observability/pkg/client/clientset/versioned/typed/sink/v1alpha1/fake"
	"k8s.io/apimachinery/pkg/runtime"
	"k8s.io/apimachinery/pkg/watch"
	"k8s.io/client-go/discovery"
	fakediscovery "k8s.io/client-go/discovery/fake"
	"k8s.io/client-go/testing"
)
func NewSimpleClientset(objects ...runtime.Object) *Clientset {
	o := testing.NewObjectTracker(scheme, codecs.UniversalDecoder())
	for _, obj := range objects {
		if err := o.Add(obj); err != nil {
			panic(err)
		}
	}
	cs := &Clientset{tracker: o}
	cs.discovery = &fakediscovery.FakeDiscovery{Fake: &cs.Fake}
	cs.AddReactor("*", "*", testing.ObjectReaction(o))
	cs.AddWatchReactor("*", func(action testing.Action) (handled bool, ret watch.Interface, err error) {
		gvr := action.GetResource()
		ns := action.GetNamespace()
		watch, err := o.Watch(gvr, ns)
		if err != nil {
			return false, nil, err
		}
		return true, watch, nil
	})
	return cs
}
type Clientset struct {
	testing.Fake
	discovery *fakediscovery.FakeDiscovery
	tracker   testing.ObjectTracker
}
func (c *Clientset) Discovery() discovery.DiscoveryInterface {
	return c.discovery
}
func (c *Clientset) Tracker() testing.ObjectTracker {
	return c.tracker
}
var _ clientset.Interface = &Clientset{}