mocks

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: Apache-2.0 Imports: 7 Imported by: ? 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.

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 MockA2ARegistry

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

MockA2ARegistry is a mock of A2ARegistry interface.

func NewMockA2ARegistry

func NewMockA2ARegistry(ctrl *gomock.Controller) *MockA2ARegistry

NewMockA2ARegistry creates a new mock instance.

func (*MockA2ARegistry) EXPECT

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

func (*MockA2ARegistry) Get

Get mocks base method.

func (*MockA2ARegistry) List

func (m *MockA2ARegistry) List() []interfaces.A2AClient

List mocks base method.

func (*MockA2ARegistry) Register

func (m *MockA2ARegistry) Register(arg0 string, arg1 agent.A2AConfig) error

Register mocks base method.

func (*MockA2ARegistry) RegisterClient

func (m *MockA2ARegistry) RegisterClient(arg0 interfaces.A2AClient) error

RegisterClient mocks base method.

func (*MockA2ARegistry) Unregister

func (m *MockA2ARegistry) Unregister(arg0 string) error

Unregister mocks base method.

type MockA2ARegistryMockRecorder

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

MockA2ARegistryMockRecorder is the mock recorder for MockA2ARegistry.

func (*MockA2ARegistryMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockA2ARegistryMockRecorder) List

List indicates an expected call of List.

func (*MockA2ARegistryMockRecorder) Register

func (mr *MockA2ARegistryMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockA2ARegistryMockRecorder) RegisterClient

func (mr *MockA2ARegistryMockRecorder) RegisterClient(arg0 interface{}) *gomock.Call

RegisterClient indicates an expected call of RegisterClient.

func (*MockA2ARegistryMockRecorder) Unregister

func (mr *MockA2ARegistryMockRecorder) Unregister(arg0 interface{}) *gomock.Call

Unregister indicates an expected call of Unregister.

type MockAgentEvent added in v0.3.0

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

MockAgentEvent is a mock of AgentEvent interface.

func NewMockAgentEvent added in v0.3.0

func NewMockAgentEvent(ctrl *gomock.Controller) *MockAgentEvent

NewMockAgentEvent creates a new mock instance.

func (*MockAgentEvent) EXPECT added in v0.3.0

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

func (*MockAgentEvent) Timestamp added in v0.3.0

func (m *MockAgentEvent) Timestamp() *int64

Timestamp mocks base method.

func (*MockAgentEvent) ToJSON added in v0.3.0

func (m *MockAgentEvent) ToJSON() ([]byte, error)

ToJSON mocks base method.

func (*MockAgentEvent) Type added in v0.3.0

Type mocks base method.

type MockAgentEventMockRecorder added in v0.3.0

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

MockAgentEventMockRecorder is the mock recorder for MockAgentEvent.

func (*MockAgentEventMockRecorder) Timestamp added in v0.3.0

func (mr *MockAgentEventMockRecorder) Timestamp() *gomock.Call

Timestamp indicates an expected call of Timestamp.

func (*MockAgentEventMockRecorder) ToJSON added in v0.3.0

func (mr *MockAgentEventMockRecorder) ToJSON() *gomock.Call

ToJSON indicates an expected call of ToJSON.

func (*MockAgentEventMockRecorder) Type added in v0.3.0

Type indicates an expected call of Type.

type MockAgentRun added in v0.3.0

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

MockAgentRun is a mock of AgentRun interface.

func NewMockAgentRun added in v0.3.0

func NewMockAgentRun(ctrl *gomock.Controller) *MockAgentRun

NewMockAgentRun creates a new mock instance.

func (*MockAgentRun) Cancel added in v0.3.0

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

Cancel mocks base method.

func (*MockAgentRun) Done added in v0.3.0

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

Done mocks base method.

func (*MockAgentRun) EXPECT added in v0.3.0

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

func (*MockAgentRun) Get added in v0.3.0

Get mocks base method.

func (*MockAgentRun) ID added in v0.3.0

func (m *MockAgentRun) ID() string

ID mocks base method.

func (*MockAgentRun) Status added in v0.3.0

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

Status mocks base method.

type MockAgentRunMockRecorder added in v0.3.0

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

MockAgentRunMockRecorder is the mock recorder for MockAgentRun.

func (*MockAgentRunMockRecorder) Cancel added in v0.3.0

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

Cancel indicates an expected call of Cancel.

func (*MockAgentRunMockRecorder) Done added in v0.3.0

func (mr *MockAgentRunMockRecorder) Done() *gomock.Call

Done indicates an expected call of Done.

func (*MockAgentRunMockRecorder) Get added in v0.3.0

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

Get indicates an expected call of Get.

func (*MockAgentRunMockRecorder) ID added in v0.3.0

ID indicates an expected call of ID.

func (*MockAgentRunMockRecorder) Status added in v0.3.0

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

Status indicates an expected call of Status.

type MockAgentStream added in v0.3.0

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

MockAgentStream is a mock of AgentStream interface.

func NewMockAgentStream added in v0.3.0

func NewMockAgentStream(ctrl *gomock.Controller) *MockAgentStream

NewMockAgentStream creates a new mock instance.

func (*MockAgentStream) Approve added in v0.3.1

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

Approve mocks base method.

func (*MockAgentStream) Cancel added in v0.3.0

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

Cancel mocks base method.

func (*MockAgentStream) Done added in v0.3.0

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

Done mocks base method.

func (*MockAgentStream) EXPECT added in v0.3.0

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

func (*MockAgentStream) Events added in v0.3.0

func (m *MockAgentStream) Events(arg0 context.Context, arg1 ...agent.AgentStreamOption) (<-chan events.AgentEvent, error)

Events mocks base method.

func (*MockAgentStream) Get added in v0.3.0

Get mocks base method.

func (*MockAgentStream) ID added in v0.3.0

func (m *MockAgentStream) ID() string

ID mocks base method.

func (*MockAgentStream) Status added in v0.3.0

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

Status mocks base method.

type MockAgentStreamMockRecorder added in v0.3.0

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

MockAgentStreamMockRecorder is the mock recorder for MockAgentStream.

func (*MockAgentStreamMockRecorder) Approve added in v0.3.1

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

Approve indicates an expected call of Approve.

func (*MockAgentStreamMockRecorder) Cancel added in v0.3.0

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

Cancel indicates an expected call of Cancel.

func (*MockAgentStreamMockRecorder) Done added in v0.3.0

Done indicates an expected call of Done.

func (*MockAgentStreamMockRecorder) Events added in v0.3.0

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

Events indicates an expected call of Events.

func (*MockAgentStreamMockRecorder) Get added in v0.3.0

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

Get indicates an expected call of Get.

func (*MockAgentStreamMockRecorder) ID added in v0.3.0

ID indicates an expected call of ID.

func (*MockAgentStreamMockRecorder) Status added in v0.3.0

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

Status indicates an expected call of Status.

type MockMCPRegistry

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

MockMCPRegistry is a mock of MCPRegistry interface.

func NewMockMCPRegistry

func NewMockMCPRegistry(ctrl *gomock.Controller) *MockMCPRegistry

NewMockMCPRegistry creates a new mock instance.

func (*MockMCPRegistry) EXPECT

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

func (*MockMCPRegistry) Get

Get mocks base method.

func (*MockMCPRegistry) List

func (m *MockMCPRegistry) List() []interfaces.MCPClient

List mocks base method.

func (*MockMCPRegistry) Register

func (m *MockMCPRegistry) Register(arg0 string, arg1 agent.MCPConfig) error

Register mocks base method.

func (*MockMCPRegistry) RegisterClient

func (m *MockMCPRegistry) RegisterClient(arg0 interfaces.MCPClient) error

RegisterClient mocks base method.

func (*MockMCPRegistry) Unregister

func (m *MockMCPRegistry) Unregister(arg0 string) error

Unregister mocks base method.

type MockMCPRegistryMockRecorder

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

MockMCPRegistryMockRecorder is the mock recorder for MockMCPRegistry.

func (*MockMCPRegistryMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockMCPRegistryMockRecorder) List

List indicates an expected call of List.

func (*MockMCPRegistryMockRecorder) Register

func (mr *MockMCPRegistryMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockMCPRegistryMockRecorder) RegisterClient

func (mr *MockMCPRegistryMockRecorder) RegisterClient(arg0 interface{}) *gomock.Call

RegisterClient indicates an expected call of RegisterClient.

func (*MockMCPRegistryMockRecorder) Unregister

func (mr *MockMCPRegistryMockRecorder) Unregister(arg0 interface{}) *gomock.Call

Unregister indicates an expected call of Unregister.

type MockSubAgentRegistry

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

MockSubAgentRegistry is a mock of SubAgentRegistry interface.

func NewMockSubAgentRegistry

func NewMockSubAgentRegistry(ctrl *gomock.Controller) *MockSubAgentRegistry

NewMockSubAgentRegistry creates a new mock instance.

func (*MockSubAgentRegistry) EXPECT

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

func (*MockSubAgentRegistry) Get

func (m *MockSubAgentRegistry) Get(arg0 string) (*agent.Agent, error)

Get mocks base method.

func (*MockSubAgentRegistry) List

func (m *MockSubAgentRegistry) List() []*agent.Agent

List mocks base method.

func (*MockSubAgentRegistry) Register

func (m *MockSubAgentRegistry) Register(arg0 *agent.Agent) error

Register mocks base method.

func (*MockSubAgentRegistry) Unregister

func (m *MockSubAgentRegistry) Unregister(arg0 string) error

Unregister mocks base method.

type MockSubAgentRegistryMockRecorder

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

MockSubAgentRegistryMockRecorder is the mock recorder for MockSubAgentRegistry.

func (*MockSubAgentRegistryMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockSubAgentRegistryMockRecorder) List

List indicates an expected call of List.

func (*MockSubAgentRegistryMockRecorder) Register

func (mr *MockSubAgentRegistryMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockSubAgentRegistryMockRecorder) Unregister

func (mr *MockSubAgentRegistryMockRecorder) Unregister(arg0 interface{}) *gomock.Call

Unregister indicates an expected call of Unregister.

type MockToolRegistry

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

MockToolRegistry is a mock of ToolRegistry interface.

func NewMockToolRegistry

func NewMockToolRegistry(ctrl *gomock.Controller) *MockToolRegistry

NewMockToolRegistry creates a new mock instance.

func (*MockToolRegistry) EXPECT

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

func (*MockToolRegistry) Get

func (m *MockToolRegistry) Get(arg0 string) (interfaces.Tool, error)

Get mocks base method.

func (*MockToolRegistry) List

func (m *MockToolRegistry) List() []interfaces.Tool

List mocks base method.

func (*MockToolRegistry) Register

func (m *MockToolRegistry) Register(arg0 interfaces.Tool) error

Register mocks base method.

func (*MockToolRegistry) Unregister

func (m *MockToolRegistry) Unregister(arg0 string) error

Unregister mocks base method.

type MockToolRegistryMockRecorder

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

MockToolRegistryMockRecorder is the mock recorder for MockToolRegistry.

func (*MockToolRegistryMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockToolRegistryMockRecorder) List

List indicates an expected call of List.

func (*MockToolRegistryMockRecorder) Register

func (mr *MockToolRegistryMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockToolRegistryMockRecorder) Unregister

func (mr *MockToolRegistryMockRecorder) Unregister(arg0 interface{}) *gomock.Call

Unregister indicates an expected call of Unregister.

Jump to

Keyboard shortcuts

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