Documentation ¶
Index ¶
- type Executor
- func (_m *Executor) Buffered(ctx context.Context, cmds ...*exec.Cmd) (*bytes.Buffer, *bytes.Buffer, osexec.PipelineResult, error)
- func (_m *Executor) Command(name string, arg ...string) *exec.Cmd
- func (_m *Executor) CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd
- func (_m *Executor) Pty(cmd *exec.Cmd) error
- func (_m *Executor) Standard(ctx context.Context, stdout io.Writer, stderr io.Writer, stdin io.Reader, ...) (osexec.PipelineResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
Executor is an autogenerated mock type for the Executor type
func (*Executor) Buffered ¶
func (_m *Executor) Buffered(ctx context.Context, cmds ...*exec.Cmd) (*bytes.Buffer, *bytes.Buffer, osexec.PipelineResult, error)
Buffered provides a mock function with given fields: ctx, cmds
func (*Executor) CommandContext ¶
CommandContext provides a mock function with given fields: ctx, name, arg
Click to show internal directories.
Click to hide internal directories.