Documentation ¶
Index ¶
- func DeleteSecretKeyStatus(statuses []v1alpha1.SecretKeyStatus, keysToRemove map[string]struct{}) []v1alpha1.SecretKeyStatus
- func DeleteVaultRecordStatus(statuses []v1alpha1.VaultRecordStatus, recordID string) []v1alpha1.VaultRecordStatus
- func FindSecretKeyStatus(statuses []v1alpha1.SecretKeyStatus, key string) *v1alpha1.SecretKeyStatus
- func FindVaultRecordStatus(statuses []v1alpha1.VaultRecordStatus, recordID string) *v1alpha1.VaultRecordStatus
- func IsSecretKeyChanged(statuses []v1alpha1.SecretKeyStatus, data map[string][]byte, key string) bool
- func IsVaulRecordChanged(statuses []v1alpha1.VaultRecordStatus, record *keyhubmodel.VaultRecord) bool
- func SetSecretKeyStatus(statuses *[]v1alpha1.SecretKeyStatus, key string, value []byte) error
- func SetVaultRecordStatus(statuses *[]v1alpha1.VaultRecordStatus, record *keyhubmodel.VaultRecord)
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 |
Click to show internal directories.
Click to hide internal directories.