secretstores

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	Register(components ...SecretStore)
	Create(name, version string) (secretstores.SecretStore, error)
}

Registry is used to get registered secret store implementations.

func NewRegistry

func NewRegistry() Registry

NewRegistry returns a new secret store registry.

type SecretStore added in v0.4.0

type SecretStore struct {
	Name          string
	FactoryMethod func() secretstores.SecretStore
}

SecretStore is a secret store component definition.

func New added in v0.4.0

func New(name string, factoryMethod func() secretstores.SecretStore) SecretStore

New creates a SecretStore.

Jump to

Keyboard shortcuts

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