builder

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderBuilder

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

ProviderBuilder builds a Provider.

func NewProviderBuilder

func NewProviderBuilder(name, namespace string) *ProviderBuilder

NewProviderBuilder returns a new provider builder with the name and namespace provided

func (*ProviderBuilder) Build

func (pb *ProviderBuilder) Build() *corev1.Secret

Build builds and returns the provider secret.

func (*ProviderBuilder) For

func (pb *ProviderBuilder) For(secretType corev1.SecretType) *ProviderBuilder

For defines the type of provider secret being created

func (*ProviderBuilder) WithDataItem

func (pb *ProviderBuilder) WithDataItem(key, value string) *ProviderBuilder

WithDataItem adds key/values that will be included in the provider secret data. Defaults to an empty map.

func (*ProviderBuilder) WithZonesInitialisedFor

func (pb *ProviderBuilder) WithZonesInitialisedFor(domains ...string) *ProviderBuilder

WithZonesInitialisedFor sets the domains of zones to initialize in the provider. Only used by v1alpha1.SecretTypeKuadrantInmemory provider, ignored by all others. Defaults to the empty list.

Jump to

Keyboard shortcuts

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