Documentation ¶ Index ¶ type Command func NewCommand(cmd string) Command func (c Command) Run() ([]byte, []byte, error) func (c Command) String() string func (c Command) WithEnv(env map[string]string) Command func (c Command) WithParams(params ...string) Command func (c Command) WithStdin(stdin io.Reader) Command Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Command ¶ added in v1.4.2 type Command struct { // contains filtered or unexported fields } func NewCommand ¶ added in v1.4.2 func NewCommand(cmd string) Command func (Command) Run ¶ added in v1.4.2 func (c Command) Run() ([]byte, []byte, error) func (Command) String ¶ added in v1.4.2 func (c Command) String() string func (Command) WithEnv ¶ added in v1.4.2 func (c Command) WithEnv(env map[string]string) Command func (Command) WithParams ¶ added in v1.4.2 func (c Command) WithParams(params ...string) Command func (Command) WithStdin ¶ added in v1.4.2 func (c Command) WithStdin(stdin io.Reader) Command Source Files ¶ View all Source files runner.go Click to show internal directories. Click to hide internal directories.