Documentation ¶
Index ¶
- Constants
- func AddAgeKeyFinalizers(ageKey *v1alpha1.AgeKey, k8sclient client.Client) error
- func AddAgeSecretFinalizers(ageSecret *v1alpha1.AgeSecret, k8sclient client.Client) error
- func CheckAgeKeyReference(ageSecret *v1alpha1.AgeSecret, k8sclient client.Client) (*v1alpha1.AgeKey, error)
- func CreateAgeKeyFile(ageKey *v1alpha1.AgeKey) error
- func CreateChildFromAgeSecret(ageSecret *v1alpha1.AgeSecret, k8sclient client.Client, ...) error
- func CreateOrUpdateSecretObj(ageSecret *v1alpha1.AgeSecret, secret *corev1.Secret, k8sclient client.Client) error
- func DecryptAgeSecret(ageSecret *v1alpha1.AgeSecret, k8sclient client.Client, ...) (map[string]string, error)
- func GenerateAgeKeyFullPath(ageKey *v1alpha1.AgeKey) string
- func GenerateAgeKeyParentDir(ageKey *v1alpha1.AgeKey) string
- func HandleAgeKeyFinalizers(ageKey *v1alpha1.AgeKey, k8sclient client.Client) error
- func HandleAgeSecretFinalizers(ageSecret *v1alpha1.AgeSecret, k8sclient client.Client) (bool, error)
- func NewLogger(namespace string, name string) logr.Logger
- func UpdateAgeKeyStatus(ageKey *v1alpha1.AgeKey, k8sclient client.Client, msg string) error
- func UpdateAgeSecretStatus(ageSecret *v1alpha1.AgeSecret, k8sclient client.Client, health, msg string) error
- func ValidateAgeKey(ageKey *v1alpha1.AgeKey, k8sclient client.Client) error
Constants ¶
View Source
const ( AgeKeyFinalizer string = "AgeKeyFinalizer" AgeSecretFinalizer string = "AgeSecretFinalizer" )
View Source
const (
AgeKeysRootPath = "/tmp/keys/"
)
Variables ¶
This section is empty.
Functions ¶
func AddAgeKeyFinalizers ¶
func AddAgeSecretFinalizers ¶
func CheckAgeKeyReference ¶
func CreateAgeKeyFile ¶
func CreateOrUpdateSecretObj ¶
func DecryptAgeSecret ¶
func GenerateAgeKeyFullPath ¶
func GenerateAgeKeyParentDir ¶
func HandleAgeKeyFinalizers ¶
func UpdateAgeKeyStatus ¶
func UpdateAgeSecretStatus ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.