resource

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateStartupProbe added in v0.14.0

func CreateStartupProbe(dogu *core.Dogu) *corev1.Probe

CreateStartupProbe returns a container start-up probe for the given dogu if it contains a state healthcheck. Otherwise, it returns nil.

func GetAppLabel added in v0.14.0

func GetAppLabel() k8sv1.CesMatchingLabels

GetAppLabel returns an app label which all CES resource may receive for general selection.

func GetKeyProvider added in v0.5.0

func GetKeyProvider(registry registry.Registry) (*keys.KeyProvider, error)

GetKeyProvider returns the key provider from the global configuration.

func GetPublicKey added in v0.5.0

func GetPublicKey(registry registry.Registry, dogu string) (*keys.PublicKey, error)

GetPublicKey returns the public key from the dogu configuration.

func NewCollectApplier added in v0.12.0

func NewCollectApplier(applier cloudogu.Applier) *collectApplier

NewCollectApplier creates a K8s resource applier that filters and collects deployment resources for a later, customized application.

func NewDoguExposedPortHandler added in v0.31.0

func NewDoguExposedPortHandler(client client.Client) *doguExposedPortHandler

NewDoguExposedPortHandler creates a new instance of doguExposedPortHandler.

func NewDoguSecretsWriter added in v0.5.0

func NewDoguSecretsWriter(client client.Client, registry registry.Registry) *doguSecretWriter

NewDoguSecretsWriter creates a new instance of doguSecretWriter to save key value pairs from secrets to the dogu config

func NewRequirementsGenerator added in v0.33.0

func NewRequirementsGenerator(configRegistry registry.Registry) *requirementsGenerator

func NewRequirementsUpdater added in v0.33.0

func NewRequirementsUpdater(client client.Client, namespace string, clientSet kubernetes.Interface) (*requirementsUpdater, error)

NewRequirementsUpdater creates a new runnable responsible to detect changes in the container configuration of dogus.

func NewResourceGenerator

func NewResourceGenerator(scheme *runtime.Scheme, requirementsGenerator cloudogu.ResourceRequirementsGenerator, hostAliasGenerator thirdParty.HostAliasGenerator, additionalImages map[string]string) *resourceGenerator

NewResourceGenerator creates a new generator for k8s resources

func NewUpserter added in v0.12.0

func NewUpserter(client client.Client, generator cloudogu.DoguResourceGenerator) *upserter

NewUpserter creates a new upserter that generates dogu resources and applies them to the cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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