Documentation ¶
Index ¶
- func ExtractSecretValue(ctx context.Context, client client.Client, value *xpv1.SecretKeySelector) (string, error)
- func GenerateAttributes(spec *v1alpha1.KeyVaultSecretAttributesParameters) *keyvault.SecretAttributes
- func GenerateObservation(az keyvault.SecretBundle) v1alpha1.KeyVaultSecretObservation
- func IsUpToDate(ctx context.Context, client client.Client, ...) (bool, error)
- func LateInitialize(spec *v1alpha1.KeyVaultSecretParameters, az keyvault.SecretBundle)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSecretValue ¶
func ExtractSecretValue(ctx context.Context, client client.Client, value *xpv1.SecretKeySelector) (string, error)
ExtractSecretValue extracts secret value from secretRef.
func GenerateAttributes ¶
func GenerateAttributes(spec *v1alpha1.KeyVaultSecretAttributesParameters) *keyvault.SecretAttributes
GenerateAttributes creates *keyvault.KeyVaultSecretAttributesParameters from *v1alpha1.KeyVaultSecretAttributes.
func GenerateObservation ¶
func GenerateObservation(az keyvault.SecretBundle) v1alpha1.KeyVaultSecretObservation
GenerateObservation produces a KeyVaultSecretObservation object from the keyvault.SecretBundle received from Azure.
func IsUpToDate ¶
func IsUpToDate(ctx context.Context, client client.Client, spec v1alpha1.KeyVaultSecretParameters, observed *keyvault.SecretBundle) (bool, error)
IsUpToDate checks whether SecretBundle is configured with given KeyVaultSecretParameters.
func LateInitialize ¶
func LateInitialize(spec *v1alpha1.KeyVaultSecretParameters, az keyvault.SecretBundle)
LateInitialize fills the spec values that user did not fill with their corresponding value in the Azure, if there is any.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.