Documentation ¶
Overview ¶
Package mockblevestore is a generated GoMock package.
Index ¶
- type MockIndex
- func (m *MockIndex) Advanced() (index.Index, store.KVStore, error)
- func (m *MockIndex) Batch(arg0 *bleve.Batch) error
- func (m *MockIndex) Close() error
- func (m *MockIndex) Delete(arg0 string) error
- func (m *MockIndex) DeleteInternal(arg0 []byte) error
- func (m *MockIndex) DocCount() (uint64, error)
- func (m *MockIndex) Document(arg0 string) (*document.Document, error)
- func (m *MockIndex) EXPECT() *MockIndexMockRecorder
- func (m *MockIndex) FieldDict(arg0 string) (index.FieldDict, error)
- func (m *MockIndex) FieldDictPrefix(arg0 string, arg1 []byte) (index.FieldDict, error)
- func (m *MockIndex) FieldDictRange(arg0 string, arg1, arg2 []byte) (index.FieldDict, error)
- func (m *MockIndex) Fields() ([]string, error)
- func (m *MockIndex) GetInternal(arg0 []byte) ([]byte, error)
- func (m *MockIndex) Index(arg0 string, arg1 interface{}) error
- func (m *MockIndex) Mapping() mapping.IndexMapping
- func (m *MockIndex) Name() string
- func (m *MockIndex) NewBatch() *bleve.Batch
- func (m *MockIndex) Search(arg0 *bleve.SearchRequest) (*bleve.SearchResult, error)
- func (m *MockIndex) SearchInContext(arg0 context.Context, arg1 *bleve.SearchRequest) (*bleve.SearchResult, error)
- func (m *MockIndex) SetInternal(arg0, arg1 []byte) error
- func (m *MockIndex) SetName(arg0 string)
- func (m *MockIndex) Stats() *bleve.IndexStat
- func (m *MockIndex) StatsMap() map[string]interface{}
- type MockIndexMockRecorder
- func (mr *MockIndexMockRecorder) Advanced() *gomock.Call
- func (mr *MockIndexMockRecorder) Batch(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Close() *gomock.Call
- func (mr *MockIndexMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) DeleteInternal(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) DocCount() *gomock.Call
- func (mr *MockIndexMockRecorder) Document(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) FieldDict(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) FieldDictPrefix(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) FieldDictRange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Fields() *gomock.Call
- func (mr *MockIndexMockRecorder) GetInternal(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Index(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Mapping() *gomock.Call
- func (mr *MockIndexMockRecorder) Name() *gomock.Call
- func (mr *MockIndexMockRecorder) NewBatch() *gomock.Call
- func (mr *MockIndexMockRecorder) Search(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) SearchInContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) SetInternal(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) SetName(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Stats() *gomock.Call
- func (mr *MockIndexMockRecorder) StatsMap() *gomock.Call
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) DeleteInternal ¶
DeleteInternal 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) FieldDictPrefix ¶
FieldDictPrefix mocks base method
func (*MockIndex) FieldDictRange ¶
FieldDictRange mocks base method
func (*MockIndex) GetInternal ¶
GetInternal mocks base method
func (*MockIndex) Mapping ¶
func (m *MockIndex) Mapping() mapping.IndexMapping
Mapping 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 ¶
SetInternal 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