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

mocks

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 5 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 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, meta map[string]any, paramHeaders map[string]string) (*vmcp.ToolCallResult, error)

CallTool mocks base method.

func (*MockBackendClient) Complete added in v0.41.0

func (m *MockBackendClient) Complete(ctx context.Context, target *vmcp.BackendTarget, ref vmcp.CompletionRef, argName, argValue string, contextArgs map[string]string) (*vmcp.CompletionResult, error)

Complete 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) (*vmcp.PromptGetResult, 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) (*vmcp.ResourceReadResult, 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, meta, paramHeaders any) *gomock.Call

CallTool indicates an expected call of CallTool.

func (*MockBackendClientMockRecorder) Complete added in v0.41.0

func (mr *MockBackendClientMockRecorder) Complete(ctx, target, ref, argName, argValue, contextArgs any) *gomock.Call

Complete indicates an expected call of Complete.

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 MockClientForwarderBinder added in v0.41.0

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

MockClientForwarderBinder is a mock of ClientForwarderBinder interface.

func NewMockClientForwarderBinder added in v0.41.0

func NewMockClientForwarderBinder(ctrl *gomock.Controller) *MockClientForwarderBinder

NewMockClientForwarderBinder creates a new mock instance.

func (*MockClientForwarderBinder) BindForwarders added in v0.41.0

func (m *MockClientForwarderBinder) BindForwarders(elicitation vmcp.ElicitationRequester, sampling vmcp.SamplingRequester, notifier vmcp.ClientNotifier)

BindForwarders mocks base method.

func (*MockClientForwarderBinder) EXPECT added in v0.41.0

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

type MockClientForwarderBinderMockRecorder added in v0.41.0

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

MockClientForwarderBinderMockRecorder is the mock recorder for MockClientForwarderBinder.

func (*MockClientForwarderBinderMockRecorder) BindForwarders added in v0.41.0

func (mr *MockClientForwarderBinderMockRecorder) BindForwarders(elicitation, sampling, notifier any) *gomock.Call

BindForwarders indicates an expected call of BindForwarders.

type MockClientNotifier added in v0.41.0

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

MockClientNotifier is a mock of ClientNotifier interface.

func NewMockClientNotifier added in v0.41.0

func NewMockClientNotifier(ctrl *gomock.Controller) *MockClientNotifier

NewMockClientNotifier creates a new mock instance.

func (*MockClientNotifier) EXPECT added in v0.41.0

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

func (*MockClientNotifier) NotifyLog added in v0.41.0

func (m *MockClientNotifier) NotifyLog(ctx context.Context, n vmcp.LogMessage) error

NotifyLog mocks base method.

func (*MockClientNotifier) NotifyProgress added in v0.41.0

NotifyProgress mocks base method.

type MockClientNotifierMockRecorder added in v0.41.0

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

MockClientNotifierMockRecorder is the mock recorder for MockClientNotifier.

func (*MockClientNotifierMockRecorder) NotifyLog added in v0.41.0

func (mr *MockClientNotifierMockRecorder) NotifyLog(ctx, n any) *gomock.Call

NotifyLog indicates an expected call of NotifyLog.

func (*MockClientNotifierMockRecorder) NotifyProgress added in v0.41.0

func (mr *MockClientNotifierMockRecorder) NotifyProgress(ctx, n any) *gomock.Call

NotifyProgress indicates an expected call of NotifyProgress.

type MockDynamicRegistry added in v0.6.17

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

MockDynamicRegistry is a mock of DynamicRegistry interface.

func NewMockDynamicRegistry added in v0.6.17

func NewMockDynamicRegistry(ctrl *gomock.Controller) *MockDynamicRegistry

NewMockDynamicRegistry creates a new mock instance.

func (*MockDynamicRegistry) Count added in v0.6.17

func (m *MockDynamicRegistry) Count() int

Count mocks base method.

func (*MockDynamicRegistry) EXPECT added in v0.6.17

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

func (*MockDynamicRegistry) Get added in v0.6.17

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

Get mocks base method.

func (*MockDynamicRegistry) List added in v0.6.17

List mocks base method.

func (*MockDynamicRegistry) Remove added in v0.6.17

func (m *MockDynamicRegistry) Remove(backendID string) error

Remove mocks base method.

func (*MockDynamicRegistry) Upsert added in v0.6.17

func (m *MockDynamicRegistry) Upsert(backend vmcp.Backend) error

Upsert mocks base method.

func (*MockDynamicRegistry) Version added in v0.6.17

func (m *MockDynamicRegistry) Version() uint64

Version mocks base method.

type MockDynamicRegistryMockRecorder added in v0.6.17

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

MockDynamicRegistryMockRecorder is the mock recorder for MockDynamicRegistry.

func (*MockDynamicRegistryMockRecorder) Count added in v0.6.17

Count indicates an expected call of Count.

func (*MockDynamicRegistryMockRecorder) Get added in v0.6.17

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

Get indicates an expected call of Get.

func (*MockDynamicRegistryMockRecorder) List added in v0.6.17

List indicates an expected call of List.

func (*MockDynamicRegistryMockRecorder) Remove added in v0.6.17

func (mr *MockDynamicRegistryMockRecorder) Remove(backendID any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockDynamicRegistryMockRecorder) Upsert added in v0.6.17

func (mr *MockDynamicRegistryMockRecorder) Upsert(backend any) *gomock.Call

Upsert indicates an expected call of Upsert.

func (*MockDynamicRegistryMockRecorder) Version added in v0.6.17

Version indicates an expected call of Version.

type MockElicitationRequester added in v0.29.2

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

MockElicitationRequester is a mock of ElicitationRequester interface.

func NewMockElicitationRequester added in v0.29.2

func NewMockElicitationRequester(ctrl *gomock.Controller) *MockElicitationRequester

NewMockElicitationRequester creates a new mock instance.

func (*MockElicitationRequester) EXPECT added in v0.29.2

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

func (*MockElicitationRequester) RequestElicitation added in v0.29.2

RequestElicitation mocks base method.

type MockElicitationRequesterMockRecorder added in v0.29.2

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

MockElicitationRequesterMockRecorder is the mock recorder for MockElicitationRequester.

func (*MockElicitationRequesterMockRecorder) RequestElicitation added in v0.29.2

func (mr *MockElicitationRequesterMockRecorder) RequestElicitation(ctx, req any) *gomock.Call

RequestElicitation indicates an expected call of RequestElicitation.

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.

type MockRevisionReporter added in v0.41.0

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

MockRevisionReporter is a mock of RevisionReporter interface.

func NewMockRevisionReporter added in v0.41.0

func NewMockRevisionReporter(ctrl *gomock.Controller) *MockRevisionReporter

NewMockRevisionReporter creates a new mock instance.

func (*MockRevisionReporter) CachedRevision added in v0.41.0

func (m *MockRevisionReporter) CachedRevision(workloadID string) (mcp.Revision, bool)

CachedRevision mocks base method.

func (*MockRevisionReporter) EXPECT added in v0.41.0

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

type MockRevisionReporterMockRecorder added in v0.41.0

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

MockRevisionReporterMockRecorder is the mock recorder for MockRevisionReporter.

func (*MockRevisionReporterMockRecorder) CachedRevision added in v0.41.0

func (mr *MockRevisionReporterMockRecorder) CachedRevision(workloadID any) *gomock.Call

CachedRevision indicates an expected call of CachedRevision.

type MockSamplingRequester added in v0.41.0

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

MockSamplingRequester is a mock of SamplingRequester interface.

func NewMockSamplingRequester added in v0.41.0

func NewMockSamplingRequester(ctrl *gomock.Controller) *MockSamplingRequester

NewMockSamplingRequester creates a new mock instance.

func (*MockSamplingRequester) EXPECT added in v0.41.0

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

func (*MockSamplingRequester) RequestSampling added in v0.41.0

RequestSampling mocks base method.

type MockSamplingRequesterMockRecorder added in v0.41.0

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

MockSamplingRequesterMockRecorder is the mock recorder for MockSamplingRequester.

func (*MockSamplingRequesterMockRecorder) RequestSampling added in v0.41.0

func (mr *MockSamplingRequesterMockRecorder) RequestSampling(ctx, req any) *gomock.Call

RequestSampling indicates an expected call of RequestSampling.

Jump to

Keyboard shortcuts

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