secret

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

README

internal/secret

This package contains the generated and custom code for the secret controller. It comprises the reconcilers for managing workload secrets stored in a secret vault.

Some of the code in these packages is generated by threeport-sdk. Any file with the _gen.go suffix should not be edited directly - it will be overwritten by subsequent code generation.

Documentation

Index

Constants

View Source
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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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