data

package
v4.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DoguLabelName is used to select a dogu pod by name.
	DoguLabelName = "dogu.name"
)

Variables

This section is empty.

Functions

func NewCreateLoadBalancerStep

func NewCreateLoadBalancerStep(config *appcontext.SetupJsonConfiguration, clientSet kubernetes.Interface, namespace string) *createLoadBalancerStep

NewCreateLoadBalancerStep creates the external loadbalancer service for the Cloudogu EcoSystem

func NewDisableDefaultSAAutomountStep

func NewDisableDefaultSAAutomountStep(clientSet kubernetes.Interface, namespace string) *disableDefaultSAAutomountStep

NewDisableDefaultSAAutomountStep disables automounting the token for the default service account in the ecosystem namespace

func NewFQDNRetrieverStep

func NewFQDNRetrieverStep(config *appcontext.SetupJsonConfiguration, clientSet kubernetes.Interface, namespace string) *fqdnRetrieverStep

NewFQDNRetrieverStep creates a new setup step sets the FQDN

func NewGenerateSSLStep

func NewGenerateSSLStep(config *appcontext.SetupJsonConfiguration) *generateSSLStep

NewGenerateSSLStep creates a new setup step which on generates ssl certificates

func NewInstanceSecretValidatorStep

func NewInstanceSecretValidatorStep(clientSet kubernetes.Interface, targetNamespace string) *instanceSecretValidatorStep

NewInstanceSecretValidatorStep creates a new object of type instanceSecretValidatorStep.

func NewWriteAdminDataStep

func NewWriteAdminDataStep(writer RegistryWriter, configuration *appcontext.SetupJsonConfiguration) *writeAdminDataStep

NewWriteAdminDataStep create a new setup step which writes the admin data into the registry.

func NewWriteDoguDataStep

func NewWriteDoguDataStep(writer RegistryWriter, configuration *appcontext.SetupJsonConfiguration) *writeDoguDataStep

NewWriteDoguDataStep create a new setup step which writes the dogu data into the registry.

func NewWriteEcosystemCertificateDataStep

func NewWriteEcosystemCertificateDataStep(secretClient secretClient, configuration *appcontext.SetupJsonConfiguration) *writeEcosystemCertificateDataStep

func NewWriteLdapDataStep

func NewWriteLdapDataStep(writer RegistryWriter, configuration *appcontext.SetupJsonConfiguration) *writeLdapDataStep

NewWriteLdapDataStep create a new setup step which writes the ldap configuration into the registry.

func NewWriteNamingDataStep

func NewWriteNamingDataStep(writer RegistryWriter, configuration *appcontext.SetupJsonConfiguration, clientSet kubernetes.Interface, namespace string) *writeNamingDataStep

NewWriteNamingDataStep create a new setup step which writes the naming data into the registry.

func NewWriteRegistryConfigDataStep

func NewWriteRegistryConfigDataStep(writer RegistryWriter, configuration *appcontext.SetupJsonConfiguration) *writeRegistryConfigDataStep

NewWriteRegistryConfigDataStep create a new setup step which writes the registry config configuration into the registry.

func NewWriteRegistryConfigEncryptedStep

func NewWriteRegistryConfigEncryptedStep(configuration *appcontext.SetupJsonConfiguration, clientSet kubernetes.Interface, namespace string) *writeRegistryConfigEncryptedStep

NewWriteRegistryConfigEncryptedStep create a new setup step which writes the registry config encrypted configuration into the cluster.

Types

type RegistryConfigurationWriter

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

RegistryConfigurationWriter writes a configuration into the registry.

func NewRegistryConfigurationWriter

func NewRegistryConfigurationWriter(globalConfig *k8sreg.GlobalConfigRepository, doguConfigProvider *k8sreg.DoguConfigRepository) *RegistryConfigurationWriter

NewRegistryConfigurationWriter creates a new configuration writer.

func (*RegistryConfigurationWriter) WriteConfigToRegistry

func (gcw *RegistryConfigurationWriter) WriteConfigToRegistry(registryConfig appcontext.CustomKeyValue) error

WriteConfigToRegistry write the given registry config to the registry

type RegistryWriter

type RegistryWriter interface {
	WriteConfigToRegistry(registryConfig appcontext.CustomKeyValue) error
}

RegistryWriter is responsible to write entries into the registry.

type SSLGenerator

type SSLGenerator interface {
	GenerateSelfSignedCert(fqdn string, domain string, certExpireDays int, country string,
		province string, locality string, altDNSNames []string) (string, string, error)
}

SSLGenerator is used to generate a self-signed certificate for a specific fqdn and domain

Jump to

Keyboard shortcuts

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