Documentation ¶
Index ¶
- Constants
- func AddOrReplaceEnvironment(env []string, newEnvName string, newEnvVal string) []string
- func BuildStembuild(version string) (string, error)
- func CopyRecursive(destRoot, srcRoot string) error
- func EnvMustExist(variableName string) string
- func ExtractGzipArchive(name string) (string, error)
- func ReadFile(name string) (string, error)
- func RunCommandInDir(workingDir, command string, args ...string) *Session
- func Stembuild(command string, args ...string) *Session
- func StembuildWithEnv(passedEnv map[string]string, command string, args ...string) *Session
- func WriteCommand(command string, args []string)
Constants ¶
View Source
const ( DebugCommandPrefix = "\nCMD>" DebugOutPrefix = "OUT: " DebugErrPrefix = "ERR: " )
Variables ¶
This section is empty.
Functions ¶
func AddOrReplaceEnvironment ¶
AddOrReplaceEnvironment will update environment if it already exists or will add a new environment with the given environment name and details.
func BuildStembuild ¶
func CopyRecursive ¶
func EnvMustExist ¶
func ExtractGzipArchive ¶
ExtractGzipArchive extracts the tgz archive name to a temp directory returning the filepath of the temp directory.
func RunCommandInDir ¶
func StembuildWithEnv ¶
func WriteCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.