mocks

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockEventBusRuntime added in v0.1.1

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

MockEventBusRuntime is a mock of EventBusRuntime interface.

func NewMockEventBusRuntime added in v0.1.1

func NewMockEventBusRuntime(ctrl *gomock.Controller) *MockEventBusRuntime

NewMockEventBusRuntime creates a new mock instance.

func (*MockEventBusRuntime) Approve added in v0.1.1

func (m *MockEventBusRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error

Approve mocks base method.

func (*MockEventBusRuntime) Close added in v0.1.1

func (m *MockEventBusRuntime) Close()

Close mocks base method.

func (*MockEventBusRuntime) EXPECT added in v0.1.1

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

func (*MockEventBusRuntime) Execute added in v0.1.1

Execute mocks base method.

func (*MockEventBusRuntime) ExecuteStream added in v0.1.1

func (m *MockEventBusRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)

ExecuteStream mocks base method.

func (*MockEventBusRuntime) GetEventBus added in v0.1.1

func (m *MockEventBusRuntime) GetEventBus() eventbus.EventBus

GetEventBus mocks base method.

func (*MockEventBusRuntime) SetEventBus added in v0.1.1

func (m *MockEventBusRuntime) SetEventBus(arg0 eventbus.EventBus)

SetEventBus mocks base method.

type MockEventBusRuntimeMockRecorder added in v0.1.1

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

MockEventBusRuntimeMockRecorder is the mock recorder for MockEventBusRuntime.

func (*MockEventBusRuntimeMockRecorder) Approve added in v0.1.1

func (mr *MockEventBusRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call

Approve indicates an expected call of Approve.

func (*MockEventBusRuntimeMockRecorder) Close added in v0.1.1

Close indicates an expected call of Close.

func (*MockEventBusRuntimeMockRecorder) Execute added in v0.1.1

func (mr *MockEventBusRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockEventBusRuntimeMockRecorder) ExecuteStream added in v0.1.1

func (mr *MockEventBusRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call

ExecuteStream indicates an expected call of ExecuteStream.

func (*MockEventBusRuntimeMockRecorder) GetEventBus added in v0.1.1

func (mr *MockEventBusRuntimeMockRecorder) GetEventBus() *gomock.Call

GetEventBus indicates an expected call of GetEventBus.

func (*MockEventBusRuntimeMockRecorder) SetEventBus added in v0.1.1

func (mr *MockEventBusRuntimeMockRecorder) SetEventBus(arg0 interface{}) *gomock.Call

SetEventBus indicates an expected call of SetEventBus.

type MockRuntime

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

MockRuntime is a mock of Runtime interface.

func NewMockRuntime

func NewMockRuntime(ctrl *gomock.Controller) *MockRuntime

NewMockRuntime creates a new mock instance.

func (*MockRuntime) Approve

func (m *MockRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error

Approve mocks base method.

func (*MockRuntime) Close

func (m *MockRuntime) Close()

Close mocks base method.

func (*MockRuntime) EXPECT

func (m *MockRuntime) EXPECT() *MockRuntimeMockRecorder

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

func (*MockRuntime) Execute

Execute mocks base method.

func (*MockRuntime) ExecuteStream

func (m *MockRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)

ExecuteStream mocks base method.

type MockRuntimeMockRecorder

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

MockRuntimeMockRecorder is the mock recorder for MockRuntime.

func (*MockRuntimeMockRecorder) Approve

func (mr *MockRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call

Approve indicates an expected call of Approve.

func (*MockRuntimeMockRecorder) Close

func (mr *MockRuntimeMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockRuntimeMockRecorder) Execute

func (mr *MockRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockRuntimeMockRecorder) ExecuteStream

func (mr *MockRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call

ExecuteStream indicates an expected call of ExecuteStream.

type MockWorkerRuntime added in v0.1.1

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

MockWorkerRuntime is a mock of WorkerRuntime interface.

func NewMockWorkerRuntime added in v0.1.1

func NewMockWorkerRuntime(ctrl *gomock.Controller) *MockWorkerRuntime

NewMockWorkerRuntime creates a new mock instance.

func (*MockWorkerRuntime) Approve added in v0.1.1

func (m *MockWorkerRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error

Approve mocks base method.

func (*MockWorkerRuntime) Close added in v0.1.1

func (m *MockWorkerRuntime) Close()

Close mocks base method.

func (*MockWorkerRuntime) EXPECT added in v0.1.1

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

func (*MockWorkerRuntime) Execute added in v0.1.1

Execute mocks base method.

func (*MockWorkerRuntime) ExecuteStream added in v0.1.1

func (m *MockWorkerRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)

ExecuteStream mocks base method.

func (*MockWorkerRuntime) Start added in v0.1.1

func (m *MockWorkerRuntime) Start(arg0 context.Context) error

Start mocks base method.

func (*MockWorkerRuntime) Stop added in v0.1.1

func (m *MockWorkerRuntime) Stop()

Stop mocks base method.

type MockWorkerRuntimeMockRecorder added in v0.1.1

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

MockWorkerRuntimeMockRecorder is the mock recorder for MockWorkerRuntime.

func (*MockWorkerRuntimeMockRecorder) Approve added in v0.1.1

func (mr *MockWorkerRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call

Approve indicates an expected call of Approve.

func (*MockWorkerRuntimeMockRecorder) Close added in v0.1.1

Close indicates an expected call of Close.

func (*MockWorkerRuntimeMockRecorder) Execute added in v0.1.1

func (mr *MockWorkerRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockWorkerRuntimeMockRecorder) ExecuteStream added in v0.1.1

func (mr *MockWorkerRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call

ExecuteStream indicates an expected call of ExecuteStream.

func (*MockWorkerRuntimeMockRecorder) Start added in v0.1.1

func (mr *MockWorkerRuntimeMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockWorkerRuntimeMockRecorder) Stop added in v0.1.1

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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