Versions in this module Expand all Collapse all v0 v0.7.1 Oct 9, 2019 v0.7.0 Oct 8, 2019 Changes in this version + type Command struct + Name string + func New(name string, script string, runner Runner) *Command + func (c *Command) Exec() ([]byte, error) + type Commander interface + Exec func() ([]byte, error) + type LocalRunner struct + func NewLocalRunner() *LocalRunner + func (l *LocalRunner) Run(script string) ([]byte, error) + type RemoteRunner struct + func NewRemoteRunner(sshClient ssh.Client) *RemoteRunner + func (r *RemoteRunner) Run(script string) ([]byte, error) + type Runner interface + Run func(script string) ([]byte, error)