clientbuilder

package
v0.0.0-...-0f541f5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FireflyControllerClientBuilder

type FireflyControllerClientBuilder interface {
	clientbuilder.ControllerClientBuilder
	DynamicClient(name string) (dynamic.Interface, error)
	DynamicClientOrDie(name string) dynamic.Interface
	FireflyClient(name string) (fireflyversioned.Interface, error)
	FireflyClientOrDie(name string) fireflyversioned.Interface
}

FireflyControllerClientBuilder allows you to get clients and configs for firefly controllers

type KarmadaControllerClientBuilder

type KarmadaControllerClientBuilder interface {
	clientbuilder.ControllerClientBuilder
	DynamicClient(name string) (dynamic.Interface, error)
	DynamicClientOrDie(name string) dynamic.Interface
	KarmadaClient(name string) (karmadaversioned.Interface, error)
	KarmadaClientOrDie(name string) karmadaversioned.Interface
	KarmadaFireflyClient(name string) (fireflyclient.Interface, error)
	KarmadaFireflyClientOrDie(name string) fireflyclient.Interface
}

KarmadaControllerClientBuilder allows you to get clients and configs for controllers of the firefly-karmada-manager

type SimpleFireflyControllerClientBuilder

type SimpleFireflyControllerClientBuilder struct {
	clientbuilder.SimpleControllerClientBuilder
}

SimpleFireflyControllerClientBuilder returns a fixed client with different user agents

func NewSimpleFireflyControllerClientBuilder

func NewSimpleFireflyControllerClientBuilder(config *restclient.Config) SimpleFireflyControllerClientBuilder

NewSimpleFireflyControllerClientBuilder creates a SimpleFireflyControllerClientBuilder

func (SimpleFireflyControllerClientBuilder) DynamicClient

DynamicClient returns a dynamic.Interface built from the ClientBuilder

func (SimpleFireflyControllerClientBuilder) DynamicClientOrDie

func (b SimpleFireflyControllerClientBuilder) DynamicClientOrDie(name string) dynamic.Interface

DynamicClientOrDie returns a karmadaversioned.interface built from the ClientBuilder with no error. If it gets an error getting the client, it will log the error and kill the process it's running in.

func (SimpleFireflyControllerClientBuilder) FireflyClient

FireflyClient returns a fireflyversioned.Interface built from the ClientBuilder

func (SimpleFireflyControllerClientBuilder) FireflyClientOrDie

FireflyClientOrDie returns a fireflyversioned.interface built from the ClientBuilder with no error. If it gets an error getting the client, it will log the error and kill the process it's running in.

type SimpleKarmadaControllerClientBuilder

type SimpleKarmadaControllerClientBuilder struct {
	clientbuilder.SimpleControllerClientBuilder
}

SimpleKarmadaControllerClientBuilder returns a fixed client with different user agents

func NewSimpleKarmadaControllerClientBuilder

func NewSimpleKarmadaControllerClientBuilder(config *restclient.Config) SimpleKarmadaControllerClientBuilder

NewSimpleKarmadaControllerClientBuilder creates a SimpleKarmadaControllerClientBuilder

func (SimpleKarmadaControllerClientBuilder) DynamicClient

DynamicClient returns a dynamic.Interface built from the ClientBuilder

func (SimpleKarmadaControllerClientBuilder) DynamicClientOrDie

func (b SimpleKarmadaControllerClientBuilder) DynamicClientOrDie(name string) dynamic.Interface

DynamicClientOrDie returns a karmadaversioned.interface built from the ClientBuilder with no error. If it gets an error getting the client, it will log the error and kill the process it's running in.

func (SimpleKarmadaControllerClientBuilder) KarmadaClient

KarmadaClient returns a karmadaversioned.Interface built from the ClientBuilder

func (SimpleKarmadaControllerClientBuilder) KarmadaClientOrDie

KarmadaClientOrDie returns a karmadaversioned.interface built from the ClientBuilder with no error. If it gets an error getting the client, it will log the error and kill the process it's running in.

func (SimpleKarmadaControllerClientBuilder) KarmadaFireflyClient

KarmadaFireflyClient returns a fireflyclient.Interface built from the ClientBuilder

func (SimpleKarmadaControllerClientBuilder) KarmadaFireflyClientOrDie

func (b SimpleKarmadaControllerClientBuilder) KarmadaFireflyClientOrDie(name string) fireflyclient.Interface

KarmadaFireflyClientOrDie returns a fireflyclient.interface built from the ClientBuilder with no error. If it gets an error getting the client, it will log the error and kill the process it's running in.

Jump to

Keyboard shortcuts

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