Documentation ¶
Index ¶
- type Indexer
- func (_m *Indexer) Add(t interface{}) ([]indexer.IdxAddResult, error)
- func (_m *Indexer) AddIndex(t interface{}, indexBy option.IndexBy, pkName string, entityDirName string, ...) error
- func (_m *Indexer) Delete(t interface{}) error
- func (_m *Indexer) FindBy(t interface{}, fields ...indexer.Field) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶
Indexer is an autogenerated mock type for the Indexer type
func NewIndexer ¶ added in v2.3.0
func NewIndexer(t mockConstructorTestingTNewIndexer) *Indexer
NewIndexer creates a new instance of Indexer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Indexer) Add ¶
func (_m *Indexer) Add(t interface{}) ([]indexer.IdxAddResult, error)
Add provides a mock function with given fields: t
func (*Indexer) AddIndex ¶
func (_m *Indexer) AddIndex(t interface{}, indexBy option.IndexBy, pkName string, entityDirName string, indexType string, bound *option.Bound, caseInsensitive bool) error
AddIndex provides a mock function with given fields: t, indexBy, pkName, entityDirName, indexType, bound, caseInsensitive
Click to show internal directories.
Click to hide internal directories.