Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogErrorAsExitCode ¶ added in v1.12.0
func LogErrorAsExitCode(err error, log logrus.FieldLogger)
func RunCommand ¶
RunCommand runs a command and returns its stdout, stderr, and its returned error (if any). If there are errors reading stdout or stderr, their return value(s) will contain the error as a string.
func RunCommandWithLog ¶ added in v1.12.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.