garden

package
v1.75.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v1.4.0

type Builder struct {
	// contains filtered or unexported fields
}

Builder is an object that builds Garden objects.

func NewBuilder added in v1.4.0

func NewBuilder() *Builder

NewBuilder returns a new Builder.

func (*Builder) Build added in v1.4.0

func (b *Builder) Build(ctx context.Context) (*Garden, error)

Build initializes a new Garden object.

func (*Builder) WithDefaultDomains added in v1.4.0

func (b *Builder) WithDefaultDomains(defaultDomains []*gardenerutils.Domain) *Builder

WithDefaultDomains sets the defaultDomainsFunc attribute at the Builder.

func (*Builder) WithDefaultDomainsFromSecrets added in v1.4.0

func (b *Builder) WithDefaultDomainsFromSecrets(secrets map[string]*corev1.Secret) *Builder

WithDefaultDomainsFromSecrets sets the defaultDomainsFunc attribute at the Builder based on the given secrets map.

func (*Builder) WithInternalDomain added in v1.4.0

func (b *Builder) WithInternalDomain(internalDomain *gardenerutils.Domain) *Builder

WithInternalDomain sets the internalDomainFunc attribute at the Builder.

func (*Builder) WithInternalDomainFromSecrets added in v1.4.0

func (b *Builder) WithInternalDomainFromSecrets(secrets map[string]*corev1.Secret) *Builder

WithInternalDomainFromSecrets sets the internalDomainFunc attribute at the Builder based on the given secrets map.

func (*Builder) WithProject added in v1.4.0

func (b *Builder) WithProject(project *gardencorev1beta1.Project) *Builder

WithProject sets the projectFunc attribute at the Builder.

func (*Builder) WithProjectFrom added in v1.30.0

func (b *Builder) WithProjectFrom(reader client.Reader, namespace string) *Builder

WithProjectFrom sets the projectFunc attribute after fetching it from the given reader.

type Garden

type Garden struct {
	Project        *gardencorev1beta1.Project
	DefaultDomains []*gardenerutils.Domain
	InternalDomain *gardenerutils.Domain
}

Garden is an object containing Garden cluster specific data.

Jump to

Keyboard shortcuts

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