Documentation
¶
Overview ¶
Package remote ssh'es into remote machines and runs a command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor interface {
SetupKeys(string) error
CreateClient() error
CreateSession(string) (SSHSessionInterface, error)
Run(string, SSHSessionInterface) (string, error)
Close() error
}
Executor interface for executing remote commands
type SSHClientInterface ¶
SSHClientInterface abstracts the client struct from ssh package
Click to show internal directories.
Click to hide internal directories.