Documentation ¶
Index ¶
- type FireflyControllerClientBuilder
- type KarmadaControllerClientBuilder
- type SimpleFireflyControllerClientBuilder
- func (b SimpleFireflyControllerClientBuilder) DynamicClient(name string) (dynamic.Interface, error)
- func (b SimpleFireflyControllerClientBuilder) DynamicClientOrDie(name string) dynamic.Interface
- func (b SimpleFireflyControllerClientBuilder) FireflyClient(name string) (fireflyversioned.Interface, error)
- func (b SimpleFireflyControllerClientBuilder) FireflyClientOrDie(name string) fireflyversioned.Interface
- type SimpleKarmadaControllerClientBuilder
- func (b SimpleKarmadaControllerClientBuilder) DynamicClient(name string) (dynamic.Interface, error)
- func (b SimpleKarmadaControllerClientBuilder) DynamicClientOrDie(name string) dynamic.Interface
- func (b SimpleKarmadaControllerClientBuilder) KarmadaClient(name string) (karmadaversioned.Interface, error)
- func (b SimpleKarmadaControllerClientBuilder) KarmadaClientOrDie(name string) karmadaversioned.Interface
- func (b SimpleKarmadaControllerClientBuilder) KarmadaFireflyClient(name string) (fireflyclient.Interface, error)
- func (b SimpleKarmadaControllerClientBuilder) KarmadaFireflyClientOrDie(name string) fireflyclient.Interface
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 ¶
func (b SimpleFireflyControllerClientBuilder) DynamicClient(name string) (dynamic.Interface, error)
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 ¶
func (b SimpleFireflyControllerClientBuilder) FireflyClient(name string) (fireflyversioned.Interface, error)
FireflyClient returns a fireflyversioned.Interface built from the ClientBuilder
func (SimpleFireflyControllerClientBuilder) FireflyClientOrDie ¶
func (b SimpleFireflyControllerClientBuilder) FireflyClientOrDie(name string) fireflyversioned.Interface
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 ¶
func (b SimpleKarmadaControllerClientBuilder) DynamicClient(name string) (dynamic.Interface, error)
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 ¶
func (b SimpleKarmadaControllerClientBuilder) KarmadaClient(name string) (karmadaversioned.Interface, error)
KarmadaClient returns a karmadaversioned.Interface built from the ClientBuilder
func (SimpleKarmadaControllerClientBuilder) KarmadaClientOrDie ¶
func (b SimpleKarmadaControllerClientBuilder) KarmadaClientOrDie(name string) karmadaversioned.Interface
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 ¶
func (b SimpleKarmadaControllerClientBuilder) KarmadaFireflyClient(name string) (fireflyclient.Interface, error)
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.