Help us shape the future of Go! Take the 2026 Go Developer Survey

secretstores

package
v1.16.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const BuiltinKubernetesSecretStore = "kubernetes"

Name of the built-in Kubernetes secret store component.

Variables

This section is empty.

Functions

func NewGRPCSecretStore added in v1.12.0

func NewGRPCSecretStore(l logger.Logger, socket string) *grpcSecretStore

NewGRPCSecretStore creates a new grpc pubsub using the given socket factory.

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 = NewRegistry()

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