Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBackendClient
- func (m *MockBackendClient) CallTool(ctx context.Context, target *vmcp.BackendTarget, toolName string, ...) (map[string]any, error)
- func (m *MockBackendClient) EXPECT() *MockBackendClientMockRecorder
- func (m *MockBackendClient) GetPrompt(ctx context.Context, target *vmcp.BackendTarget, name string, ...) (string, error)
- func (m *MockBackendClient) ListCapabilities(ctx context.Context, target *vmcp.BackendTarget) (*vmcp.CapabilityList, error)
- func (m *MockBackendClient) ReadResource(ctx context.Context, target *vmcp.BackendTarget, uri string) ([]byte, error)
- type MockBackendClientMockRecorder
- func (mr *MockBackendClientMockRecorder) CallTool(ctx, target, toolName, arguments any) *gomock.Call
- func (mr *MockBackendClientMockRecorder) GetPrompt(ctx, target, name, arguments any) *gomock.Call
- func (mr *MockBackendClientMockRecorder) ListCapabilities(ctx, target any) *gomock.Call
- func (mr *MockBackendClientMockRecorder) ReadResource(ctx, target, uri any) *gomock.Call
- type MockBackendRegistry
- type MockBackendRegistryMockRecorder
- type MockHealthChecker
- type MockHealthCheckerMockRecorder
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 ¶
func (m *MockBackendClient) EXPECT() *MockBackendClientMockRecorder
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 ¶
func (m *MockBackendRegistry) EXPECT() *MockBackendRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBackendRegistryMockRecorder ¶
type MockBackendRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendRegistryMockRecorder is the mock recorder for MockBackendRegistry.
func (*MockBackendRegistryMockRecorder) Count ¶
func (mr *MockBackendRegistryMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count.
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 ¶
func (m *MockHealthChecker) CheckHealth(ctx context.Context, target *vmcp.BackendTarget) (vmcp.BackendHealthStatus, error)
CheckHealth mocks base method.
func (*MockHealthChecker) EXPECT ¶
func (m *MockHealthChecker) EXPECT() *MockHealthCheckerMockRecorder
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.