Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecretManager ¶ added in v1.0.1
type SecretManager interface {
EnsureSecret(ctx context.Context, secretName string, value []byte) error
LoadSecret(ctx context.Context, secretName string) ([]byte, error)
CloseClient()
}
SecretManager interface for adding or loading secret manager secrets
func NewSecretManager ¶ added in v1.0.1
func NewSecretManager(ctx context.Context, instance *v1alpha1.SecretAgentConfiguration, cloudCredNS string, rClient client.Client) (SecretManager, error)
NewSecretManager creates a new SecretManager object
Click to show internal directories.
Click to hide internal directories.