Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultPort = "22"
)
Variables ¶
View Source
var ( ErrUserNotSpecified = errors.New("user not specified") ErrHostNotSpecified = errors.New("host not specified") )
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is implementation of runner interface for ssh
func NewRunner ¶
NewRunner creates ssh runner object. It requires two io.Writer to send output of ssh session and config for ssh client. TODO: Does it safe to pass Config as a pointer?
Click to show internal directories.
Click to hide internal directories.