toolsfakes

package
v0.1.8-rc.22 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCallableTool

type FakeCallableTool struct {
	CallStub func(context.Context, []byte) (any, error)

	DeclarationStub func() *tool.Declaration
	// contains filtered or unexported fields
}

func (*FakeCallableTool) Call

func (fake *FakeCallableTool) Call(arg1 context.Context, arg2 []byte) (any, error)

func (*FakeCallableTool) CallArgsForCall

func (fake *FakeCallableTool) CallArgsForCall(i int) (context.Context, []byte)

func (*FakeCallableTool) CallCallCount

func (fake *FakeCallableTool) CallCallCount() int

func (*FakeCallableTool) CallCalls

func (fake *FakeCallableTool) CallCalls(stub func(context.Context, []byte) (any, error))

func (*FakeCallableTool) CallReturns

func (fake *FakeCallableTool) CallReturns(result1 any, result2 error)

func (*FakeCallableTool) CallReturnsOnCall

func (fake *FakeCallableTool) CallReturnsOnCall(i int, result1 any, result2 error)

func (*FakeCallableTool) Declaration

func (fake *FakeCallableTool) Declaration() *tool.Declaration

func (*FakeCallableTool) DeclarationCallCount

func (fake *FakeCallableTool) DeclarationCallCount() int

func (*FakeCallableTool) DeclarationCalls

func (fake *FakeCallableTool) DeclarationCalls(stub func() *tool.Declaration)

func (*FakeCallableTool) DeclarationReturns

func (fake *FakeCallableTool) DeclarationReturns(result1 *tool.Declaration)

func (*FakeCallableTool) DeclarationReturnsOnCall

func (fake *FakeCallableTool) DeclarationReturnsOnCall(i int, result1 *tool.Declaration)

func (*FakeCallableTool) Invocations

func (fake *FakeCallableTool) Invocations() map[string][][]interface{}

type FakeSmartToolProvider

type FakeSmartToolProvider struct {
	GetSearchToolStub func() tool.Tool

	RecordToolUsageStub func(context.Context, []string)

	SearchToolsWithContextStub func(context.Context, string, []string, int) (tools.ToolSearchResults, error)
	// contains filtered or unexported fields
}

func (*FakeSmartToolProvider) GetSearchTool

func (fake *FakeSmartToolProvider) GetSearchTool() tool.Tool

func (*FakeSmartToolProvider) GetSearchToolCallCount

func (fake *FakeSmartToolProvider) GetSearchToolCallCount() int

func (*FakeSmartToolProvider) GetSearchToolCalls

func (fake *FakeSmartToolProvider) GetSearchToolCalls(stub func() tool.Tool)

func (*FakeSmartToolProvider) GetSearchToolReturns

func (fake *FakeSmartToolProvider) GetSearchToolReturns(result1 tool.Tool)

func (*FakeSmartToolProvider) GetSearchToolReturnsOnCall

func (fake *FakeSmartToolProvider) GetSearchToolReturnsOnCall(i int, result1 tool.Tool)

func (*FakeSmartToolProvider) Invocations

func (fake *FakeSmartToolProvider) Invocations() map[string][][]interface{}

func (*FakeSmartToolProvider) RecordToolUsage

func (fake *FakeSmartToolProvider) RecordToolUsage(arg1 context.Context, arg2 []string)

func (*FakeSmartToolProvider) RecordToolUsageArgsForCall

func (fake *FakeSmartToolProvider) RecordToolUsageArgsForCall(i int) (context.Context, []string)

func (*FakeSmartToolProvider) RecordToolUsageCallCount

func (fake *FakeSmartToolProvider) RecordToolUsageCallCount() int

func (*FakeSmartToolProvider) RecordToolUsageCalls

func (fake *FakeSmartToolProvider) RecordToolUsageCalls(stub func(context.Context, []string))

func (*FakeSmartToolProvider) SearchToolsWithContext

func (fake *FakeSmartToolProvider) SearchToolsWithContext(arg1 context.Context, arg2 string, arg3 []string, arg4 int) (tools.ToolSearchResults, error)

func (*FakeSmartToolProvider) SearchToolsWithContextArgsForCall

func (fake *FakeSmartToolProvider) SearchToolsWithContextArgsForCall(i int) (context.Context, string, []string, int)

func (*FakeSmartToolProvider) SearchToolsWithContextCallCount

func (fake *FakeSmartToolProvider) SearchToolsWithContextCallCount() int

func (*FakeSmartToolProvider) SearchToolsWithContextCalls

func (fake *FakeSmartToolProvider) SearchToolsWithContextCalls(stub func(context.Context, string, []string, int) (tools.ToolSearchResults, error))

func (*FakeSmartToolProvider) SearchToolsWithContextReturns

func (fake *FakeSmartToolProvider) SearchToolsWithContextReturns(result1 tools.ToolSearchResults, result2 error)

func (*FakeSmartToolProvider) SearchToolsWithContextReturnsOnCall

func (fake *FakeSmartToolProvider) SearchToolsWithContextReturnsOnCall(i int, result1 tools.ToolSearchResults, result2 error)

Jump to

Keyboard shortcuts

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