env

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2017 License: GPL-3.0, GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GaugeReportsDir = "gauge_reports_dir"
	LogsDirectory   = "logs_directory"
)

Variables

This section is empty.

Functions

func CurrentEnv added in v0.1.4

func CurrentEnv() string

CurrentEnv returns the value of currentEnv

func LoadEnv

func LoadEnv(envName string) error

LoadEnv first generates the map of the env vars that needs to be set. It starts by populating the map with the env passed by the user in --env flag. It then adds the default values of the env vars which are required by Gauge, but are not present in the map.

Finally, all the env vars present in the map are actually set in the shell.

Types

This section is empty.

Jump to

Keyboard shortcuts

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