Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶
func (*Cmd) CombinedOutput ¶
type Executor ¶
type Executor interface { // Start runs cmd on the remote host. Start(cmd string, in io.Reader, out, stderr io.Writer) error // Wait waits for the command to finish if it has already been started, and returns the result. Wait() error // Close closes the connection. Close() error // Addr of remote machine. Addr() net.Addr }
func SshExecutor ¶
Click to show internal directories.
Click to hide internal directories.