fake

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeKafkaTopics

type FakeKafkaTopics struct {
	Fake *FakeKafkaV1beta2
	// contains filtered or unexported fields
}

FakeKafkaTopics implements KafkaTopicInterface

func (*FakeKafkaTopics) Get

func (c *FakeKafkaTopics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.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 *v1beta2.KafkaTopicList, err error)

List takes label and field selectors, and returns the list of KafkaTopics that match those selectors.

func (*FakeKafkaTopics) Watch

Watch returns a watch.Interface that watches the requested kafkaTopics.

type FakeKafkaV1beta2

type FakeKafkaV1beta2 struct {
	*testing.Fake
}

func (*FakeKafkaV1beta2) KafkaTopics

func (c *FakeKafkaV1beta2) KafkaTopics(namespace string) v1beta2.KafkaTopicInterface

func (*FakeKafkaV1beta2) Kafkas

func (c *FakeKafkaV1beta2) Kafkas(namespace string) v1beta2.KafkaInterface

func (*FakeKafkaV1beta2) RESTClient

func (c *FakeKafkaV1beta2) 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 *FakeKafkaV1beta2
	// contains filtered or unexported fields
}

FakeKafkas implements KafkaInterface

func (*FakeKafkas) Get

func (c *FakeKafkas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.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 *v1beta2.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL