mocks

package
v0.11.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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.

func (*MockTask) Name

func (m *MockTask) Name() string

Name mocks base method.

func (*MockTask) Restore added in v0.9.2

func (m *MockTask) Restore(arg0 context.Context, arg1 *task.CommandContext, arg2 *task.CompletedTask) (task.Task, error)

Restore mocks base method.

func (*MockTask) Run

func (m *MockTask) Run(arg0 context.Context, arg1 *task.CommandContext) task.Task

Run mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL