Documentation
¶
Index ¶
- func GenerateSSHKeypair() ([]byte, []byte, error)
- func Run(dir string, additionalCmdEnvs []string, name string, args ...string) error
- func RunAndReturnCombinedOutput(dir string, additionalCmdEnvs []string, name string, args ...string) (string, error)
- func RunCommandThroughSSH(sshConfigModel config.SSHConfigModel, cmdToRunWithSSH string) error
- func RunCommandThroughSSHWithWriters(sshConfigModel config.SSHConfigModel, cmdToRunWithSSH string, ...) error
- func StartAsyncCommandThroughSSHWithWriters(sshConfigModel config.SSHConfigModel, cmdToRunWithSSH string, ...) (*exec.Cmd, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAndReturnCombinedOutput ¶
func RunAndReturnCombinedOutput(dir string, additionalCmdEnvs []string, name string, args ...string) (string, error)
RunAndReturnCombinedOutput ...
func RunCommandThroughSSH ¶
func RunCommandThroughSSH(sshConfigModel config.SSHConfigModel, cmdToRunWithSSH string) error
RunCommandThroughSSH ...
func RunCommandThroughSSHWithWriters ¶
func RunCommandThroughSSHWithWriters(sshConfigModel config.SSHConfigModel, cmdToRunWithSSH string, stdout, stderr io.Writer) error
RunCommandThroughSSHWithWriters ... TODO: this could possibly use StartAsyncCommandThroughSSHWithWriters and `return cmd.Wait()`
func StartAsyncCommandThroughSSHWithWriters ¶
func StartAsyncCommandThroughSSHWithWriters(sshConfigModel config.SSHConfigModel, cmdToRunWithSSH string, stdout, stderr io.Writer) (*exec.Cmd, error)
StartAsyncCommandThroughSSHWithWriters ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.