mocks

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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 MockRunHandle added in v0.3.0

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

MockRunHandle is a mock of RunHandle interface.

func NewMockRunHandle added in v0.3.0

func NewMockRunHandle(ctrl *gomock.Controller) *MockRunHandle

NewMockRunHandle creates a new mock instance.

func (*MockRunHandle) Cancel added in v0.3.0

func (m *MockRunHandle) Cancel(arg0 context.Context) error

Cancel mocks base method.

func (*MockRunHandle) Done added in v0.3.0

func (m *MockRunHandle) Done() <-chan struct{}

Done mocks base method.

func (*MockRunHandle) EXPECT added in v0.3.0

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

func (*MockRunHandle) Get added in v0.3.0

Get mocks base method.

func (*MockRunHandle) ID added in v0.3.0

func (m *MockRunHandle) ID() string

ID mocks base method.

func (*MockRunHandle) Status added in v0.3.0

func (m *MockRunHandle) Status(arg0 context.Context) (types.RunStatus, error)

Status mocks base method.

type MockRunHandleMockRecorder added in v0.3.0

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

MockRunHandleMockRecorder is the mock recorder for MockRunHandle.

func (*MockRunHandleMockRecorder) Cancel added in v0.3.0

func (mr *MockRunHandleMockRecorder) Cancel(arg0 interface{}) *gomock.Call

Cancel indicates an expected call of Cancel.

func (*MockRunHandleMockRecorder) Done added in v0.3.0

Done indicates an expected call of Done.

func (*MockRunHandleMockRecorder) Get added in v0.3.0

func (mr *MockRunHandleMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRunHandleMockRecorder) ID added in v0.3.0

ID indicates an expected call of ID.

func (*MockRunHandleMockRecorder) Status added in v0.3.0

func (mr *MockRunHandleMockRecorder) Status(arg0 interface{}) *gomock.Call

Status indicates an expected call of Status.

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) 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) GetRunHandle added in v0.3.0

func (m *MockRuntime) GetRunHandle(arg0 context.Context, arg1 string) (runtime.RunHandle, error)

GetRunHandle mocks base method.

func (*MockRuntime) GetStreamHandle added in v0.3.0

func (m *MockRuntime) GetStreamHandle(arg0 context.Context, arg1 string) (runtime.StreamHandle, error)

GetStreamHandle mocks base method.

func (*MockRuntime) OnApproval added in v0.3.1

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

OnApproval mocks base method.

func (*MockRuntime) Run added in v0.3.0

Run mocks base method.

func (*MockRuntime) Stream added in v0.3.0

Stream mocks base method.

type MockRuntimeMockRecorder

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

MockRuntimeMockRecorder is the mock recorder for MockRuntime.

func (*MockRuntimeMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockRuntimeMockRecorder) GetRunHandle added in v0.3.0

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

GetRunHandle indicates an expected call of GetRunHandle.

func (*MockRuntimeMockRecorder) GetStreamHandle added in v0.3.0

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

GetStreamHandle indicates an expected call of GetStreamHandle.

func (*MockRuntimeMockRecorder) OnApproval added in v0.3.1

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

OnApproval indicates an expected call of OnApproval.

func (*MockRuntimeMockRecorder) Run added in v0.3.0

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

Run indicates an expected call of Run.

func (*MockRuntimeMockRecorder) Stream added in v0.3.0

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

Stream indicates an expected call of Stream.

type MockStreamHandle added in v0.3.0

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

MockStreamHandle is a mock of StreamHandle interface.

func NewMockStreamHandle added in v0.3.0

func NewMockStreamHandle(ctrl *gomock.Controller) *MockStreamHandle

NewMockStreamHandle creates a new mock instance.

func (*MockStreamHandle) Approve added in v0.3.1

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

Approve mocks base method.

func (*MockStreamHandle) Cancel added in v0.3.0

func (m *MockStreamHandle) Cancel(arg0 context.Context) error

Cancel mocks base method.

func (*MockStreamHandle) Done added in v0.3.0

func (m *MockStreamHandle) Done() <-chan struct{}

Done mocks base method.

func (*MockStreamHandle) EXPECT added in v0.3.0

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

func (*MockStreamHandle) Events added in v0.3.0

func (m *MockStreamHandle) Events(arg0 context.Context, arg1 int64) (<-chan events.AgentEvent, error)

Events mocks base method.

func (*MockStreamHandle) Get added in v0.3.0

Get mocks base method.

func (*MockStreamHandle) ID added in v0.3.0

func (m *MockStreamHandle) ID() string

ID mocks base method.

func (*MockStreamHandle) Status added in v0.3.0

func (m *MockStreamHandle) Status(arg0 context.Context) (types.RunStatus, error)

Status mocks base method.

type MockStreamHandleMockRecorder added in v0.3.0

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

MockStreamHandleMockRecorder is the mock recorder for MockStreamHandle.

func (*MockStreamHandleMockRecorder) Approve added in v0.3.1

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

Approve indicates an expected call of Approve.

func (*MockStreamHandleMockRecorder) Cancel added in v0.3.0

func (mr *MockStreamHandleMockRecorder) Cancel(arg0 interface{}) *gomock.Call

Cancel indicates an expected call of Cancel.

func (*MockStreamHandleMockRecorder) Done added in v0.3.0

Done indicates an expected call of Done.

func (*MockStreamHandleMockRecorder) Events added in v0.3.0

func (mr *MockStreamHandleMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call

Events indicates an expected call of Events.

func (*MockStreamHandleMockRecorder) Get added in v0.3.0

func (mr *MockStreamHandleMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStreamHandleMockRecorder) ID added in v0.3.0

ID indicates an expected call of ID.

func (*MockStreamHandleMockRecorder) Status added in v0.3.0

func (mr *MockStreamHandleMockRecorder) Status(arg0 interface{}) *gomock.Call

Status indicates an expected call of Status.

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) 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) GetRunHandle added in v0.3.0

func (m *MockWorkerRuntime) GetRunHandle(arg0 context.Context, arg1 string) (runtime.RunHandle, error)

GetRunHandle mocks base method.

func (*MockWorkerRuntime) GetStreamHandle added in v0.3.0

func (m *MockWorkerRuntime) GetStreamHandle(arg0 context.Context, arg1 string) (runtime.StreamHandle, error)

GetStreamHandle mocks base method.

func (*MockWorkerRuntime) OnApproval added in v0.3.1

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

OnApproval mocks base method.

func (*MockWorkerRuntime) Run added in v0.3.0

Run 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.

func (*MockWorkerRuntime) Stream added in v0.3.0

Stream 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) Close added in v0.1.1

Close indicates an expected call of Close.

func (*MockWorkerRuntimeMockRecorder) GetRunHandle added in v0.3.0

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

GetRunHandle indicates an expected call of GetRunHandle.

func (*MockWorkerRuntimeMockRecorder) GetStreamHandle added in v0.3.0

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

GetStreamHandle indicates an expected call of GetStreamHandle.

func (*MockWorkerRuntimeMockRecorder) OnApproval added in v0.3.1

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

OnApproval indicates an expected call of OnApproval.

func (*MockWorkerRuntimeMockRecorder) Run added in v0.3.0

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

Run indicates an expected call of Run.

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.

func (*MockWorkerRuntimeMockRecorder) Stream added in v0.3.0

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

Stream indicates an expected call of Stream.

Jump to

Keyboard shortcuts

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