mock

package
v0.81.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.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 mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExportAsyncSearchServer added in v0.75.0

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

MockExportAsyncSearchServer is a mock of ExportAsyncSearchServer interface.

func NewMockExportAsyncSearchServer added in v0.75.0

func NewMockExportAsyncSearchServer(ctrl *gomock.Controller) *MockExportAsyncSearchServer

NewMockExportAsyncSearchServer creates a new mock instance.

func (*MockExportAsyncSearchServer) Context added in v0.75.0

Context mocks base method.

func (*MockExportAsyncSearchServer) EXPECT added in v0.75.0

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

func (*MockExportAsyncSearchServer) RecvMsg added in v0.75.0

func (m_2 *MockExportAsyncSearchServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockExportAsyncSearchServer) Send added in v0.75.0

Send mocks base method.

func (*MockExportAsyncSearchServer) SendHeader added in v0.75.0

func (m *MockExportAsyncSearchServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockExportAsyncSearchServer) SendMsg added in v0.75.0

func (m_2 *MockExportAsyncSearchServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockExportAsyncSearchServer) SetHeader added in v0.75.0

func (m *MockExportAsyncSearchServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockExportAsyncSearchServer) SetTrailer added in v0.75.0

func (m *MockExportAsyncSearchServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockExportAsyncSearchServerMockRecorder added in v0.75.0

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

MockExportAsyncSearchServerMockRecorder is the mock recorder for MockExportAsyncSearchServer.

func (*MockExportAsyncSearchServerMockRecorder) Context added in v0.75.0

Context indicates an expected call of Context.

func (*MockExportAsyncSearchServerMockRecorder) RecvMsg added in v0.75.0

func (mr *MockExportAsyncSearchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockExportAsyncSearchServerMockRecorder) Send added in v0.75.0

func (mr *MockExportAsyncSearchServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockExportAsyncSearchServerMockRecorder) SendHeader added in v0.75.0

func (mr *MockExportAsyncSearchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockExportAsyncSearchServerMockRecorder) SendMsg added in v0.75.0

func (mr *MockExportAsyncSearchServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockExportAsyncSearchServerMockRecorder) SetHeader added in v0.75.0

func (mr *MockExportAsyncSearchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockExportAsyncSearchServerMockRecorder) SetTrailer added in v0.75.0

func (mr *MockExportAsyncSearchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockExportServer

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

MockExportServer is a mock of ExportServer interface.

func NewMockExportServer

func NewMockExportServer(ctrl *gomock.Controller) *MockExportServer

NewMockExportServer creates a new mock instance.

func (*MockExportServer) Context

func (m *MockExportServer) Context() context.Context

Context mocks base method.

func (*MockExportServer) EXPECT

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

func (*MockExportServer) RecvMsg

func (m_2 *MockExportServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockExportServer) Send

Send mocks base method.

func (*MockExportServer) SendHeader

func (m *MockExportServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockExportServer) SendMsg

func (m_2 *MockExportServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockExportServer) SetHeader

func (m *MockExportServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockExportServer) SetTrailer

func (m *MockExportServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockExportServerMockRecorder

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

MockExportServerMockRecorder is the mock recorder for MockExportServer.

func (*MockExportServerMockRecorder) Context

func (mr *MockExportServerMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockExportServerMockRecorder) RecvMsg

func (mr *MockExportServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockExportServerMockRecorder) Send

func (mr *MockExportServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockExportServerMockRecorder) SendHeader

func (mr *MockExportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockExportServerMockRecorder) SendMsg

func (mr *MockExportServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockExportServerMockRecorder) SetHeader

func (mr *MockExportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockExportServerMockRecorder) SetTrailer

func (mr *MockExportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockFetchServer

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

MockFetchServer is a mock of FetchServer interface.

func NewMockFetchServer

func NewMockFetchServer(ctrl *gomock.Controller) *MockFetchServer

NewMockFetchServer creates a new mock instance.

func (*MockFetchServer) Context

func (m *MockFetchServer) Context() context.Context

Context mocks base method.

func (*MockFetchServer) EXPECT

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

func (*MockFetchServer) RecvMsg

func (m_2 *MockFetchServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockFetchServer) Send

func (m *MockFetchServer) Send(arg0 *seqproxyapi.Document) error

Send mocks base method.

func (*MockFetchServer) SendHeader

func (m *MockFetchServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockFetchServer) SendMsg

func (m_2 *MockFetchServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockFetchServer) SetHeader

func (m *MockFetchServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockFetchServer) SetTrailer

func (m *MockFetchServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockFetchServerMockRecorder

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

MockFetchServerMockRecorder is the mock recorder for MockFetchServer.

func (*MockFetchServerMockRecorder) Context

func (mr *MockFetchServerMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockFetchServerMockRecorder) RecvMsg

func (mr *MockFetchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockFetchServerMockRecorder) Send

func (mr *MockFetchServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockFetchServerMockRecorder) SendHeader

func (mr *MockFetchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockFetchServerMockRecorder) SendMsg

func (mr *MockFetchServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockFetchServerMockRecorder) SetHeader

func (mr *MockFetchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockFetchServerMockRecorder) SetTrailer

func (mr *MockFetchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockMappingProvider

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

MockMappingProvider is a mock of MappingProvider interface.

func NewMockMappingProvider

func NewMockMappingProvider(ctrl *gomock.Controller) *MockMappingProvider

NewMockMappingProvider creates a new mock instance.

func (*MockMappingProvider) EXPECT

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

func (*MockMappingProvider) GetRawMapping

func (m *MockMappingProvider) GetRawMapping() *seq.RawMapping

GetRawMapping mocks base method.

type MockMappingProviderMockRecorder

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

MockMappingProviderMockRecorder is the mock recorder for MockMappingProvider.

func (*MockMappingProviderMockRecorder) GetRawMapping

func (mr *MockMappingProviderMockRecorder) GetRawMapping() *gomock.Call

GetRawMapping indicates an expected call of GetRawMapping.

type MockRateLimiter

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

MockRateLimiter is a mock of RateLimiter interface.

func NewMockRateLimiter

func NewMockRateLimiter(ctrl *gomock.Controller) *MockRateLimiter

NewMockRateLimiter creates a new mock instance.

func (*MockRateLimiter) Account

func (m *MockRateLimiter) Account(arg0 string) bool

Account mocks base method.

func (*MockRateLimiter) EXPECT

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

type MockRateLimiterMockRecorder

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

MockRateLimiterMockRecorder is the mock recorder for MockRateLimiter.

func (*MockRateLimiterMockRecorder) Account

func (mr *MockRateLimiterMockRecorder) Account(arg0 interface{}) *gomock.Call

Account indicates an expected call of Account.

type MockSearchIngestor

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

MockSearchIngestor is a mock of SearchIngestor interface.

func NewMockSearchIngestor

func NewMockSearchIngestor(ctrl *gomock.Controller) *MockSearchIngestor

NewMockSearchIngestor creates a new mock instance.

func (*MockSearchIngestor) CancelAsyncSearch added in v0.59.0

func (m *MockSearchIngestor) CancelAsyncSearch(ctx context.Context, id string) error

CancelAsyncSearch mocks base method.

func (*MockSearchIngestor) DeleteAsyncSearch added in v0.59.0

func (m *MockSearchIngestor) DeleteAsyncSearch(ctx context.Context, id string) error

DeleteAsyncSearch mocks base method.

func (*MockSearchIngestor) Documents

Documents mocks base method.

func (*MockSearchIngestor) EXPECT

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

func (*MockSearchIngestor) FetchAsyncSearchResult

FetchAsyncSearchResult mocks base method.

func (*MockSearchIngestor) GetAsyncSearchesList added in v0.59.0

GetAsyncSearchesList mocks base method.

func (*MockSearchIngestor) Search

Search mocks base method.

func (*MockSearchIngestor) StartAsyncSearch

func (m *MockSearchIngestor) StartAsyncSearch(arg0 context.Context, arg1 search.AsyncRequest) (search.AsyncResponse, error)

StartAsyncSearch mocks base method.

func (*MockSearchIngestor) Status

Status mocks base method.

func (*MockSearchIngestor) StreamSearch added in v0.78.0

StreamSearch mocks base method.

type MockSearchIngestorMockRecorder

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

MockSearchIngestorMockRecorder is the mock recorder for MockSearchIngestor.

func (*MockSearchIngestorMockRecorder) CancelAsyncSearch added in v0.59.0

func (mr *MockSearchIngestorMockRecorder) CancelAsyncSearch(ctx, id interface{}) *gomock.Call

CancelAsyncSearch indicates an expected call of CancelAsyncSearch.

func (*MockSearchIngestorMockRecorder) DeleteAsyncSearch added in v0.59.0

func (mr *MockSearchIngestorMockRecorder) DeleteAsyncSearch(ctx, id interface{}) *gomock.Call

DeleteAsyncSearch indicates an expected call of DeleteAsyncSearch.

func (*MockSearchIngestorMockRecorder) Documents

func (mr *MockSearchIngestorMockRecorder) Documents(ctx, r interface{}) *gomock.Call

Documents indicates an expected call of Documents.

func (*MockSearchIngestorMockRecorder) FetchAsyncSearchResult

func (mr *MockSearchIngestorMockRecorder) FetchAsyncSearchResult(arg0, arg1 interface{}) *gomock.Call

FetchAsyncSearchResult indicates an expected call of FetchAsyncSearchResult.

func (*MockSearchIngestorMockRecorder) GetAsyncSearchesList added in v0.59.0

func (mr *MockSearchIngestorMockRecorder) GetAsyncSearchesList(arg0, arg1 interface{}) *gomock.Call

GetAsyncSearchesList indicates an expected call of GetAsyncSearchesList.

func (*MockSearchIngestorMockRecorder) Search

func (mr *MockSearchIngestorMockRecorder) Search(ctx, sr, tr interface{}) *gomock.Call

Search indicates an expected call of Search.

func (*MockSearchIngestorMockRecorder) StartAsyncSearch

func (mr *MockSearchIngestorMockRecorder) StartAsyncSearch(arg0, arg1 interface{}) *gomock.Call

StartAsyncSearch indicates an expected call of StartAsyncSearch.

func (*MockSearchIngestorMockRecorder) Status

func (mr *MockSearchIngestorMockRecorder) Status(ctx interface{}) *gomock.Call

Status indicates an expected call of Status.

func (*MockSearchIngestorMockRecorder) StreamSearch added in v0.78.0

func (mr *MockSearchIngestorMockRecorder) StreamSearch(ctx, sr, tr interface{}) *gomock.Call

StreamSearch indicates an expected call of StreamSearch.

Jump to

Keyboard shortcuts

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