Versions in this module Expand all Collapse all v1 v1.0.1 Aug 8, 2022 v1.0.0 Aug 4, 2022 Changes in this version + type ExitError struct + ExitCode int + func (e *ExitError) Error() string + type LocalTransport struct + func (lt *LocalTransport) NewProcess(ctx xcontext.Context, bin string, args []string) (Process, error) + type Process interface + Start func(ctx xcontext.Context) error + StderrPipe func() (io.Reader, error) + StdoutPipe func() (io.Reader, error) + String func() string + Wait func(ctx xcontext.Context) error + type SSHTransport struct + func (st *SSHTransport) NewProcess(ctx xcontext.Context, bin string, args []string) (Process, error) + type SSHTransportConfig struct + Async ... + Host string + IdentityFile string + Password string + Port int + SendBinary bool + Timeout xjson.Duration + User string + func DefaultSSHTransportConfig() SSHTransportConfig + type Transport interface + NewProcess func(ctx xcontext.Context, bin string, args []string) (Process, error) + func NewLocalTransport() Transport + func NewSSHTransport(config SSHTransportConfig) Transport + func NewTransport(proto string, configSource json.RawMessage, expander *test.ParamExpander) (Transport, error)