mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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.

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 MockAgentToolApprovalPolicy

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

MockAgentToolApprovalPolicy is a mock of AgentToolApprovalPolicy interface.

func NewMockAgentToolApprovalPolicy

func NewMockAgentToolApprovalPolicy(ctrl *gomock.Controller) *MockAgentToolApprovalPolicy

NewMockAgentToolApprovalPolicy creates a new mock instance.

func (*MockAgentToolApprovalPolicy) EXPECT

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

func (*MockAgentToolApprovalPolicy) RequiresApproval

func (m *MockAgentToolApprovalPolicy) RequiresApproval(arg0 interfaces.Tool) bool

RequiresApproval mocks base method.

type MockAgentToolApprovalPolicyMockRecorder

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

MockAgentToolApprovalPolicyMockRecorder is the mock recorder for MockAgentToolApprovalPolicy.

func (*MockAgentToolApprovalPolicyMockRecorder) RequiresApproval

func (mr *MockAgentToolApprovalPolicyMockRecorder) RequiresApproval(arg0 interface{}) *gomock.Call

RequiresApproval indicates an expected call of RequiresApproval.

type MockConversation

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

MockConversation is a mock of Conversation interface.

func NewMockConversation

func NewMockConversation(ctrl *gomock.Controller) *MockConversation

NewMockConversation creates a new mock instance.

func (*MockConversation) AddMessage

func (m *MockConversation) AddMessage(arg0 context.Context, arg1 string, arg2 interfaces.Message) error

AddMessage mocks base method.

func (*MockConversation) Clear

func (m *MockConversation) Clear(arg0 context.Context, arg1 string) error

Clear mocks base method.

func (*MockConversation) EXPECT

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

func (*MockConversation) IsDistributed

func (m *MockConversation) IsDistributed() bool

IsDistributed mocks base method.

func (*MockConversation) ListMessages

func (m *MockConversation) ListMessages(arg0 context.Context, arg1 string, arg2 ...interfaces.ListMessagesOption) ([]interfaces.Message, error)

ListMessages mocks base method.

type MockConversationMockRecorder

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

MockConversationMockRecorder is the mock recorder for MockConversation.

func (*MockConversationMockRecorder) AddMessage

func (mr *MockConversationMockRecorder) AddMessage(arg0, arg1, arg2 interface{}) *gomock.Call

AddMessage indicates an expected call of AddMessage.

func (*MockConversationMockRecorder) Clear

func (mr *MockConversationMockRecorder) Clear(arg0, arg1 interface{}) *gomock.Call

Clear indicates an expected call of Clear.

func (*MockConversationMockRecorder) IsDistributed

func (mr *MockConversationMockRecorder) IsDistributed() *gomock.Call

IsDistributed indicates an expected call of IsDistributed.

func (*MockConversationMockRecorder) ListMessages

func (mr *MockConversationMockRecorder) ListMessages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListMessages indicates an expected call of ListMessages.

type MockLLMClient

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

MockLLMClient is a mock of LLMClient interface.

func NewMockLLMClient

func NewMockLLMClient(ctrl *gomock.Controller) *MockLLMClient

NewMockLLMClient creates a new mock instance.

func (*MockLLMClient) EXPECT

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

func (*MockLLMClient) Generate

Generate mocks base method.

func (*MockLLMClient) GenerateStream

func (m *MockLLMClient) GenerateStream(arg0 context.Context, arg1 *interfaces.LLMRequest) (interfaces.LLMStream, error)

GenerateStream mocks base method.

func (*MockLLMClient) GetModel

func (m *MockLLMClient) GetModel() string

GetModel mocks base method.

func (*MockLLMClient) GetProvider

func (m *MockLLMClient) GetProvider() interfaces.LLMProvider

GetProvider mocks base method.

func (*MockLLMClient) IsStreamSupported

func (m *MockLLMClient) IsStreamSupported() bool

IsStreamSupported mocks base method.

type MockLLMClientMockRecorder

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

MockLLMClientMockRecorder is the mock recorder for MockLLMClient.

func (*MockLLMClientMockRecorder) Generate

func (mr *MockLLMClientMockRecorder) Generate(arg0, arg1 interface{}) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockLLMClientMockRecorder) GenerateStream

func (mr *MockLLMClientMockRecorder) GenerateStream(arg0, arg1 interface{}) *gomock.Call

GenerateStream indicates an expected call of GenerateStream.

func (*MockLLMClientMockRecorder) GetModel

func (mr *MockLLMClientMockRecorder) GetModel() *gomock.Call

GetModel indicates an expected call of GetModel.

func (*MockLLMClientMockRecorder) GetProvider

func (mr *MockLLMClientMockRecorder) GetProvider() *gomock.Call

GetProvider indicates an expected call of GetProvider.

func (*MockLLMClientMockRecorder) IsStreamSupported

func (mr *MockLLMClientMockRecorder) IsStreamSupported() *gomock.Call

IsStreamSupported indicates an expected call of IsStreamSupported.

type MockMCPClient added in v0.1.2

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

MockMCPClient is a mock of MCPClient interface.

func NewMockMCPClient added in v0.1.2

func NewMockMCPClient(ctrl *gomock.Controller) *MockMCPClient

NewMockMCPClient creates a new mock instance.

func (*MockMCPClient) CallTool added in v0.1.2

func (m *MockMCPClient) CallTool(arg0 context.Context, arg1 string, arg2 json.RawMessage) (json.RawMessage, error)

CallTool mocks base method.

func (*MockMCPClient) Close added in v0.1.2

func (m *MockMCPClient) Close() error

Close mocks base method.

func (*MockMCPClient) EXPECT added in v0.1.2

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

func (*MockMCPClient) ListTools added in v0.1.2

func (m *MockMCPClient) ListTools(arg0 context.Context) ([]types.ToolSpec, error)

ListTools mocks base method.

func (*MockMCPClient) Name added in v0.1.2

func (m *MockMCPClient) Name() string

Name mocks base method.

func (*MockMCPClient) Ping added in v0.1.2

func (m *MockMCPClient) Ping(arg0 context.Context) error

Ping mocks base method.

type MockMCPClientMockRecorder added in v0.1.2

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

MockMCPClientMockRecorder is the mock recorder for MockMCPClient.

func (*MockMCPClientMockRecorder) CallTool added in v0.1.2

func (mr *MockMCPClientMockRecorder) CallTool(arg0, arg1, arg2 interface{}) *gomock.Call

CallTool indicates an expected call of CallTool.

func (*MockMCPClientMockRecorder) Close added in v0.1.2

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

Close indicates an expected call of Close.

func (*MockMCPClientMockRecorder) ListTools added in v0.1.2

func (mr *MockMCPClientMockRecorder) ListTools(arg0 interface{}) *gomock.Call

ListTools indicates an expected call of ListTools.

func (*MockMCPClientMockRecorder) Name added in v0.1.2

Name indicates an expected call of Name.

func (*MockMCPClientMockRecorder) Ping added in v0.1.2

func (mr *MockMCPClientMockRecorder) Ping(arg0 interface{}) *gomock.Call

Ping indicates an expected call of Ping.

type MockTool

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

MockTool is a mock of Tool interface.

func NewMockTool

func NewMockTool(ctrl *gomock.Controller) *MockTool

NewMockTool creates a new mock instance.

func (*MockTool) Description

func (m *MockTool) Description() string

Description mocks base method.

func (*MockTool) EXPECT

func (m *MockTool) EXPECT() *MockToolMockRecorder

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

func (*MockTool) Execute

func (m *MockTool) Execute(arg0 context.Context, arg1 map[string]interface{}) (interface{}, error)

Execute mocks base method.

func (*MockTool) Name

func (m *MockTool) Name() string

Name mocks base method.

func (*MockTool) Parameters

func (m *MockTool) Parameters() types.JSONSchema

Parameters mocks base method.

type MockToolApproval added in v0.1.3

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

MockToolApproval is a mock of ToolApproval interface.

func NewMockToolApproval added in v0.1.3

func NewMockToolApproval(ctrl *gomock.Controller) *MockToolApproval

NewMockToolApproval creates a new mock instance.

func (*MockToolApproval) ApprovalRequired added in v0.1.3

func (m *MockToolApproval) ApprovalRequired() bool

ApprovalRequired mocks base method.

func (*MockToolApproval) EXPECT added in v0.1.3

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

type MockToolApprovalMockRecorder added in v0.1.3

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

MockToolApprovalMockRecorder is the mock recorder for MockToolApproval.

func (*MockToolApprovalMockRecorder) ApprovalRequired added in v0.1.3

func (mr *MockToolApprovalMockRecorder) ApprovalRequired() *gomock.Call

ApprovalRequired indicates an expected call of ApprovalRequired.

type MockToolAuthorizer added in v0.1.3

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

MockToolAuthorizer is a mock of ToolAuthorizer interface.

func NewMockToolAuthorizer added in v0.1.3

func NewMockToolAuthorizer(ctrl *gomock.Controller) *MockToolAuthorizer

NewMockToolAuthorizer creates a new mock instance.

func (*MockToolAuthorizer) Authorize added in v0.1.3

func (m *MockToolAuthorizer) Authorize(arg0 context.Context, arg1 map[string]interface{}) (interfaces.ToolAuthorizationDecision, error)

Authorize mocks base method.

func (*MockToolAuthorizer) EXPECT added in v0.1.3

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

type MockToolAuthorizerMockRecorder added in v0.1.3

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

MockToolAuthorizerMockRecorder is the mock recorder for MockToolAuthorizer.

func (*MockToolAuthorizerMockRecorder) Authorize added in v0.1.3

func (mr *MockToolAuthorizerMockRecorder) Authorize(arg0, arg1 interface{}) *gomock.Call

Authorize indicates an expected call of Authorize.

type MockToolMockRecorder

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

MockToolMockRecorder is the mock recorder for MockTool.

func (*MockToolMockRecorder) Description

func (mr *MockToolMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockToolMockRecorder) Execute

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

Execute indicates an expected call of Execute.

func (*MockToolMockRecorder) Name

func (mr *MockToolMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockToolMockRecorder) Parameters

func (mr *MockToolMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

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, bool)

Get mocks base method.

func (*MockToolRegistry) Register

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

Register mocks base method.

func (*MockToolRegistry) Tools

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

Tools 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) Register

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

Register indicates an expected call of Register.

func (*MockToolRegistryMockRecorder) Tools

Tools indicates an expected call of Tools.

Jump to

Keyboard shortcuts

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