Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommandAndGetOutput ¶
RunCommandAndGetOutput runs the given command and returns the output as a string or an error if the command fails.
Types ¶
type ErrWithCmdOutput ¶
type ErrWithCmdOutput struct {
Underlying error
Output *output
}
ErrWithCmdOutput is an error that includes the output of the command.
func (*ErrWithCmdOutput) Error ¶
func (e *ErrWithCmdOutput) Error() string
Click to show internal directories.
Click to hide internal directories.