Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type Client
- func (_m *Client) Count(ctx context.Context, index string, query string) (int64, error)
- func (_m *Client) RunBulkProcessor(ctx context.Context, p *elasticsearch.BulkProcessorParameters) (*elastic.BulkProcessor, error)
- func (_m *Client) Scroll(ctx context.Context, scrollID string) (*elastic.SearchResult, elasticsearch.ScrollService, error)
- func (_m *Client) ScrollFirstPage(ctx context.Context, index string, query string) (*elastic.SearchResult, elasticsearch.ScrollService, error)
- func (_m *Client) Search(ctx context.Context, p *elasticsearch.SearchParameters) (*elastic.SearchResult, error)
- func (_m *Client) SearchWithDSL(ctx context.Context, index string, query string) (*elastic.SearchResult, error)
- type ScrollService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) Count ¶ added in v0.5.8
Count provides a mock function with given fields: ctx, index, query
func (*Client) RunBulkProcessor ¶
func (_m *Client) RunBulkProcessor(ctx context.Context, p *elasticsearch.BulkProcessorParameters) (*elastic.BulkProcessor, error)
RunBulkProcessor provides a mock function with given fields: ctx, p
func (*Client) Scroll ¶ added in v0.5.8
func (_m *Client) Scroll(ctx context.Context, scrollID string) (*elastic.SearchResult, elasticsearch.ScrollService, error)
Scroll provides a mock function with given fields: ctx, scrollID
func (*Client) ScrollFirstPage ¶ added in v0.5.8
func (_m *Client) ScrollFirstPage(ctx context.Context, index string, query string) (*elastic.SearchResult, elasticsearch.ScrollService, error)
ScrollFirstPage provides a mock function with given fields: ctx, index, query
func (*Client) Search ¶
func (_m *Client) Search(ctx context.Context, p *elasticsearch.SearchParameters) (*elastic.SearchResult, error)
Search provides a mock function with given fields: ctx, p
func (*Client) SearchWithDSL ¶ added in v0.5.7
func (_m *Client) SearchWithDSL(ctx context.Context, index string, query string) (*elastic.SearchResult, error)
SearchWithDSL provides a mock function with given fields: ctx, index, query
type ScrollService ¶ added in v0.5.8
ScrollService is an autogenerated mock type for the ScrollService type