environment

package
v0.15.11 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package environment provides utility functions for interacting with the OS environment (e.g environment variables).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirstNonEmptyEnvVarOrEmptyString

func GetFirstNonEmptyEnvVarOrEmptyString(t *testing.T, envVarNames []string) string

GetFirstNonEmptyEnvVarOrEmptyString returns the first non-empty environment variable from envVarNames, or returns the empty string

func GetFirstNonEmptyEnvVarOrFatal

func GetFirstNonEmptyEnvVarOrFatal(t *testing.T, envVarNames []string) string

GetFirstNonEmptyEnvVarOrFatal returns the first non-empty environment variable from envVarNames, or throws a fatal

Types

This section is empty.

Jump to

Keyboard shortcuts

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