mockexecute

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

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

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

Documentation

Overview

Package mockexecute is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStepExecutor

type MockStepExecutor struct {
	execute.StepExecutor
	// contains filtered or unexported fields
}

MockStepExecutor is a mock of StepExecutor interface.

func NewMockStepExecutor

func NewMockStepExecutor(ctrl *gomock.Controller) *MockStepExecutor

NewMockStepExecutor creates a new mock instance.

func (*MockStepExecutor) Cleanup

func (m *MockStepExecutor) Cleanup(arg0 context.Context) error

Cleanup mocks base method.

func (*MockStepExecutor) EXPECT

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

func (*MockStepExecutor) GetResource

func (m *MockStepExecutor) GetResource() *proto.StepResource

GetResource mocks base method.

func (*MockStepExecutor) GetStep

func (m *MockStepExecutor) GetStep() proto.Step

GetStep mocks base method.

func (*MockStepExecutor) ISGOMOCK

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

ISGOMOCK indicates that this struct is a gomock mock.

func (*MockStepExecutor) Init

func (m *MockStepExecutor) Init(arg0 context.Context) error

Init mocks base method.

func (*MockStepExecutor) RealtimeSummary

func (m *MockStepExecutor) RealtimeSummary() *execute.SubtaskSummary

RealtimeSummary mocks base method.

func (*MockStepExecutor) RunSubtask

func (m *MockStepExecutor) RunSubtask(arg0 context.Context, arg1 *proto.Subtask) error

RunSubtask mocks base method.

type MockStepExecutorMockRecorder

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

MockStepExecutorMockRecorder is the mock recorder for MockStepExecutor.

func (*MockStepExecutorMockRecorder) Cleanup

func (mr *MockStepExecutorMockRecorder) Cleanup(arg0 any) *gomock.Call

Cleanup indicates an expected call of Cleanup.

func (*MockStepExecutorMockRecorder) GetResource

func (mr *MockStepExecutorMockRecorder) GetResource() *gomock.Call

GetResource indicates an expected call of GetResource.

func (*MockStepExecutorMockRecorder) GetStep

func (mr *MockStepExecutorMockRecorder) GetStep() *gomock.Call

GetStep indicates an expected call of GetStep.

func (*MockStepExecutorMockRecorder) Init

func (mr *MockStepExecutorMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockStepExecutorMockRecorder) RealtimeSummary

func (mr *MockStepExecutorMockRecorder) RealtimeSummary() *gomock.Call

RealtimeSummary indicates an expected call of RealtimeSummary.

func (*MockStepExecutorMockRecorder) RunSubtask

func (mr *MockStepExecutorMockRecorder) RunSubtask(arg0, arg1 any) *gomock.Call

RunSubtask indicates an expected call of RunSubtask.

Jump to

Keyboard shortcuts

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