Documentation ¶
Index ¶
- type GardenClientMapBuilder
- func (b *GardenClientMapBuilder) Build(log logr.Logger) (clientmap.ClientMap, error)
- func (b *GardenClientMapBuilder) WithClientConnectionConfig(cfg *componentbaseconfig.ClientConnectionConfiguration) *GardenClientMapBuilder
- func (b *GardenClientMapBuilder) WithGardenNamespace(namespace string) *GardenClientMapBuilder
- func (b *GardenClientMapBuilder) WithRuntimeClient(client client.Client) *GardenClientMapBuilder
- type ShootClientMapBuilder
- func (b *ShootClientMapBuilder) Build(log logr.Logger) (clientmap.ClientMap, error)
- func (b *ShootClientMapBuilder) WithClientConnectionConfig(cfg *componentbaseconfig.ClientConnectionConfiguration) *ShootClientMapBuilder
- func (b *ShootClientMapBuilder) WithGardenClient(client client.Client) *ShootClientMapBuilder
- func (b *ShootClientMapBuilder) WithSeedClient(client client.Client) *ShootClientMapBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GardenClientMapBuilder ¶
type GardenClientMapBuilder struct {
// contains filtered or unexported fields
}
GardenClientMapBuilder can build a ClientMap which can be used to request and store clients for virtual gardens.
func NewGardenClientMapBuilder ¶
func NewGardenClientMapBuilder() *GardenClientMapBuilder
NewGardenClientMapBuilder constructs a new GardenClientMapBuilder.
func (*GardenClientMapBuilder) Build ¶
Build builds the GardenClientMap using the provided attributes.
func (*GardenClientMapBuilder) WithClientConnectionConfig ¶ added in v1.76.0
func (b *GardenClientMapBuilder) WithClientConnectionConfig(cfg *componentbaseconfig.ClientConnectionConfiguration) *GardenClientMapBuilder
WithClientConnectionConfig sets the ClientConnectionConfiguration that should be used by ClientSets created by this ClientMap.
func (*GardenClientMapBuilder) WithGardenNamespace ¶ added in v1.76.0
func (b *GardenClientMapBuilder) WithGardenNamespace(namespace string) *GardenClientMapBuilder
WithGardenNamespace sets the GardenNamespace that should be used by ClientSets created by this ClientMap. Defaults to `garden` if not set.
func (*GardenClientMapBuilder) WithRuntimeClient ¶ added in v1.76.0
func (b *GardenClientMapBuilder) WithRuntimeClient(client client.Client) *GardenClientMapBuilder
WithRuntimeClient sets the garden client.
type ShootClientMapBuilder ¶
type ShootClientMapBuilder struct {
// contains filtered or unexported fields
}
ShootClientMapBuilder can build a ClientMap which can be used to construct a ClientMap for requesting and storing clients for Shoot clusters.
func NewShootClientMapBuilder ¶
func NewShootClientMapBuilder() *ShootClientMapBuilder
NewShootClientMapBuilder constructs a new ShootClientMapBuilder.
func (*ShootClientMapBuilder) Build ¶
Build builds the ShootClientMap using the provided attributes.
func (*ShootClientMapBuilder) WithClientConnectionConfig ¶
func (b *ShootClientMapBuilder) WithClientConnectionConfig(cfg *componentbaseconfig.ClientConnectionConfiguration) *ShootClientMapBuilder
WithClientConnectionConfig sets the ClientConnectionConfiguration that should be used by ClientSets created by this ClientMap.
func (*ShootClientMapBuilder) WithGardenClient ¶ added in v1.57.0
func (b *ShootClientMapBuilder) WithGardenClient(client client.Client) *ShootClientMapBuilder
WithGardenClient sets the garden client.
func (*ShootClientMapBuilder) WithSeedClient ¶ added in v1.57.0
func (b *ShootClientMapBuilder) WithSeedClient(client client.Client) *ShootClientMapBuilder
WithSeedClient sets the garden client.