mock

package
v1.1.0-beta.0...-a3f823d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 MockExtension

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

MockExtension is a mock of Extension interface.

func NewMockExtension

func NewMockExtension(ctrl *gomock.Controller) *MockExtension

NewMockExtension creates a new mock instance.

func (*MockExtension) EXPECT

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

func (*MockExtension) GetEligibleInstances

func (m *MockExtension) GetEligibleInstances(arg0 context.Context, arg1 *proto.Task) ([]string, error)

GetEligibleInstances mocks base method.

func (*MockExtension) GetNextStep

func (m *MockExtension) GetNextStep(arg0 *proto.TaskBase) proto.Step

GetNextStep mocks base method.

func (*MockExtension) ISGOMOCK

func (m *MockExtension) ISGOMOCK() struct{}

ISGOMOCK indicates that this struct is a gomock mock.

func (*MockExtension) IsRetryableErr

func (m *MockExtension) IsRetryableErr(arg0 error) bool

IsRetryableErr mocks base method.

func (*MockExtension) OnDone

func (m *MockExtension) OnDone(arg0 context.Context, arg1 storage.TaskHandle, arg2 *proto.Task) error

OnDone mocks base method.

func (*MockExtension) OnNextSubtasksBatch

func (m *MockExtension) OnNextSubtasksBatch(arg0 context.Context, arg1 storage.TaskHandle, arg2 *proto.Task, arg3 []string, arg4 proto.Step) ([][]byte, error)

OnNextSubtasksBatch mocks base method.

func (*MockExtension) OnTick

func (m *MockExtension) OnTick(arg0 context.Context, arg1 *proto.Task)

OnTick mocks base method.

type MockExtensionMockRecorder

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

MockExtensionMockRecorder is the mock recorder for MockExtension.

func (*MockExtensionMockRecorder) GetEligibleInstances

func (mr *MockExtensionMockRecorder) GetEligibleInstances(arg0, arg1 any) *gomock.Call

GetEligibleInstances indicates an expected call of GetEligibleInstances.

func (*MockExtensionMockRecorder) GetNextStep

func (mr *MockExtensionMockRecorder) GetNextStep(arg0 any) *gomock.Call

GetNextStep indicates an expected call of GetNextStep.

func (*MockExtensionMockRecorder) IsRetryableErr

func (mr *MockExtensionMockRecorder) IsRetryableErr(arg0 any) *gomock.Call

IsRetryableErr indicates an expected call of IsRetryableErr.

func (*MockExtensionMockRecorder) OnDone

func (mr *MockExtensionMockRecorder) OnDone(arg0, arg1, arg2 any) *gomock.Call

OnDone indicates an expected call of OnDone.

func (*MockExtensionMockRecorder) OnNextSubtasksBatch

func (mr *MockExtensionMockRecorder) OnNextSubtasksBatch(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

OnNextSubtasksBatch indicates an expected call of OnNextSubtasksBatch.

func (*MockExtensionMockRecorder) OnTick

func (mr *MockExtensionMockRecorder) OnTick(arg0, arg1 any) *gomock.Call

OnTick indicates an expected call of OnTick.

Jump to

Keyboard shortcuts

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