mockblevestore

package
v0.0.0-...-6d02989 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mockblevestore is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIndex

type MockIndex struct {
	// contains filtered or unexported fields
}

MockIndex is a mock of Index interface

func NewMockIndex

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

NewMockIndex creates a new mock instance

func (*MockIndex) Advanced

func (m *MockIndex) Advanced() (index.Index, store.KVStore, error)

Advanced mocks base method

func (*MockIndex) Batch

func (m *MockIndex) Batch(arg0 *bleve.Batch) error

Batch mocks base method

func (*MockIndex) Close

func (m *MockIndex) Close() error

Close mocks base method

func (*MockIndex) Delete

func (m *MockIndex) Delete(arg0 string) error

Delete mocks base method

func (*MockIndex) DeleteInternal

func (m *MockIndex) DeleteInternal(arg0 []byte) error

DeleteInternal mocks base method

func (*MockIndex) DocCount

func (m *MockIndex) DocCount() (uint64, error)

DocCount mocks base method

func (*MockIndex) Document

func (m *MockIndex) Document(arg0 string) (*document.Document, error)

Document mocks base method

func (*MockIndex) EXPECT

func (m *MockIndex) EXPECT() *MockIndexMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockIndex) FieldDict

func (m *MockIndex) FieldDict(arg0 string) (index.FieldDict, error)

FieldDict mocks base method

func (*MockIndex) FieldDictPrefix

func (m *MockIndex) FieldDictPrefix(arg0 string, arg1 []byte) (index.FieldDict, error)

FieldDictPrefix mocks base method

func (*MockIndex) FieldDictRange

func (m *MockIndex) FieldDictRange(arg0 string, arg1, arg2 []byte) (index.FieldDict, error)

FieldDictRange mocks base method

func (*MockIndex) Fields

func (m *MockIndex) Fields() ([]string, error)

Fields mocks base method

func (*MockIndex) GetInternal

func (m *MockIndex) GetInternal(arg0 []byte) ([]byte, error)

GetInternal mocks base method

func (*MockIndex) Index

func (m *MockIndex) Index(arg0 string, arg1 interface{}) error

Index mocks base method

func (*MockIndex) Mapping

func (m *MockIndex) Mapping() mapping.IndexMapping

Mapping mocks base method

func (*MockIndex) Name

func (m *MockIndex) Name() string

Name mocks base method

func (*MockIndex) NewBatch

func (m *MockIndex) NewBatch() *bleve.Batch

NewBatch mocks base method

func (*MockIndex) Search

func (m *MockIndex) Search(arg0 *bleve.SearchRequest) (*bleve.SearchResult, error)

Search mocks base method

func (*MockIndex) SearchInContext

func (m *MockIndex) SearchInContext(arg0 context.Context, arg1 *bleve.SearchRequest) (*bleve.SearchResult, error)

SearchInContext mocks base method

func (*MockIndex) SetInternal

func (m *MockIndex) SetInternal(arg0, arg1 []byte) error

SetInternal mocks base method

func (*MockIndex) SetName

func (m *MockIndex) SetName(arg0 string)

SetName mocks base method

func (*MockIndex) Stats

func (m *MockIndex) Stats() *bleve.IndexStat

Stats mocks base method

func (*MockIndex) StatsMap

func (m *MockIndex) StatsMap() map[string]interface{}

StatsMap mocks base method

type MockIndexMockRecorder

type MockIndexMockRecorder struct {
	// contains filtered or unexported fields
}

MockIndexMockRecorder is the mock recorder for MockIndex

func (*MockIndexMockRecorder) Advanced

func (mr *MockIndexMockRecorder) Advanced() *gomock.Call

Advanced indicates an expected call of Advanced

func (*MockIndexMockRecorder) Batch

func (mr *MockIndexMockRecorder) Batch(arg0 interface{}) *gomock.Call

Batch indicates an expected call of Batch

func (*MockIndexMockRecorder) Close

func (mr *MockIndexMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockIndexMockRecorder) Delete

func (mr *MockIndexMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockIndexMockRecorder) DeleteInternal

func (mr *MockIndexMockRecorder) DeleteInternal(arg0 interface{}) *gomock.Call

DeleteInternal indicates an expected call of DeleteInternal

func (*MockIndexMockRecorder) DocCount

func (mr *MockIndexMockRecorder) DocCount() *gomock.Call

DocCount indicates an expected call of DocCount

func (*MockIndexMockRecorder) Document

func (mr *MockIndexMockRecorder) Document(arg0 interface{}) *gomock.Call

Document indicates an expected call of Document

func (*MockIndexMockRecorder) FieldDict

func (mr *MockIndexMockRecorder) FieldDict(arg0 interface{}) *gomock.Call

FieldDict indicates an expected call of FieldDict

func (*MockIndexMockRecorder) FieldDictPrefix

func (mr *MockIndexMockRecorder) FieldDictPrefix(arg0, arg1 interface{}) *gomock.Call

FieldDictPrefix indicates an expected call of FieldDictPrefix

func (*MockIndexMockRecorder) FieldDictRange

func (mr *MockIndexMockRecorder) FieldDictRange(arg0, arg1, arg2 interface{}) *gomock.Call

FieldDictRange indicates an expected call of FieldDictRange

func (*MockIndexMockRecorder) Fields

func (mr *MockIndexMockRecorder) Fields() *gomock.Call

Fields indicates an expected call of Fields

func (*MockIndexMockRecorder) GetInternal

func (mr *MockIndexMockRecorder) GetInternal(arg0 interface{}) *gomock.Call

GetInternal indicates an expected call of GetInternal

func (*MockIndexMockRecorder) Index

func (mr *MockIndexMockRecorder) Index(arg0, arg1 interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockIndexMockRecorder) Mapping

func (mr *MockIndexMockRecorder) Mapping() *gomock.Call

Mapping indicates an expected call of Mapping

func (*MockIndexMockRecorder) Name

func (mr *MockIndexMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockIndexMockRecorder) NewBatch

func (mr *MockIndexMockRecorder) NewBatch() *gomock.Call

NewBatch indicates an expected call of NewBatch

func (*MockIndexMockRecorder) Search

func (mr *MockIndexMockRecorder) Search(arg0 interface{}) *gomock.Call

Search indicates an expected call of Search

func (*MockIndexMockRecorder) SearchInContext

func (mr *MockIndexMockRecorder) SearchInContext(arg0, arg1 interface{}) *gomock.Call

SearchInContext indicates an expected call of SearchInContext

func (*MockIndexMockRecorder) SetInternal

func (mr *MockIndexMockRecorder) SetInternal(arg0, arg1 interface{}) *gomock.Call

SetInternal indicates an expected call of SetInternal

func (*MockIndexMockRecorder) SetName

func (mr *MockIndexMockRecorder) SetName(arg0 interface{}) *gomock.Call

SetName indicates an expected call of SetName

func (*MockIndexMockRecorder) Stats

func (mr *MockIndexMockRecorder) Stats() *gomock.Call

Stats indicates an expected call of Stats

func (*MockIndexMockRecorder) StatsMap

func (mr *MockIndexMockRecorder) StatsMap() *gomock.Call

StatsMap indicates an expected call of StatsMap

Jump to

Keyboard shortcuts

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