env

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyDomain      = "TUFIN_DOMAIN"
	KeyProject     = "TUFIN_PROJECT"
	KeyAPIKey      = "TUFIN_API_KEY"
	KeyURL         = "TUFIN_URL"
	KeyServiceName = "TUFIN_SERVICE_NAME"
	KeyEnable      = "TUFIN_ENABLE"
)

Variables

This section is empty.

Functions

func GetEnvOrExit

func GetEnvOrExit(variable string) string

func GetEnvSensitive

func GetEnvSensitive(variable string) string

func GetEnvSensitiveOrExit

func GetEnvSensitiveOrExit(variable string) string

func GetEnvWithDefault

func GetEnvWithDefault(variable, defaultValue string) string

func GetEnvWithDefaultBool added in v0.0.10

func GetEnvWithDefaultBool(key string, defaultValue bool) bool

func GetEnvWithDefaultInt added in v0.0.10

func GetEnvWithDefaultInt(key string, defaultValue int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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