builder

package
v1.99.4 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

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

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

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.

Jump to

Keyboard shortcuts

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