Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build(ctx context.Context) (*Garden, error)
- func (b *Builder) WithDefaultDomains(defaultDomains []*gardenerutils.Domain) *Builder
- func (b *Builder) WithDefaultDomainsFromSecrets(secrets map[string]*corev1.Secret) *Builder
- func (b *Builder) WithInternalDomain(internalDomain *gardenerutils.Domain) *Builder
- func (b *Builder) WithInternalDomainFromSecrets(secrets map[string]*corev1.Secret) *Builder
- func (b *Builder) WithProject(project *gardencorev1beta1.Project) *Builder
- func (b *Builder) WithProjectFrom(reader client.Reader, namespace string) *Builder
- type Garden
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is an object that builds Garden objects.
func (*Builder) WithDefaultDomains ¶
func (b *Builder) WithDefaultDomains(defaultDomains []*gardenerutils.Domain) *Builder
WithDefaultDomains sets the defaultDomainsFunc attribute at the Builder.
func (*Builder) WithDefaultDomainsFromSecrets ¶
WithDefaultDomainsFromSecrets sets the defaultDomainsFunc attribute at the Builder based on the given secrets map.
func (*Builder) WithInternalDomain ¶
func (b *Builder) WithInternalDomain(internalDomain *gardenerutils.Domain) *Builder
WithInternalDomain sets the internalDomainFunc attribute at the Builder.
func (*Builder) WithInternalDomainFromSecrets ¶
WithInternalDomainFromSecrets sets the internalDomainFunc attribute at the Builder based on the given secrets map.
func (*Builder) WithProject ¶
func (b *Builder) WithProject(project *gardencorev1beta1.Project) *Builder
WithProject sets the projectFunc attribute at the Builder.
type Garden ¶
type Garden struct { Project *gardencorev1beta1.Project DefaultDomains []*gardenerutils.Domain InternalDomain *gardenerutils.Domain }
Garden is an object containing Garden cluster specific data.
Click to show internal directories.
Click to hide internal directories.