aibridgedmock

package
v2.39.1-notes-sync-c Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: AGPL-3.0 Imports: 9 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 aibridgedmock is a generated GoMock package.

Package aibridgedmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDRPCClient

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

MockDRPCClient is a mock of DRPCClient interface.

func NewMockDRPCClient

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

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

func (*MockDRPCClient) GetAIProviders added in v2.35.0

GetAIProviders mocks base method.

func (*MockDRPCClient) GetMCPServerAccessTokensBatch

GetMCPServerAccessTokensBatch mocks base method.

func (*MockDRPCClient) GetMCPServerConfigs

GetMCPServerConfigs mocks base method.

func (*MockDRPCClient) IsAuthorized

IsAuthorized mocks base method.

func (*MockDRPCClient) IsBudgetExceeded added in v2.36.0

IsBudgetExceeded mocks base method.

func (*MockDRPCClient) RecordInterception

RecordInterception mocks base method.

func (*MockDRPCClient) RecordInterceptionEnded

RecordInterceptionEnded mocks base method.

func (*MockDRPCClient) RecordModelThought

RecordModelThought mocks base method.

func (*MockDRPCClient) RecordPromptUsage

RecordPromptUsage mocks base method.

func (*MockDRPCClient) RecordTokenUsage

RecordTokenUsage mocks base method.

func (*MockDRPCClient) RecordToolUsage

RecordToolUsage mocks base method.

func (*MockDRPCClient) WatchAIProviders added in v2.36.0

WatchAIProviders mocks base method.

type MockDRPCClientMockRecorder

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) GetAIProviders added in v2.35.0

func (mr *MockDRPCClientMockRecorder) GetAIProviders(ctx, in any) *gomock.Call

GetAIProviders indicates an expected call of GetAIProviders.

func (*MockDRPCClientMockRecorder) GetMCPServerAccessTokensBatch

func (mr *MockDRPCClientMockRecorder) GetMCPServerAccessTokensBatch(ctx, in any) *gomock.Call

GetMCPServerAccessTokensBatch indicates an expected call of GetMCPServerAccessTokensBatch.

func (*MockDRPCClientMockRecorder) GetMCPServerConfigs

func (mr *MockDRPCClientMockRecorder) GetMCPServerConfigs(ctx, in any) *gomock.Call

GetMCPServerConfigs indicates an expected call of GetMCPServerConfigs.

func (*MockDRPCClientMockRecorder) IsAuthorized

func (mr *MockDRPCClientMockRecorder) IsAuthorized(ctx, in any) *gomock.Call

IsAuthorized indicates an expected call of IsAuthorized.

func (*MockDRPCClientMockRecorder) IsBudgetExceeded added in v2.36.0

func (mr *MockDRPCClientMockRecorder) IsBudgetExceeded(ctx, in any) *gomock.Call

IsBudgetExceeded indicates an expected call of IsBudgetExceeded.

func (*MockDRPCClientMockRecorder) RecordInterception

func (mr *MockDRPCClientMockRecorder) RecordInterception(ctx, in any) *gomock.Call

RecordInterception indicates an expected call of RecordInterception.

func (*MockDRPCClientMockRecorder) RecordInterceptionEnded

func (mr *MockDRPCClientMockRecorder) RecordInterceptionEnded(ctx, in any) *gomock.Call

RecordInterceptionEnded indicates an expected call of RecordInterceptionEnded.

func (*MockDRPCClientMockRecorder) RecordModelThought

func (mr *MockDRPCClientMockRecorder) RecordModelThought(ctx, in any) *gomock.Call

RecordModelThought indicates an expected call of RecordModelThought.

func (*MockDRPCClientMockRecorder) RecordPromptUsage

func (mr *MockDRPCClientMockRecorder) RecordPromptUsage(ctx, in any) *gomock.Call

RecordPromptUsage indicates an expected call of RecordPromptUsage.

func (*MockDRPCClientMockRecorder) RecordTokenUsage

func (mr *MockDRPCClientMockRecorder) RecordTokenUsage(ctx, in any) *gomock.Call

RecordTokenUsage indicates an expected call of RecordTokenUsage.

func (*MockDRPCClientMockRecorder) RecordToolUsage

func (mr *MockDRPCClientMockRecorder) RecordToolUsage(ctx, in any) *gomock.Call

RecordToolUsage indicates an expected call of RecordToolUsage.

func (*MockDRPCClientMockRecorder) WatchAIProviders added in v2.36.0

func (mr *MockDRPCClientMockRecorder) WatchAIProviders(ctx, in any) *gomock.Call

WatchAIProviders indicates an expected call of WatchAIProviders.

type MockPooler

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

MockPooler is a mock of Pooler interface.

func NewMockPooler

func NewMockPooler(ctrl *gomock.Controller) *MockPooler

NewMockPooler creates a new mock instance.

func (*MockPooler) Acquire

func (m *MockPooler) Acquire(ctx context.Context, req aibridged.Request, clientFn aibridged.ClientFunc, mcpBootstrapper aibridged.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.

func (*MockPooler) KeyPools

func (m *MockPooler) KeyPools() []*keypool.Pool

KeyPools mocks base method.

func (*MockPooler) ReplaceProviders

func (m *MockPooler) ReplaceProviders(providers []aibridge.Provider)

ReplaceProviders mocks base method.

func (*MockPooler) Shutdown

func (m *MockPooler) Shutdown(ctx context.Context) error

Shutdown mocks base method.

type MockPoolerMockRecorder

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

MockPoolerMockRecorder is the mock recorder for MockPooler.

func (*MockPoolerMockRecorder) Acquire

func (mr *MockPoolerMockRecorder) Acquire(ctx, req, clientFn, mcpBootstrapper any) *gomock.Call

Acquire indicates an expected call of Acquire.

func (*MockPoolerMockRecorder) KeyPools

func (mr *MockPoolerMockRecorder) KeyPools() *gomock.Call

KeyPools indicates an expected call of KeyPools.

func (*MockPoolerMockRecorder) ReplaceProviders

func (mr *MockPoolerMockRecorder) ReplaceProviders(providers any) *gomock.Call

ReplaceProviders indicates an expected call of ReplaceProviders.

func (*MockPoolerMockRecorder) Shutdown

func (mr *MockPoolerMockRecorder) Shutdown(ctx any) *gomock.Call

Shutdown indicates an expected call of Shutdown.

Jump to

Keyboard shortcuts

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