Documentation
¶
Index ¶
- func ResolveHostname(hostport string) (net.Addr, error)
- type CmdWorker
- type ExecError
- type Local
- type LocalCmd
- func (cmd *LocalCmd) GetCommandLine() string
- func (cmd *LocalCmd) Run() ([]string, error)
- func (cmd *LocalCmd) SetStderr(buffer io.Writer)
- func (cmd *LocalCmd) SetStdout(buffer io.Writer)
- func (cmd *LocalCmd) Start() error
- func (cmd *LocalCmd) StderrPipe() (io.Reader, error)
- func (cmd *LocalCmd) StdinPipe() (io.WriteCloser, error)
- func (cmd *LocalCmd) StdoutPipe() (io.Reader, error)
- func (cmd *LocalCmd) Wait() error
- type Remote
- type RemoteCmd
- func (cmd *RemoteCmd) GetCommandLine() string
- func (cmd *RemoteCmd) Run() ([]string, error)
- func (cmd *RemoteCmd) SetStderr(buffer io.Writer)
- func (cmd *RemoteCmd) SetStdout(buffer io.Writer)
- func (cmd *RemoteCmd) Start() error
- func (cmd *RemoteCmd) StderrPipe() (io.Reader, error)
- func (cmd *RemoteCmd) StdinPipe() (io.WriteCloser, error)
- func (cmd *RemoteCmd) StdoutPipe() (io.Reader, error)
- func (cmd *RemoteCmd) Wait() error
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalCmd ¶
type LocalCmd struct {
// contains filtered or unexported fields
}
func (*LocalCmd) GetCommandLine ¶
type Remote ¶
type Remote struct {
// contains filtered or unexported fields
}
func NewRemoteKeyAuthRunner ¶
func NewRemotePassAuthRunner ¶
func (*Remote) CloseConnection ¶
type RemoteCmd ¶
type RemoteCmd struct {
// contains filtered or unexported fields
}
func (*RemoteCmd) GetCommandLine ¶
Click to show internal directories.
Click to hide internal directories.