Documentation
¶
Overview ¶
Package secretservicesetup provides centralized registration of all available secret service implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAvailable ¶
func ListAvailable() []string
ListAvailable returns the names of all available secret services.
func ListServices ¶ added in v0.9.0
func ListServices() []secretservice.SecretService
ListServices returns fully-constructed instances of all available secret services.
func RegisterAll ¶
func RegisterAll(registrar SecretServiceRegistrar) error
RegisterAll registers all available secret service implementations to the given registrar. Returns an error if any secret service fails to register.
Types ¶
type SecretServiceRegistrar ¶
type SecretServiceRegistrar interface {
RegisterSecretService(service secretservice.SecretService) error
}
SecretServiceRegistrar is an interface for types that can register secret services. This is implemented by instances.Manager.
Click to show internal directories.
Click to hide internal directories.