mocks

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticBulkProcessor

type ElasticBulkProcessor struct {
	mock.Mock
}

ElasticBulkProcessor is an autogenerated mock type for the ElasticBulkProcessor type

func (*ElasticBulkProcessor) Add

func (_m *ElasticBulkProcessor) Add(request elastic.BulkableRequest)

Add provides a mock function with given fields: request

func (*ElasticBulkProcessor) Close

func (_m *ElasticBulkProcessor) Close() error

Close provides a mock function with given fields:

func (*ElasticBulkProcessor) Flush

func (_m *ElasticBulkProcessor) Flush() error

Flush provides a mock function with given fields:

func (*ElasticBulkProcessor) Start

func (_m *ElasticBulkProcessor) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

func (*ElasticBulkProcessor) Stats

Stats provides a mock function with given fields:

func (*ElasticBulkProcessor) Stop

func (_m *ElasticBulkProcessor) Stop() error

Stop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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