Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockExecutable
- func (m *MockExecutable) Command(arg0 context.Context, arg1 ...string) *executables.Command
- func (m *MockExecutable) EXPECT() *MockExecutableMockRecorder
- func (m *MockExecutable) Execute(arg0 context.Context, arg1 ...string) (bytes.Buffer, error)
- func (m *MockExecutable) ExecuteWithEnv(arg0 context.Context, arg1 map[string]string, arg2 ...string) (bytes.Buffer, error)
- func (m *MockExecutable) ExecuteWithStdin(arg0 context.Context, arg1 []byte, arg2 ...string) (bytes.Buffer, error)
- func (m *MockExecutable) Run(arg0 *executables.Command) (bytes.Buffer, error)
- type MockExecutableMockRecorder
- func (mr *MockExecutableMockRecorder) Command(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) ExecuteWithEnv(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) ExecuteWithStdin(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockExecutableMockRecorder) Run(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutable ¶
type MockExecutable struct {
// contains filtered or unexported fields
}
MockExecutable is a mock of Executable interface.
func NewMockExecutable ¶
func NewMockExecutable(ctrl *gomock.Controller) *MockExecutable
NewMockExecutable creates a new mock instance.
func (*MockExecutable) Command ¶ added in v0.7.0
func (m *MockExecutable) Command(arg0 context.Context, arg1 ...string) *executables.Command
Command mocks base method.
func (*MockExecutable) EXPECT ¶
func (m *MockExecutable) EXPECT() *MockExecutableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecutable) ExecuteWithEnv ¶
func (m *MockExecutable) ExecuteWithEnv(arg0 context.Context, arg1 map[string]string, arg2 ...string) (bytes.Buffer, error)
ExecuteWithEnv mocks base method.
func (*MockExecutable) ExecuteWithStdin ¶
func (m *MockExecutable) ExecuteWithStdin(arg0 context.Context, arg1 []byte, arg2 ...string) (bytes.Buffer, error)
ExecuteWithStdin mocks base method.
func (*MockExecutable) Run ¶ added in v0.7.0
func (m *MockExecutable) Run(arg0 *executables.Command) (bytes.Buffer, error)
Run mocks base method.
type MockExecutableMockRecorder ¶
type MockExecutableMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutableMockRecorder is the mock recorder for MockExecutable.
func (*MockExecutableMockRecorder) Command ¶ added in v0.7.0
func (mr *MockExecutableMockRecorder) Command(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Command indicates an expected call of Command.
func (*MockExecutableMockRecorder) Execute ¶
func (mr *MockExecutableMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockExecutableMockRecorder) ExecuteWithEnv ¶
func (mr *MockExecutableMockRecorder) ExecuteWithEnv(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExecuteWithEnv indicates an expected call of ExecuteWithEnv.
func (*MockExecutableMockRecorder) ExecuteWithStdin ¶
func (mr *MockExecutableMockRecorder) ExecuteWithStdin(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExecuteWithStdin indicates an expected call of ExecuteWithStdin.
func (*MockExecutableMockRecorder) Run ¶ added in v0.7.0
func (mr *MockExecutableMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.