Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCreator ¶
type ClientCreator interface { // CreateClient creates a new client.Client to connect to the Kube ApiServer running in the passed-in shoot control namespace. CreateClient(ctx context.Context, logger logr.Logger, connectionTimeout time.Duration) (client.Client, error) // CreateDiscoveryClient creates a new discovery.DiscoveryInterface to connect to the Kube ApiServer running in the passed-in shoot control namespace. CreateDiscoveryClient(ctx context.Context, logger logr.Logger, connectionTimeout time.Duration) (discovery.DiscoveryInterface, error) }
ClientCreator provides a facade to create kubernetes client targeting a shoot.
func NewClientCreator ¶
func NewClientCreator(namespace string, secretName string, client client.Client) ClientCreator
NewClientCreator creates an instance of ClientCreator.
Click to show internal directories.
Click to hide internal directories.