Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run does the same as RunCommand but takes a pre-populated cmd. Stdout and stderr are ignored and replaced with the output handling described for RunCommand.
func RunCommand ¶
RunCommand executes the command with logging through klog, with output processed line-by-line with the command path as prefix. It returns the combined output and, if there was a problem, includes that output and the command in the error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.