cli

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvVaultAddr     = "VAULT_ADDR"
	EnvVaultInsecure = "VAULT_SKIP_VERIFY"
	EnvVaultRoleId   = "VAULT_ROLE_ID"
	EnvVaultSecretId = "VAULT_SECRET_ID"
	EnvVaultToken    = "VAULT_TOKEN"
)

Variables

View Source
var (
	// Build time parameters
	BuildVersion   string
	BuildTimestamp string
)

Functions

func GetBoolEnvValue

func GetBoolEnvValue(environmentKey string, defaultValue bool) bool

func GetEnvValue

func GetEnvValue(environmentKey, defaultValue string) string

func Run

func Run(ctx context.Context, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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