file

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileJsonBackend added in v0.1.5

type FileJsonBackend struct {
	BackendId string
	Config    FileJsonBackendConfig
	Secret    map[string]string
}

func NewFileJsonBackend added in v0.1.5

func NewFileJsonBackend(backendId string, bc map[string]interface{}) (
	*FileJsonBackend, error)

func (*FileJsonBackend) GetSecretOutput added in v0.1.5

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

type FileJsonBackendConfig added in v0.1.5

type FileJsonBackendConfig struct {
	BackendType string `mapstructure:"backend_type"`
	FilePath    string `mapstructure:"file_path"`
}

type FileYamlBackend

type FileYamlBackend struct {
	BackendId string
	Config    FileYamlBackendConfig
	Secret    map[string]string
}

func NewFileYamlBackend

func NewFileYamlBackend(backendId string, bc map[string]interface{}) (
	*FileYamlBackend, error)

func (*FileYamlBackend) GetSecretOutput

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

type FileYamlBackendConfig

type FileYamlBackendConfig struct {
	BackendType string `mapstructure:"backend_type"`
	FilePath    string `mapstructure:"file_path"`
}

Jump to

Keyboard shortcuts

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