Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockExportServer
- func (m *MockExportServer) Context() context.Context
- func (m *MockExportServer) EXPECT() *MockExportServerMockRecorder
- func (m_2 *MockExportServer) RecvMsg(m any) error
- func (m *MockExportServer) Send(arg0 *seqproxyapi.ExportResponse) error
- func (m *MockExportServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockExportServer) SendMsg(m any) error
- func (m *MockExportServer) SetHeader(arg0 metadata.MD) error
- func (m *MockExportServer) SetTrailer(arg0 metadata.MD)
- type MockExportServerMockRecorder
- func (mr *MockExportServerMockRecorder) Context() *gomock.Call
- func (mr *MockExportServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockExportServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockExportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockExportServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockExportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockExportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockFetchServer
- func (m *MockFetchServer) Context() context.Context
- func (m *MockFetchServer) EXPECT() *MockFetchServerMockRecorder
- func (m_2 *MockFetchServer) RecvMsg(m any) error
- func (m *MockFetchServer) Send(arg0 *seqproxyapi.Document) error
- func (m *MockFetchServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockFetchServer) SendMsg(m any) error
- func (m *MockFetchServer) SetHeader(arg0 metadata.MD) error
- func (m *MockFetchServer) SetTrailer(arg0 metadata.MD)
- type MockFetchServerMockRecorder
- func (mr *MockFetchServerMockRecorder) Context() *gomock.Call
- func (mr *MockFetchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockFetchServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockFetchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFetchServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockFetchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFetchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockMappingProvider
- type MockMappingProviderMockRecorder
- type MockRateLimiter
- type MockRateLimiterMockRecorder
- type MockSearchIngestor
- func (m *MockSearchIngestor) CancelAsyncSearch(ctx context.Context, id string) error
- func (m *MockSearchIngestor) DeleteAsyncSearch(ctx context.Context, id string) error
- func (m *MockSearchIngestor) Documents(ctx context.Context, r search.FetchRequest) (search.DocsIterator, error)
- func (m *MockSearchIngestor) EXPECT() *MockSearchIngestorMockRecorder
- func (m *MockSearchIngestor) FetchAsyncSearchResult(arg0 context.Context, arg1 search.FetchAsyncSearchResultRequest) (search.FetchAsyncSearchResultResponse, search.DocsIterator, error)
- func (m *MockSearchIngestor) GetAsyncSearchesList(arg0 context.Context, arg1 search.GetAsyncSearchesListRequest) ([]*search.AsyncSearchesListItem, error)
- func (m *MockSearchIngestor) Search(ctx context.Context, sr *search.SearchRequest, tr *querytracer.Tracer) (*seq.QPR, search.DocsIterator, time.Duration, error)
- func (m *MockSearchIngestor) StartAsyncSearch(arg0 context.Context, arg1 search.AsyncRequest) (search.AsyncResponse, error)
- func (m *MockSearchIngestor) Status(ctx context.Context) *search.IngestorStatus
- type MockSearchIngestorMockRecorder
- func (mr *MockSearchIngestorMockRecorder) CancelAsyncSearch(ctx, id interface{}) *gomock.Call
- func (mr *MockSearchIngestorMockRecorder) DeleteAsyncSearch(ctx, id interface{}) *gomock.Call
- func (mr *MockSearchIngestorMockRecorder) Documents(ctx, r interface{}) *gomock.Call
- func (mr *MockSearchIngestorMockRecorder) FetchAsyncSearchResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSearchIngestorMockRecorder) GetAsyncSearchesList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSearchIngestorMockRecorder) Search(ctx, sr, tr interface{}) *gomock.Call
- func (mr *MockSearchIngestorMockRecorder) StartAsyncSearch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSearchIngestorMockRecorder) Status(ctx interface{}) *gomock.Call
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 ¶
func (m *MockExportServer) EXPECT() *MockExportServerMockRecorder
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 ¶
func (m *MockExportServer) Send(arg0 *seqproxyapi.ExportResponse) error
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 ¶
func (m *MockFetchServer) EXPECT() *MockFetchServerMockRecorder
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 ¶
func (m *MockMappingProvider) EXPECT() *MockMappingProviderMockRecorder
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 ¶
func (m *MockRateLimiter) EXPECT() *MockRateLimiterMockRecorder
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 ¶
func (m *MockSearchIngestor) Documents(ctx context.Context, r search.FetchRequest) (search.DocsIterator, error)
Documents mocks base method.
func (*MockSearchIngestor) EXPECT ¶
func (m *MockSearchIngestor) EXPECT() *MockSearchIngestorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSearchIngestor) FetchAsyncSearchResult ¶
func (m *MockSearchIngestor) FetchAsyncSearchResult(arg0 context.Context, arg1 search.FetchAsyncSearchResultRequest) (search.FetchAsyncSearchResultResponse, search.DocsIterator, error)
FetchAsyncSearchResult mocks base method.
func (*MockSearchIngestor) GetAsyncSearchesList ¶ added in v0.59.0
func (m *MockSearchIngestor) GetAsyncSearchesList(arg0 context.Context, arg1 search.GetAsyncSearchesListRequest) ([]*search.AsyncSearchesListItem, error)
GetAsyncSearchesList mocks base method.
func (*MockSearchIngestor) Search ¶
func (m *MockSearchIngestor) Search(ctx context.Context, sr *search.SearchRequest, tr *querytracer.Tracer) (*seq.QPR, search.DocsIterator, time.Duration, error)
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 ¶
func (m *MockSearchIngestor) Status(ctx context.Context) *search.IngestorStatus
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.