secretstores

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const BuiltinKubernetesSecretStore = "kubernetes"

Name of the built-in Kubernetes secret store component.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	Logger logger.Logger
	// contains filtered or unexported fields
}

Registry is used to get registered secret store implementations.

var DefaultRegistry *Registry

DefaultRegistry is the singleton with the registry.

func NewRegistry

func NewRegistry() *Registry

NewRegistry returns a new secret store registry.

func (*Registry) Create added in v0.4.0

func (s *Registry) Create(name, version, logName string) (secretstores.SecretStore, error)

Create instantiates a secret store based on `name`.

func (*Registry) RegisterComponent added in v1.9.0

func (s *Registry) RegisterComponent(componentFactory func(logger.Logger) secretstores.SecretStore, names ...string)

RegisterComponent adds a new secret store to the registry.

Jump to

Keyboard shortcuts

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