Documentation ¶
Index ¶
Constants ¶
const ( LockBucketName = "secretLock" LockBucketDescr = "contains locks on secret objects" )
The name and description of the NATS bucket used for secret object locks
Variables ¶
This section is empty.
Functions ¶
func SecretDefinitionReconciler ¶
func SecretDefinitionReconciler(r *controller.Reconciler)
SecretDefinitionReconciler reconciles system state when a SecretDefinition is created, updated or deleted.
func SecretInstanceReconciler ¶
func SecretInstanceReconciler(r *controller.Reconciler)
SecretInstanceReconciler reconciles system state when a SecretInstance is created, updated or deleted.
Types ¶
type SecretDefinitionConfig ¶
type SecretDefinitionConfig struct {
// contains filtered or unexported fields
}
SecretDefinitionConfig is a configuration object for secret definition reconciliation.
func (*SecretDefinitionConfig) DeleteSecret ¶
func (c *SecretDefinitionConfig) DeleteSecret() error
DeleteSecret pushes a secret to a secret store.
func (*SecretDefinitionConfig) DeleteSecretFromAwsSecretsManager ¶
func (c *SecretDefinitionConfig) DeleteSecretFromAwsSecretsManager() error
DeleteSecretFromAwsSecretsManager deletes a secret from AWS Secrets Manager.
func (*SecretDefinitionConfig) PushSecret ¶
func (c *SecretDefinitionConfig) PushSecret() error
PushSecret pushes a secret to a secret store.
func (*SecretDefinitionConfig) PushSecretToAwsSecretsManager ¶
func (c *SecretDefinitionConfig) PushSecretToAwsSecretsManager() error
PushSecretToAwsSecretsManager pushes a secret to AWS Secrets Manager.
type SecretInstanceConfig ¶
type SecretInstanceConfig struct {
// contains filtered or unexported fields
}
SecretInstanceConfig contains the configuration for a secret instance reconcile function.