mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 4 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.

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 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() interfaces.JSONSchema

Parameters mocks base method.

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