mocks

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandlerFactory

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

MockHandlerFactory is a mock of HandlerFactory interface.

func NewMockHandlerFactory

func NewMockHandlerFactory(ctrl *gomock.Controller) *MockHandlerFactory

NewMockHandlerFactory creates a new mock instance.

func (*MockHandlerFactory) CreateCompositeToolHandler added in v0.6.6

func (m *MockHandlerFactory) CreateCompositeToolHandler(toolName string, workflow adapter.WorkflowExecutor) func(context.Context, mcp.CallToolRequest) (*mcp.CallToolResult, error)

CreateCompositeToolHandler mocks base method.

func (*MockHandlerFactory) CreatePromptHandler

func (m *MockHandlerFactory) CreatePromptHandler(promptName string) func(context.Context, mcp.GetPromptRequest) (*mcp.GetPromptResult, error)

CreatePromptHandler mocks base method.

func (*MockHandlerFactory) CreateResourceHandler

func (m *MockHandlerFactory) CreateResourceHandler(uri string) func(context.Context, mcp.ReadResourceRequest) ([]mcp.ResourceContents, error)

CreateResourceHandler mocks base method.

func (*MockHandlerFactory) CreateToolHandler

func (m *MockHandlerFactory) CreateToolHandler(toolName string) func(context.Context, mcp.CallToolRequest) (*mcp.CallToolResult, error)

CreateToolHandler mocks base method.

func (*MockHandlerFactory) EXPECT

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

type MockHandlerFactoryMockRecorder

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

MockHandlerFactoryMockRecorder is the mock recorder for MockHandlerFactory.

func (*MockHandlerFactoryMockRecorder) CreateCompositeToolHandler added in v0.6.6

func (mr *MockHandlerFactoryMockRecorder) CreateCompositeToolHandler(toolName, workflow any) *gomock.Call

CreateCompositeToolHandler indicates an expected call of CreateCompositeToolHandler.

func (*MockHandlerFactoryMockRecorder) CreatePromptHandler

func (mr *MockHandlerFactoryMockRecorder) CreatePromptHandler(promptName any) *gomock.Call

CreatePromptHandler indicates an expected call of CreatePromptHandler.

func (*MockHandlerFactoryMockRecorder) CreateResourceHandler

func (mr *MockHandlerFactoryMockRecorder) CreateResourceHandler(uri any) *gomock.Call

CreateResourceHandler indicates an expected call of CreateResourceHandler.

func (*MockHandlerFactoryMockRecorder) CreateToolHandler

func (mr *MockHandlerFactoryMockRecorder) CreateToolHandler(toolName any) *gomock.Call

CreateToolHandler indicates an expected call of CreateToolHandler.

Jump to

Keyboard shortcuts

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