secretstores

package
v1.17.21 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 8 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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