secret

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSecreter

func RegisterSecreter(reg SecreterRegistration)

func RegisteredSecreterNames

func RegisteredSecreterNames() []string

Types

type Secreter

type Secreter interface {
	Lookup(key string) (string, error)
}

func ConstructSecreter

func ConstructSecreter(rawConfig map[string]interface{}, errorMessages config.ErrorMessages) (Secreter, error)

type SecreterRegistration

type SecreterRegistration interface {
	Name() string
	Initialize(config any, errorMessages config.ErrorMessages) (Secreter, error)
	InitializeConfig() any
}

func RegisteredSecreter

func RegisteredSecreter(name string) (SecreterRegistration, bool)

Jump to

Keyboard shortcuts

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