conf

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MPL-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Command     []string                     `yamle:"command"`
	Host        string                       `yaml:"host"`
	HostEnv     string                       `yaml:"hostEnv"`
	Token       string                       `yaml:"token"`
	RoleID      string                       `yaml:"roleId"`
	RoleIDEnv   string                       `yaml:"roleIdEnv"`
	SecretId    string                       `yaml:"secretId"`
	SecretIdEnv string                       `yaml:"secretIdEnv"`
	SecretMount string                       `yaml:"secretMount"`
	SecretPaths map[string]map[string]string `yaml:"secrets"`
}

func LoadConfig

func LoadConfig(f io.Reader) (c Config, err error)

Jump to

Keyboard shortcuts

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