Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockExecutor
- func (m *MockExecutor) Buffered(ctx context.Context, cmds ...*exec0.Cmd) (*bytes.Buffer, *bytes.Buffer, exec.PipelineResult, error)
- func (m *MockExecutor) Command(name string, arg ...string) *exec0.Cmd
- func (m *MockExecutor) CommandContext(ctx context.Context, name string, arg ...string) *exec0.Cmd
- func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
- func (m *MockExecutor) Pty(cmd *exec0.Cmd) error
- func (m *MockExecutor) Standard(ctx context.Context, stdout, stderr io.Writer, stdin io.Reader, ...) (exec.PipelineResult, error)
- type MockExecutorMockRecorder
- func (mr *MockExecutorMockRecorder) Buffered(ctx interface{}, cmds ...interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) Command(name interface{}, arg ...interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) CommandContext(ctx, name interface{}, arg ...interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) Pty(cmd interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) Standard(ctx, stdout, stderr, stdin interface{}, cmds ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance
func (*MockExecutor) Buffered ¶
func (m *MockExecutor) Buffered(ctx context.Context, cmds ...*exec0.Cmd) (*bytes.Buffer, *bytes.Buffer, exec.PipelineResult, error)
Buffered mocks base method
func (*MockExecutor) Command ¶
func (m *MockExecutor) Command(name string, arg ...string) *exec0.Cmd
Command mocks base method
func (*MockExecutor) CommandContext ¶
CommandContext mocks base method
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor
func (*MockExecutorMockRecorder) Buffered ¶
func (mr *MockExecutorMockRecorder) Buffered(ctx interface{}, cmds ...interface{}) *gomock.Call
Buffered indicates an expected call of Buffered
func (*MockExecutorMockRecorder) Command ¶
func (mr *MockExecutorMockRecorder) Command(name interface{}, arg ...interface{}) *gomock.Call
Command indicates an expected call of Command
func (*MockExecutorMockRecorder) CommandContext ¶
func (mr *MockExecutorMockRecorder) CommandContext(ctx, name interface{}, arg ...interface{}) *gomock.Call
CommandContext indicates an expected call of CommandContext
func (*MockExecutorMockRecorder) Pty ¶
func (mr *MockExecutorMockRecorder) Pty(cmd interface{}) *gomock.Call
Pty indicates an expected call of Pty
func (*MockExecutorMockRecorder) Standard ¶
func (mr *MockExecutorMockRecorder) Standard(ctx, stdout, stderr, stdin interface{}, cmds ...interface{}) *gomock.Call
Standard indicates an expected call of Standard
Click to show internal directories.
Click to hide internal directories.