Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKafkaTopics
- func (c *FakeKafkaTopics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KafkaTopic, err error)
- func (c *FakeKafkaTopics) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KafkaTopicList, err error)
- func (c *FakeKafkaTopics) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKafkaV1beta1
- type FakeKafkas
- func (c *FakeKafkas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Kafka, err error)
- func (c *FakeKafkas) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KafkaList, err error)
- func (c *FakeKafkas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKafkaTopics ¶
type FakeKafkaTopics struct { Fake *FakeKafkaV1beta1 // contains filtered or unexported fields }
FakeKafkaTopics implements KafkaTopicInterface
func (*FakeKafkaTopics) Get ¶
func (c *FakeKafkaTopics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KafkaTopic, err error)
Get takes name of the kafkaTopic, and returns the corresponding kafkaTopic object, and an error if there is any.
func (*FakeKafkaTopics) List ¶
func (c *FakeKafkaTopics) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KafkaTopicList, err error)
List takes label and field selectors, and returns the list of KafkaTopics that match those selectors.
func (*FakeKafkaTopics) Watch ¶
func (c *FakeKafkaTopics) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kafkaTopics.
type FakeKafkaV1beta1 ¶
func (*FakeKafkaV1beta1) KafkaTopics ¶
func (c *FakeKafkaV1beta1) KafkaTopics(namespace string) v1beta1.KafkaTopicInterface
func (*FakeKafkaV1beta1) Kafkas ¶
func (c *FakeKafkaV1beta1) Kafkas(namespace string) v1beta1.KafkaInterface
func (*FakeKafkaV1beta1) RESTClient ¶
func (c *FakeKafkaV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeKafkas ¶
type FakeKafkas struct { Fake *FakeKafkaV1beta1 // contains filtered or unexported fields }
FakeKafkas implements KafkaInterface
func (*FakeKafkas) Get ¶
func (c *FakeKafkas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Kafka, err error)
Get takes name of the kafka, and returns the corresponding kafka object, and an error if there is any.
func (*FakeKafkas) List ¶
func (c *FakeKafkas) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KafkaList, err error)
List takes label and field selectors, and returns the list of Kafkas that match those selectors.
func (*FakeKafkas) Watch ¶
func (c *FakeKafkas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kafkas.