secret

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

GenerateAttributes creates *keyvault.KeyVaultSecretAttributesParameters from *v1alpha1.KeyVaultSecretAttributes.

func GenerateObservation

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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