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(ctx context.Context, commandContext *task.CommandContext, ...) (task.Task, error)
- func (m *MockTask) Run(ctx context.Context, commandContext *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.
Click to show internal directories.
Click to hide internal directories.