mock

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

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 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.

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.

Jump to

Keyboard shortcuts

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