Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecResponse ¶
ExecResponse contains the return code and output generated by executing a command.
func RunCommands ¶
func RunCommands(run RunParams) (*ExecResponse, error)
RunCommands executes the Commands specified in the RunParams using '/bin/bash -s', passing the commands through as stdin, and collecting stdout and stderr. If a non-zero return code is returned, this is collected as the code for the response and this does not classify as an error.
Click to show internal directories.
Click to hide internal directories.