api

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSecretKeyStatus

func DeleteSecretKeyStatus(statuses []v1alpha1.SecretKeyStatus, keysToRemove map[string]struct{}) []v1alpha1.SecretKeyStatus

func DeleteVaultRecordStatus

func DeleteVaultRecordStatus(statuses []v1alpha1.VaultRecordStatus, recordID string) []v1alpha1.VaultRecordStatus

func FindSecretKeyStatus

func FindSecretKeyStatus(statuses []v1alpha1.SecretKeyStatus, key string) *v1alpha1.SecretKeyStatus

FindSecretKeyStatus finds the key in statuses.

func FindVaultRecordStatus

func FindVaultRecordStatus(statuses []v1alpha1.VaultRecordStatus, recordID string) *v1alpha1.VaultRecordStatus

FindVaultRecordStatus finds the recordID in statuses.

func IsSecretKeyChanged

func IsSecretKeyChanged(statuses []v1alpha1.SecretKeyStatus, data map[string][]byte, key string) bool

Compares current value of key against expected SecretKeyStatus

func IsVaulRecordChanged

func IsVaulRecordChanged(statuses []v1alpha1.VaultRecordStatus, record *keyhubmodel.VaultRecord) bool

func SetSecretKeyStatus

func SetSecretKeyStatus(statuses *[]v1alpha1.SecretKeyStatus, key string, value []byte) error

SetSecretKeyStatus sets the corresponding status in statuses to newStatus. statuses must be non-nil.

func SetVaultRecordStatus

func SetVaultRecordStatus(statuses *[]v1alpha1.VaultRecordStatus, record *keyhubmodel.VaultRecord)

SetVaultRecordStatus sets the corresponding status in statuses to the new status based on record. statuses must be non-nil.

Types

This section is empty.

Directories

Path Synopsis
Package v1alpha1 contains API Schema definitions for the keyhub v1alpha1 API group +kubebuilder:object:generate=true +groupName=keyhub.topicus.nl
Package v1alpha1 contains API Schema definitions for the keyhub v1alpha1 API group +kubebuilder:object:generate=true +groupName=keyhub.topicus.nl

Jump to

Keyboard shortcuts

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