mocks

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Count added in v0.5.8

func (_m *Client) Count(ctx context.Context, index string, query string) (int64, error)

Count provides a mock function with given fields: ctx, index, query

func (*Client) CreateIndex added in v0.7.0

func (_m *Client) CreateIndex(ctx context.Context, index string) error

CreateIndex provides a mock function with given fields: ctx, index

func (*Client) PutMapping added in v0.6.0

func (_m *Client) PutMapping(ctx context.Context, index string, root string, key string, valueType string) error

PutMapping provides a mock function with given fields: ctx, index, root, key, valueType

func (*Client) RunBulkProcessor

RunBulkProcessor provides a mock function with given fields: ctx, p

func (*Client) Scroll added in v0.5.8

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

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

type ScrollService struct {
	mock.Mock
}

ScrollService is an autogenerated mock type for the ScrollService type

func (*ScrollService) Clear added in v0.5.8

func (_m *ScrollService) Clear(ctx context.Context) error

Clear provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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