Documentation ¶
Overview ¶
Package mockexecute is a generated GoMock package.
Index ¶
- type MockStepExecutor
- func (m *MockStepExecutor) Cleanup(arg0 context.Context) error
- func (m *MockStepExecutor) EXPECT() *MockStepExecutorMockRecorder
- func (m *MockStepExecutor) GetResource() *proto.StepResource
- func (m *MockStepExecutor) ISGOMOCK() struct{}
- func (m *MockStepExecutor) Init(arg0 context.Context) error
- func (m *MockStepExecutor) OnFinished(arg0 context.Context, arg1 *proto.Subtask) error
- func (m *MockStepExecutor) RealtimeSummary() *execute.SubtaskSummary
- func (m *MockStepExecutor) RunSubtask(arg0 context.Context, arg1 *proto.Subtask) error
- type MockStepExecutorMockRecorder
- func (mr *MockStepExecutorMockRecorder) Cleanup(arg0 any) *gomock.Call
- func (mr *MockStepExecutorMockRecorder) GetResource() *gomock.Call
- func (mr *MockStepExecutorMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockStepExecutorMockRecorder) OnFinished(arg0, arg1 any) *gomock.Call
- func (mr *MockStepExecutorMockRecorder) RealtimeSummary() *gomock.Call
- func (mr *MockStepExecutorMockRecorder) RunSubtask(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStepExecutor ¶
type MockStepExecutor struct { execute.StepExecutor // contains filtered or unexported fields }
MockStepExecutor is a mock of StepExecutor interface.
func NewMockStepExecutor ¶
func NewMockStepExecutor(ctrl *gomock.Controller) *MockStepExecutor
NewMockStepExecutor creates a new mock instance.
func (*MockStepExecutor) Cleanup ¶
func (m *MockStepExecutor) Cleanup(arg0 context.Context) error
Cleanup mocks base method.
func (*MockStepExecutor) EXPECT ¶
func (m *MockStepExecutor) EXPECT() *MockStepExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStepExecutor) GetResource ¶
func (m *MockStepExecutor) GetResource() *proto.StepResource
GetResource mocks base method.
func (*MockStepExecutor) ISGOMOCK ¶
func (m *MockStepExecutor) ISGOMOCK() struct{}
ISGOMOCK indicates that this struct is a gomock mock.
func (*MockStepExecutor) Init ¶
func (m *MockStepExecutor) Init(arg0 context.Context) error
Init mocks base method.
func (*MockStepExecutor) OnFinished ¶
OnFinished mocks base method.
func (*MockStepExecutor) RealtimeSummary ¶
func (m *MockStepExecutor) RealtimeSummary() *execute.SubtaskSummary
RealtimeSummary mocks base method.
func (*MockStepExecutor) RunSubtask ¶
RunSubtask mocks base method.
type MockStepExecutorMockRecorder ¶
type MockStepExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockStepExecutorMockRecorder is the mock recorder for MockStepExecutor.
func (*MockStepExecutorMockRecorder) Cleanup ¶
func (mr *MockStepExecutorMockRecorder) Cleanup(arg0 any) *gomock.Call
Cleanup indicates an expected call of Cleanup.
func (*MockStepExecutorMockRecorder) GetResource ¶
func (mr *MockStepExecutorMockRecorder) GetResource() *gomock.Call
GetResource indicates an expected call of GetResource.
func (*MockStepExecutorMockRecorder) Init ¶
func (mr *MockStepExecutorMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockStepExecutorMockRecorder) OnFinished ¶
func (mr *MockStepExecutorMockRecorder) OnFinished(arg0, arg1 any) *gomock.Call
OnFinished indicates an expected call of OnFinished.
func (*MockStepExecutorMockRecorder) RealtimeSummary ¶
func (mr *MockStepExecutorMockRecorder) RealtimeSummary() *gomock.Call
RealtimeSummary indicates an expected call of RealtimeSummary.
func (*MockStepExecutorMockRecorder) RunSubtask ¶
func (mr *MockStepExecutorMockRecorder) RunSubtask(arg0, arg1 any) *gomock.Call
RunSubtask indicates an expected call of RunSubtask.