backend

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ConfigEnvVar string = "OPERATOR_CONFIG"

ConfigEnvVar holds the name of the Environment Variable scanned for config

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Type       string
	Parameters map[string]interface{}
	Auth       map[string]interface{}
}

Config represent configuration information for the secrets backend

func ConfigFromCtrl

func ConfigFromCtrl(data []byte) (*Config, error)

ConfigFromCtrl returns a Config object based on the byte data passed as parameter

func ConfigFromEnv

func ConfigFromEnv() (*Config, error)

ConfigFromEnv parses Config from environment variable

func ConfigFromJSON

func ConfigFromJSON(data string) (*Config, error)

ConfigFromJSON returns a Config object based on the string data passed as parameter

Jump to

Keyboard shortcuts

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