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 ¶
Types ¶
type Config ¶
type Config struct { Host string `json:"host"` Port string `json:"port"` User string `json:"user"` Timeout int `json:"timeout"` Key []byte `json:"key"` }
Config is a set of params needed to create valid ssh.ClientConfig
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is implementation of runner interface for ssh
Click to show internal directories.
Click to hide internal directories.