aibridgedmock
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package aibridgedmock is a generated GoMock package.
Package aibridgedmock is a generated GoMock package.
Index¶
- type MockDRPCClient
- func (m *MockDRPCClient) DRPCConn() drpc.Conn
- func (m *MockDRPCClient) EXPECT() *MockDRPCClientMockRecorder
- func (m *MockDRPCClient) GetMCPServerAccessTokensBatch(ctx context.Context, in *proto.GetMCPServerAccessTokensBatchRequest) (*proto.GetMCPServerAccessTokensBatchResponse, error)
- func (m *MockDRPCClient) GetMCPServerConfigs(ctx context.Context, in *proto.GetMCPServerConfigsRequest) (*proto.GetMCPServerConfigsResponse, error)
- func (m *MockDRPCClient) IsAuthorized(ctx context.Context, in *proto.IsAuthorizedRequest) (*proto.IsAuthorizedResponse, error)
- func (m *MockDRPCClient) RecordInterception(ctx context.Context, in *proto.RecordInterceptionRequest) (*proto.RecordInterceptionResponse, error)
- func (m *MockDRPCClient) RecordInterceptionEnded(ctx context.Context, in *proto.RecordInterceptionEndedRequest) (*proto.RecordInterceptionEndedResponse, error)
- func (m *MockDRPCClient) RecordPromptUsage(ctx context.Context, in *proto.RecordPromptUsageRequest) (*proto.RecordPromptUsageResponse, error)
- func (m *MockDRPCClient) RecordTokenUsage(ctx context.Context, in *proto.RecordTokenUsageRequest) (*proto.RecordTokenUsageResponse, error)
- func (m *MockDRPCClient) RecordToolUsage(ctx context.Context, in *proto.RecordToolUsageRequest) (*proto.RecordToolUsageResponse, error)
- type MockDRPCClientMockRecorder
- func (mr *MockDRPCClientMockRecorder) DRPCConn() *gomock.Call
- func (mr *MockDRPCClientMockRecorder) GetMCPServerAccessTokensBatch(ctx, in any) *gomock.Call
- func (mr *MockDRPCClientMockRecorder) GetMCPServerConfigs(ctx, in any) *gomock.Call
- func (mr *MockDRPCClientMockRecorder) IsAuthorized(ctx, in any) *gomock.Call
- func (mr *MockDRPCClientMockRecorder) RecordInterception(ctx, in any) *gomock.Call
- func (mr *MockDRPCClientMockRecorder) RecordInterceptionEnded(ctx, in any) *gomock.Call
- func (mr *MockDRPCClientMockRecorder) RecordPromptUsage(ctx, in any) *gomock.Call
- func (mr *MockDRPCClientMockRecorder) RecordTokenUsage(ctx, in any) *gomock.Call
- func (mr *MockDRPCClientMockRecorder) RecordToolUsage(ctx, in any) *gomock.Call
- type MockPooler
- type MockPoolerMockRecorder
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeMockDRPCClient¶
type MockDRPCClient struct {// contains filtered or unexported fields}MockDRPCClient is a mock of DRPCClient interface.
funcNewMockDRPCClient¶
func NewMockDRPCClient(ctrl *gomock.Controller) *MockDRPCClient
NewMockDRPCClient creates a new mock instance.
func (*MockDRPCClient)DRPCConn¶
func (m *MockDRPCClient) DRPCConn()drpc.Conn
DRPCConn mocks base method.
func (*MockDRPCClient)EXPECT¶
func (m *MockDRPCClient) EXPECT() *MockDRPCClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDRPCClient)GetMCPServerAccessTokensBatch¶
func (m *MockDRPCClient) GetMCPServerAccessTokensBatch(ctxcontext.Context, in *proto.GetMCPServerAccessTokensBatchRequest) (*proto.GetMCPServerAccessTokensBatchResponse,error)
GetMCPServerAccessTokensBatch mocks base method.
func (*MockDRPCClient)GetMCPServerConfigs¶
func (m *MockDRPCClient) GetMCPServerConfigs(ctxcontext.Context, in *proto.GetMCPServerConfigsRequest) (*proto.GetMCPServerConfigsResponse,error)
GetMCPServerConfigs mocks base method.
func (*MockDRPCClient)IsAuthorized¶
func (m *MockDRPCClient) IsAuthorized(ctxcontext.Context, in *proto.IsAuthorizedRequest) (*proto.IsAuthorizedResponse,error)
IsAuthorized mocks base method.
func (*MockDRPCClient)RecordInterception¶
func (m *MockDRPCClient) RecordInterception(ctxcontext.Context, in *proto.RecordInterceptionRequest) (*proto.RecordInterceptionResponse,error)
RecordInterception mocks base method.
func (*MockDRPCClient)RecordInterceptionEnded¶
func (m *MockDRPCClient) RecordInterceptionEnded(ctxcontext.Context, in *proto.RecordInterceptionEndedRequest) (*proto.RecordInterceptionEndedResponse,error)
RecordInterceptionEnded mocks base method.
func (*MockDRPCClient)RecordPromptUsage¶
func (m *MockDRPCClient) RecordPromptUsage(ctxcontext.Context, in *proto.RecordPromptUsageRequest) (*proto.RecordPromptUsageResponse,error)
RecordPromptUsage mocks base method.
func (*MockDRPCClient)RecordTokenUsage¶
func (m *MockDRPCClient) RecordTokenUsage(ctxcontext.Context, in *proto.RecordTokenUsageRequest) (*proto.RecordTokenUsageResponse,error)
RecordTokenUsage mocks base method.
func (*MockDRPCClient)RecordToolUsage¶
func (m *MockDRPCClient) RecordToolUsage(ctxcontext.Context, in *proto.RecordToolUsageRequest) (*proto.RecordToolUsageResponse,error)
RecordToolUsage mocks base method.
typeMockDRPCClientMockRecorder¶
type MockDRPCClientMockRecorder struct {// contains filtered or unexported fields}MockDRPCClientMockRecorder is the mock recorder for MockDRPCClient.
func (*MockDRPCClientMockRecorder)DRPCConn¶
func (mr *MockDRPCClientMockRecorder) DRPCConn() *gomock.Call
DRPCConn indicates an expected call of DRPCConn.
func (*MockDRPCClientMockRecorder)GetMCPServerAccessTokensBatch¶
func (mr *MockDRPCClientMockRecorder) GetMCPServerAccessTokensBatch(ctx, inany) *gomock.Call
GetMCPServerAccessTokensBatch indicates an expected call of GetMCPServerAccessTokensBatch.
func (*MockDRPCClientMockRecorder)GetMCPServerConfigs¶
func (mr *MockDRPCClientMockRecorder) GetMCPServerConfigs(ctx, inany) *gomock.Call
GetMCPServerConfigs indicates an expected call of GetMCPServerConfigs.
func (*MockDRPCClientMockRecorder)IsAuthorized¶
func (mr *MockDRPCClientMockRecorder) IsAuthorized(ctx, inany) *gomock.Call
IsAuthorized indicates an expected call of IsAuthorized.
func (*MockDRPCClientMockRecorder)RecordInterception¶
func (mr *MockDRPCClientMockRecorder) RecordInterception(ctx, inany) *gomock.Call
RecordInterception indicates an expected call of RecordInterception.
func (*MockDRPCClientMockRecorder)RecordInterceptionEnded¶
func (mr *MockDRPCClientMockRecorder) RecordInterceptionEnded(ctx, inany) *gomock.Call
RecordInterceptionEnded indicates an expected call of RecordInterceptionEnded.
func (*MockDRPCClientMockRecorder)RecordPromptUsage¶
func (mr *MockDRPCClientMockRecorder) RecordPromptUsage(ctx, inany) *gomock.Call
RecordPromptUsage indicates an expected call of RecordPromptUsage.
func (*MockDRPCClientMockRecorder)RecordTokenUsage¶
func (mr *MockDRPCClientMockRecorder) RecordTokenUsage(ctx, inany) *gomock.Call
RecordTokenUsage indicates an expected call of RecordTokenUsage.
func (*MockDRPCClientMockRecorder)RecordToolUsage¶
func (mr *MockDRPCClientMockRecorder) RecordToolUsage(ctx, inany) *gomock.Call
RecordToolUsage indicates an expected call of RecordToolUsage.
typeMockPooler¶
type MockPooler struct {// contains filtered or unexported fields}MockPooler is a mock of Pooler interface.
funcNewMockPooler¶
func NewMockPooler(ctrl *gomock.Controller) *MockPooler
NewMockPooler creates a new mock instance.
func (*MockPooler)Acquire¶
func (m *MockPooler) Acquire(ctxcontext.Context, reqaibridged.Request, clientFnaibridged.ClientFunc, mcpBootstrapperaibridged.MCPProxyBuilder) (http.Handler,error)
Acquire mocks base method.
func (*MockPooler)EXPECT¶
func (m *MockPooler) EXPECT() *MockPoolerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
typeMockPoolerMockRecorder¶
type MockPoolerMockRecorder struct {// contains filtered or unexported fields}MockPoolerMockRecorder is the mock recorder for MockPooler.