mocks

package
v1.2.9-prerelease6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericClient added in v0.17.0

type GenericClient struct {
	mock.Mock
}

GenericClient is an autogenerated mock type for the GenericClient type

func (*GenericClient) CountByQuery added in v0.17.0

func (_m *GenericClient) CountByQuery(ctx context.Context, index string, query string) (int64, error)

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

func (*GenericClient) CreateIndex added in v0.17.0

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

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

func (*GenericClient) IsNotFoundError added in v0.17.0

func (_m *GenericClient) IsNotFoundError(err error) bool

IsNotFoundError provides a mock function with given fields: err

func (*GenericClient) PutMapping added in v0.17.0

func (_m *GenericClient) 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 (*GenericClient) RunBulkProcessor added in v0.17.0

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

func (*GenericClient) ScanByQuery added in v0.17.0

ScanByQuery provides a mock function with given fields: ctx, request

func (*GenericClient) Search added in v0.17.0

Search provides a mock function with given fields: ctx, request

func (*GenericClient) SearchByQuery added in v0.17.0

SearchByQuery provides a mock function with given fields: ctx, request

func (*GenericClient) SearchForOneClosedExecution added in v0.17.0

SearchForOneClosedExecution provides a mock function with given fields: ctx, index, request

func (*GenericClient) SearchRaw added in v0.24.0

func (_m *GenericClient) SearchRaw(ctx context.Context, index string, query string) (*elasticsearch.RawResponse, error)

Jump to

Keyboard shortcuts

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