manager

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActualizeCreds

func ActualizeCreds(secretName string, changeCredsFunc func(newSecret, oldSecret *corev1.Secret) error) (err error)

func AddAnnotationsToPodTemplate

func AddAnnotationsToPodTemplate(template *corev1.PodTemplateSpec, annotations map[string]string)

func AddCredHashToPodTemplate

func AddCredHashToPodTemplate(secretNames []string, template *corev1.PodTemplateSpec) error

func AreCredsChanged

func AreCredsChanged(secretNames []string) (bool, error)

func CalculateSecretDataHash

func CalculateSecretDataHash(secretName string) (string, error)

func GetAnnotationName

func GetAnnotationName(id int) string

func GetK8SClient

func GetK8SClient() client.Client

func SetOwnerRefForSecretCopies

func SetOwnerRefForSecretCopies(secretNames []string, ownerRef []metav1.OwnerReference) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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