Documentation
¶
Overview ¶
Package mock_seqdb is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CancelAsyncSearch(arg0 context.Context, arg1 *seqapi.CancelAsyncSearchRequest) (*seqapi.CancelAsyncSearchResponse, error)
- func (m *MockClient) DeleteAsyncSearch(arg0 context.Context, arg1 *seqapi.DeleteAsyncSearchRequest) (*seqapi.DeleteAsyncSearchResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Export(arg0 context.Context, arg1 *seqapi.ExportRequest, arg2 *httputil.ChunkedWriter) error
- func (m *MockClient) FetchAsyncSearchResult(arg0 context.Context, arg1 *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error)
- func (m *MockClient) GetAggregation(arg0 context.Context, arg1 *seqapi.GetAggregationRequest) (*seqapi.GetAggregationResponse, error)
- func (m *MockClient) GetAsyncSearchesList(arg0 context.Context, arg1 *seqapi.GetAsyncSearchesListRequest, arg2 []string) (*seqapi.GetAsyncSearchesListResponse, error)
- func (m *MockClient) GetEvent(arg0 context.Context, arg1 *seqapi.GetEventRequest) (*seqapi.GetEventResponse, error)
- func (m *MockClient) GetFields(arg0 context.Context, arg1 *seqapi.GetFieldsRequest) (*seqapi.GetFieldsResponse, error)
- func (m *MockClient) GetHistogram(arg0 context.Context, arg1 *seqapi.GetHistogramRequest) (*seqapi.GetHistogramResponse, error)
- func (m *MockClient) Search(arg0 context.Context, arg1 *seqapi.SearchRequest) (*seqapi.SearchResponse, error)
- func (m *MockClient) StartAsyncSearch(arg0 context.Context, arg1 *seqapi.StartAsyncSearchRequest) (*seqapi.StartAsyncSearchResponse, error)
- func (m *MockClient) Status(arg0 context.Context, arg1 *seqapi.StatusRequest) (*seqapi.StatusResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CancelAsyncSearch(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAsyncSearch(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) Export(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) FetchAsyncSearchResult(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetAggregation(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetAsyncSearchesList(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetEvent(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetFields(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetHistogram(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) Search(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) StartAsyncSearch(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) Status(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CancelAsyncSearch ¶
func (m *MockClient) CancelAsyncSearch(arg0 context.Context, arg1 *seqapi.CancelAsyncSearchRequest) (*seqapi.CancelAsyncSearchResponse, error)
CancelAsyncSearch mocks base method.
func (*MockClient) DeleteAsyncSearch ¶
func (m *MockClient) DeleteAsyncSearch(arg0 context.Context, arg1 *seqapi.DeleteAsyncSearchRequest) (*seqapi.DeleteAsyncSearchResponse, error)
DeleteAsyncSearch mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Export ¶
func (m *MockClient) Export(arg0 context.Context, arg1 *seqapi.ExportRequest, arg2 *httputil.ChunkedWriter) error
Export mocks base method.
func (*MockClient) FetchAsyncSearchResult ¶
func (m *MockClient) FetchAsyncSearchResult(arg0 context.Context, arg1 *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error)
FetchAsyncSearchResult mocks base method.
func (*MockClient) GetAggregation ¶
func (m *MockClient) GetAggregation(arg0 context.Context, arg1 *seqapi.GetAggregationRequest) (*seqapi.GetAggregationResponse, error)
GetAggregation mocks base method.
func (*MockClient) GetAsyncSearchesList ¶
func (m *MockClient) GetAsyncSearchesList(arg0 context.Context, arg1 *seqapi.GetAsyncSearchesListRequest, arg2 []string) (*seqapi.GetAsyncSearchesListResponse, error)
GetAsyncSearchesList mocks base method.
func (*MockClient) GetEvent ¶
func (m *MockClient) GetEvent(arg0 context.Context, arg1 *seqapi.GetEventRequest) (*seqapi.GetEventResponse, error)
GetEvent mocks base method.
func (*MockClient) GetFields ¶
func (m *MockClient) GetFields(arg0 context.Context, arg1 *seqapi.GetFieldsRequest) (*seqapi.GetFieldsResponse, error)
GetFields mocks base method.
func (*MockClient) GetHistogram ¶
func (m *MockClient) GetHistogram(arg0 context.Context, arg1 *seqapi.GetHistogramRequest) (*seqapi.GetHistogramResponse, error)
GetHistogram mocks base method.
func (*MockClient) Search ¶
func (m *MockClient) Search(arg0 context.Context, arg1 *seqapi.SearchRequest) (*seqapi.SearchResponse, error)
Search mocks base method.
func (*MockClient) StartAsyncSearch ¶
func (m *MockClient) StartAsyncSearch(arg0 context.Context, arg1 *seqapi.StartAsyncSearchRequest) (*seqapi.StartAsyncSearchResponse, error)
StartAsyncSearch mocks base method.
func (*MockClient) Status ¶
func (m *MockClient) Status(arg0 context.Context, arg1 *seqapi.StatusRequest) (*seqapi.StatusResponse, error)
Status mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CancelAsyncSearch ¶
func (mr *MockClientMockRecorder) CancelAsyncSearch(arg0, arg1 any) *gomock.Call
CancelAsyncSearch indicates an expected call of CancelAsyncSearch.
func (*MockClientMockRecorder) DeleteAsyncSearch ¶
func (mr *MockClientMockRecorder) DeleteAsyncSearch(arg0, arg1 any) *gomock.Call
DeleteAsyncSearch indicates an expected call of DeleteAsyncSearch.
func (*MockClientMockRecorder) Export ¶
func (mr *MockClientMockRecorder) Export(arg0, arg1, arg2 any) *gomock.Call
Export indicates an expected call of Export.
func (*MockClientMockRecorder) FetchAsyncSearchResult ¶
func (mr *MockClientMockRecorder) FetchAsyncSearchResult(arg0, arg1 any) *gomock.Call
FetchAsyncSearchResult indicates an expected call of FetchAsyncSearchResult.
func (*MockClientMockRecorder) GetAggregation ¶
func (mr *MockClientMockRecorder) GetAggregation(arg0, arg1 any) *gomock.Call
GetAggregation indicates an expected call of GetAggregation.
func (*MockClientMockRecorder) GetAsyncSearchesList ¶
func (mr *MockClientMockRecorder) GetAsyncSearchesList(arg0, arg1, arg2 any) *gomock.Call
GetAsyncSearchesList indicates an expected call of GetAsyncSearchesList.
func (*MockClientMockRecorder) GetEvent ¶
func (mr *MockClientMockRecorder) GetEvent(arg0, arg1 any) *gomock.Call
GetEvent indicates an expected call of GetEvent.
func (*MockClientMockRecorder) GetFields ¶
func (mr *MockClientMockRecorder) GetFields(arg0, arg1 any) *gomock.Call
GetFields indicates an expected call of GetFields.
func (*MockClientMockRecorder) GetHistogram ¶
func (mr *MockClientMockRecorder) GetHistogram(arg0, arg1 any) *gomock.Call
GetHistogram indicates an expected call of GetHistogram.
func (*MockClientMockRecorder) Search ¶
func (mr *MockClientMockRecorder) Search(arg0, arg1 any) *gomock.Call
Search indicates an expected call of Search.
func (*MockClientMockRecorder) StartAsyncSearch ¶
func (mr *MockClientMockRecorder) StartAsyncSearch(arg0, arg1 any) *gomock.Call
StartAsyncSearch indicates an expected call of StartAsyncSearch.