Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSSHClient ¶
NewSSHClient returns an SSH client object for running commands.
Types ¶
type SSHSession ¶
type SSHSession interface {
Close() error
StdinPipe() (io.WriteCloser, error)
Run(cmd string) error
Wait() error
}
SSHSession provides methods for running commands on a host.
Click to show internal directories.
Click to hide internal directories.