config

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseVariableDefinitions added in v0.3.0

func ParseVariableDefinitions(values map[string]string) ([]model.VariableDef, error)

func Setup

func Setup(cmd *cobra.Command) error

Types

type Config

type Config struct {
	LogLevel     string
	KubeConfPath string
	Vault        VaultConfig
	Consul       ConsulConfig
	Application  model.Application
}

func Get

func Get() *Config

type ConsulConfig

type ConsulConfig struct {
	Address       string
	Datacenter    string
	Token         string
	TLSSkipVerify bool
}

type VaultConfig

type VaultConfig struct {
	Address       string
	Token         string
	TokenPath     string
	TLSSkipVerify bool
}

Jump to

Keyboard shortcuts

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