Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type Client
- func (_m *Client) RunBulkProcessor(ctx context.Context, p *elasticsearch.BulkProcessorParameters) (*elastic.BulkProcessor, error)
- func (_m *Client) Search(ctx context.Context, p *elasticsearch.SearchParameters) (*elastic.SearchResult, error)
- func (_m *Client) SearchWithDSL(ctx context.Context, index, query string) (*elastic.SearchResult, error)
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) 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) 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, query string) (*elastic.SearchResult, error)
SearchWithDSL provides a mock function with given fields: ctx, index, query
Click to show internal directories.
Click to hide internal directories.