backend

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	GetSecretOutput(string) secret.SecretOutput
}

type BackendConfigurations

type BackendConfigurations struct {
	Configs map[string]map[string]interface{} `yaml:"backends"`
}

type Backends

type Backends struct {
	Backends map[string]Backend
}

func NewBackends

func NewBackends(configFile *string) Backends

func (*Backends) GetSecretOutputs

func (b *Backends) GetSecretOutputs(secrets []string) map[string]secret.SecretOutput

func (*Backends) InitBackend

func (b *Backends) InitBackend(backendId string, config map[string]interface{})

type ErrorBackend

type ErrorBackend struct {
	BackendId string
	Error     error
}

func NewErrorBackend added in v0.1.2

func NewErrorBackend(backendId string, e error) *ErrorBackend

func (*ErrorBackend) GetSecretOutput

func (b *ErrorBackend) GetSecretOutput(secretKey string) secret.SecretOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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