mock

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackoffManager

type MockBackoffManager struct {
	// contains filtered or unexported fields
}

MockBackoffManager is a mock of BackoffManager interface.

func NewMockBackoffManager

func NewMockBackoffManager(ctrl *gomock.Controller) *MockBackoffManager

NewMockBackoffManager creates a new mock instance.

func (*MockBackoffManager) Allow

func (m *MockBackoffManager) Allow(arg0 string) bool

Allow mocks base method.

func (*MockBackoffManager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBackoffManager) JobFail

func (m *MockBackoffManager) JobFail(arg0 string)

JobFail mocks base method.

func (*MockBackoffManager) JobOnline

func (m *MockBackoffManager) JobOnline(arg0 string)

JobOnline mocks base method.

func (*MockBackoffManager) JobTerminate

func (m *MockBackoffManager) JobTerminate(arg0 string)

JobTerminate mocks base method.

func (*MockBackoffManager) Terminate

func (m *MockBackoffManager) Terminate(arg0 string) bool

Terminate mocks base method.

type MockBackoffManagerMockRecorder

type MockBackoffManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockBackoffManagerMockRecorder is the mock recorder for MockBackoffManager.

func (*MockBackoffManagerMockRecorder) Allow

func (mr *MockBackoffManagerMockRecorder) Allow(arg0 interface{}) *gomock.Call

Allow indicates an expected call of Allow.

func (*MockBackoffManagerMockRecorder) JobFail

func (mr *MockBackoffManagerMockRecorder) JobFail(arg0 interface{}) *gomock.Call

JobFail indicates an expected call of JobFail.

func (*MockBackoffManagerMockRecorder) JobOnline

func (mr *MockBackoffManagerMockRecorder) JobOnline(arg0 interface{}) *gomock.Call

JobOnline indicates an expected call of JobOnline.

func (*MockBackoffManagerMockRecorder) JobTerminate

func (mr *MockBackoffManagerMockRecorder) JobTerminate(arg0 interface{}) *gomock.Call

JobTerminate indicates an expected call of JobTerminate.

func (*MockBackoffManagerMockRecorder) Terminate

func (mr *MockBackoffManagerMockRecorder) Terminate(arg0 interface{}) *gomock.Call

Terminate indicates an expected call of Terminate.

type MockJobOperator

type MockJobOperator struct {
	// contains filtered or unexported fields
}

MockJobOperator is a mock of JobOperator interface.

func NewMockJobOperator

func NewMockJobOperator(ctrl *gomock.Controller) *MockJobOperator

NewMockJobOperator creates a new mock instance.

func (*MockJobOperator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockJobOperator) IsJobCanceling

func (m *MockJobOperator) IsJobCanceling(arg0 context.Context, arg1 string) bool

IsJobCanceling mocks base method.

func (*MockJobOperator) MarkJobCanceled

func (m *MockJobOperator) MarkJobCanceled(arg0 context.Context, arg1 string) error

MarkJobCanceled mocks base method.

func (*MockJobOperator) MarkJobCanceling

func (m *MockJobOperator) MarkJobCanceling(arg0 context.Context, arg1 string) error

MarkJobCanceling mocks base method.

func (*MockJobOperator) Tick

func (m *MockJobOperator) Tick(arg0 context.Context) error

Tick mocks base method.

type MockJobOperatorMockRecorder

type MockJobOperatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockJobOperatorMockRecorder is the mock recorder for MockJobOperator.

func (*MockJobOperatorMockRecorder) IsJobCanceling

func (mr *MockJobOperatorMockRecorder) IsJobCanceling(arg0, arg1 interface{}) *gomock.Call

IsJobCanceling indicates an expected call of IsJobCanceling.

func (*MockJobOperatorMockRecorder) MarkJobCanceled

func (mr *MockJobOperatorMockRecorder) MarkJobCanceled(arg0, arg1 interface{}) *gomock.Call

MarkJobCanceled indicates an expected call of MarkJobCanceled.

func (*MockJobOperatorMockRecorder) MarkJobCanceling

func (mr *MockJobOperatorMockRecorder) MarkJobCanceling(arg0, arg1 interface{}) *gomock.Call

MarkJobCanceling indicates an expected call of MarkJobCanceling.

func (*MockJobOperatorMockRecorder) Tick

func (mr *MockJobOperatorMockRecorder) Tick(arg0 interface{}) *gomock.Call

Tick indicates an expected call of Tick.

Jump to

Keyboard shortcuts

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