Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EnvInfrakitHome is the environment variable for defining the top level working directory // for infrakit. EnvInfrakitHome = "INFRAKIT_HOME" )
Variables ¶
This section is empty.
Functions ¶
func Getenv ¶
Getenv returns the value at the environment variable 'env'. If the value is not found then default value is returned
func InfrakitHome ¶
func InfrakitHome() string
InfrakitHome returns the directory of INFRAKIT_HOME if specified. Otherwise, it will return the user's home directory. If that cannot be determined, then it returns the current working directory. If that still cannot be determined, a temporary directory is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.