Versions in this module Expand all Collapse all v0 v0.1.0 Apr 14, 2024 Changes in this version + func SshClient(host, user, private, passphrase string) (*ssh.Client, error) + type Cmd struct + Args []string + Name string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + func Command(exec Executor, name string, args ...string) *Cmd + func (c *Cmd) CombinedOutput() (string, error) + func (c *Cmd) Output() (string, error) + func (c *Cmd) Run() error + func (c *Cmd) Start() error + func (c *Cmd) String() string + type Executor interface + Addr func() net.Addr + Close func() error + Start func(cmd string, in io.Reader, out, stderr io.Writer) error + Wait func() error + func SshExecutor(client *ssh.Client) Executor + type ExitError struct + Content string + Status int + func (e ExitError) Error() string