Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface { Exec(host host.Host, cmd string) (string, int, error) PipeExec(host host.Host, cmd string, stdin io.Reader, stdout io.Writer, stderr io.Writer) (code int, err error) Fetch(host host.Host, local, remote string) error Scp(host host.Host, local, remote string) error Close() }
func NewConnection ¶
func NewConnection(config Config) (Connection, error)
Click to show internal directories.
Click to hide internal directories.