Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockBackendClient

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

MockBackendClient is a mock of BackendClient interface.

func NewMockBackendClient

func NewMockBackendClient(ctrl *gomock.Controller) *MockBackendClient

NewMockBackendClient creates a new mock instance.

func (*MockBackendClient) CallTool

func (m *MockBackendClient) CallTool(ctx context.Context, target *vmcp.BackendTarget, toolName string, arguments map[string]any) (map[string]any, error)

CallTool mocks base method.

func (*MockBackendClient) EXPECT

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

func (*MockBackendClient) GetPrompt

func (m *MockBackendClient) GetPrompt(ctx context.Context, target *vmcp.BackendTarget, name string, arguments map[string]any) (string, error)

GetPrompt mocks base method.

func (*MockBackendClient) ListCapabilities

func (m *MockBackendClient) ListCapabilities(ctx context.Context, target *vmcp.BackendTarget) (*vmcp.CapabilityList, error)

ListCapabilities mocks base method.

func (*MockBackendClient) ReadResource

func (m *MockBackendClient) ReadResource(ctx context.Context, target *vmcp.BackendTarget, uri string) ([]byte, error)

ReadResource mocks base method.

type MockBackendClientMockRecorder

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

MockBackendClientMockRecorder is the mock recorder for MockBackendClient.

func (*MockBackendClientMockRecorder) CallTool

func (mr *MockBackendClientMockRecorder) CallTool(ctx, target, toolName, arguments any) *gomock.Call

CallTool indicates an expected call of CallTool.

func (*MockBackendClientMockRecorder) GetPrompt

func (mr *MockBackendClientMockRecorder) GetPrompt(ctx, target, name, arguments any) *gomock.Call

GetPrompt indicates an expected call of GetPrompt.

func (*MockBackendClientMockRecorder) ListCapabilities

func (mr *MockBackendClientMockRecorder) ListCapabilities(ctx, target any) *gomock.Call

ListCapabilities indicates an expected call of ListCapabilities.

func (*MockBackendClientMockRecorder) ReadResource

func (mr *MockBackendClientMockRecorder) ReadResource(ctx, target, uri any) *gomock.Call

ReadResource indicates an expected call of ReadResource.

type MockBackendRegistry

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

MockBackendRegistry is a mock of BackendRegistry interface.

func NewMockBackendRegistry

func NewMockBackendRegistry(ctrl *gomock.Controller) *MockBackendRegistry

NewMockBackendRegistry creates a new mock instance.

func (*MockBackendRegistry) Count

func (m *MockBackendRegistry) Count() int

Count mocks base method.

func (*MockBackendRegistry) EXPECT

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

func (*MockBackendRegistry) Get

func (m *MockBackendRegistry) Get(ctx context.Context, backendID string) *vmcp.Backend

Get mocks base method.

func (*MockBackendRegistry) List

List mocks base method.

type MockBackendRegistryMockRecorder

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

MockBackendRegistryMockRecorder is the mock recorder for MockBackendRegistry.

func (*MockBackendRegistryMockRecorder) Count

Count indicates an expected call of Count.

func (*MockBackendRegistryMockRecorder) Get

func (mr *MockBackendRegistryMockRecorder) Get(ctx, backendID any) *gomock.Call

Get indicates an expected call of Get.

func (*MockBackendRegistryMockRecorder) List

List indicates an expected call of List.

type MockHealthChecker

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

MockHealthChecker is a mock of HealthChecker interface.

func NewMockHealthChecker

func NewMockHealthChecker(ctrl *gomock.Controller) *MockHealthChecker

NewMockHealthChecker creates a new mock instance.

func (*MockHealthChecker) CheckHealth

CheckHealth mocks base method.

func (*MockHealthChecker) EXPECT

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

type MockHealthCheckerMockRecorder

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

MockHealthCheckerMockRecorder is the mock recorder for MockHealthChecker.

func (*MockHealthCheckerMockRecorder) CheckHealth

func (mr *MockHealthCheckerMockRecorder) CheckHealth(ctx, target any) *gomock.Call

CheckHealth indicates an expected call of CheckHealth.

Jump to

Keyboard shortcuts

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