secretservicesetup

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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