v1beta2

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaExpansion

type KafkaExpansion interface{}

type KafkaInterface

type KafkaInterface interface {
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Kafka, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.KafkaList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	KafkaExpansion
}

KafkaInterface has methods to work with Kafka resources.

type KafkaTopicExpansion

type KafkaTopicExpansion interface{}

type KafkaTopicInterface

type KafkaTopicInterface interface {
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.KafkaTopic, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.KafkaTopicList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	KafkaTopicExpansion
}

KafkaTopicInterface has methods to work with KafkaTopic resources.

type KafkaTopicsGetter

type KafkaTopicsGetter interface {
	KafkaTopics(namespace string) KafkaTopicInterface
}

KafkaTopicsGetter has a method to return a KafkaTopicInterface. A group's client should implement this interface.

type KafkaV1beta2Client

type KafkaV1beta2Client struct {
	// contains filtered or unexported fields
}

KafkaV1beta2Client is used to interact with features provided by the kafka.strimzi.io group.

func New

New creates a new KafkaV1beta2Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*KafkaV1beta2Client, error)

NewForConfig creates a new KafkaV1beta2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*KafkaV1beta2Client, error)

NewForConfigAndClient creates a new KafkaV1beta2Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KafkaV1beta2Client

NewForConfigOrDie creates a new KafkaV1beta2Client for the given config and panics if there is an error in the config.

func (*KafkaV1beta2Client) KafkaTopics

func (c *KafkaV1beta2Client) KafkaTopics(namespace string) KafkaTopicInterface

func (*KafkaV1beta2Client) Kafkas

func (c *KafkaV1beta2Client) Kafkas(namespace string) KafkaInterface

func (*KafkaV1beta2Client) RESTClient

func (c *KafkaV1beta2Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type KafkaV1beta2Interface

type KafkaV1beta2Interface interface {
	RESTClient() rest.Interface
	KafkasGetter
	KafkaTopicsGetter
}

type KafkasGetter

type KafkasGetter interface {
	Kafkas(namespace string) KafkaInterface
}

KafkasGetter has a method to return a KafkaInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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