Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTask
- func (m *MockTask) Checkpoint() *task.CompletedTask
- func (m *MockTask) EXPECT() *MockTaskMockRecorder
- func (m *MockTask) Name() string
- func (m *MockTask) Restore(arg0 context.Context, arg1 *task.CommandContext, arg2 *task.CompletedTask) (task.Task, error)
- func (m *MockTask) Run(arg0 context.Context, arg1 *task.CommandContext) task.Task
- type MockTaskMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTask ¶
type MockTask struct {
// contains filtered or unexported fields
}
MockTask is a mock of Task interface.
func NewMockTask ¶
func NewMockTask(ctrl *gomock.Controller) *MockTask
NewMockTask creates a new mock instance.
func (*MockTask) Checkpoint ¶ added in v0.9.2
func (m *MockTask) Checkpoint() *task.CompletedTask
Checkpoint mocks base method.
func (*MockTask) EXPECT ¶
func (m *MockTask) EXPECT() *MockTaskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTaskMockRecorder ¶
type MockTaskMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskMockRecorder is the mock recorder for MockTask.
func (*MockTaskMockRecorder) Checkpoint ¶ added in v0.9.2
func (mr *MockTaskMockRecorder) Checkpoint() *gomock.Call
Checkpoint indicates an expected call of Checkpoint.
func (*MockTaskMockRecorder) Name ¶
func (mr *MockTaskMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockTaskMockRecorder) Restore ¶ added in v0.9.2
func (mr *MockTaskMockRecorder) Restore(arg0, arg1, arg2 interface{}) *gomock.Call
Restore indicates an expected call of Restore.
func (*MockTaskMockRecorder) Run ¶
func (mr *MockTaskMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call
Run indicates an expected call of Run.
Click to show internal directories.
Click to hide internal directories.