Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PipeCommands ¶
PipeCommands executes the commands received as input by feeding the output of one to the input of the other, exactly like Unix Pipe (|). Returns the output of the final command and the eventual error.
code inspired by https://gist.github.com/tyndyll/89fbb2c2273f83a074dc
func SaveFileonTempDir ¶
SaveFileonTempDir creates a temp directory and saves the file data as the filename in that directory. Returns an error if the agent doesn't have permission to create the folder. Returns an error if the filename doesn't form a valid path.
Note that path could be defined and still there could be an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.