Documentation ¶
Index ¶
- type IKV
- func (_m *IKV) Close() error
- func (_m *IKV) Compact() error
- func (_m *IKV) Delete(key []byte) error
- func (_m *IKV) Get(key []byte) ([]byte, error)
- func (_m *IKV) GetSlice(key []byte) (openkv.ISlice, error)
- func (_m *IKV) NewIterator() *xdis_storageropenkv.Iterator
- func (_m *IKV) NewWriteBatch() *xdis_storageropenkv.WriteBatch
- func (_m *IKV) Put(key []byte, value []byte) error
- func (_m *IKV) RangeIterator(min []byte, max []byte, rangeType pkgdriver.RangeType) *xdis_storageropenkv.RangeLimitIterator
- func (_m *IKV) RangeLimitIterator(min []byte, max []byte, rangeType pkgdriver.RangeType, offset int, count int) *xdis_storageropenkv.RangeLimitIterator
- func (_m *IKV) RevRangeIterator(min []byte, max []byte, rangeType pkgdriver.RangeType) *xdis_storageropenkv.RangeLimitIterator
- func (_m *IKV) RevRangeLimitIterator(min []byte, max []byte, rangeType pkgdriver.RangeType, offset int, count int) *xdis_storageropenkv.RangeLimitIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IKV ¶
IKV is an autogenerated mock type for the IKV type
func NewIKV ¶
func NewIKV(t mockConstructorTestingTNewIKV) *IKV
NewIKV creates a new instance of IKV. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IKV) NewIterator ¶
func (_m *IKV) NewIterator() *xdis_storageropenkv.Iterator
NewIterator provides a mock function with given fields:
func (*IKV) NewWriteBatch ¶
func (_m *IKV) NewWriteBatch() *xdis_storageropenkv.WriteBatch
NewWriteBatch provides a mock function with given fields:
func (*IKV) RangeIterator ¶
func (_m *IKV) RangeIterator(min []byte, max []byte, rangeType pkgdriver.RangeType) *xdis_storageropenkv.RangeLimitIterator
RangeIterator provides a mock function with given fields: min, max, rangeType
func (*IKV) RangeLimitIterator ¶
func (_m *IKV) RangeLimitIterator(min []byte, max []byte, rangeType pkgdriver.RangeType, offset int, count int) *xdis_storageropenkv.RangeLimitIterator
RangeLimitIterator provides a mock function with given fields: min, max, rangeType, offset, count
func (*IKV) RevRangeIterator ¶
func (_m *IKV) RevRangeIterator(min []byte, max []byte, rangeType pkgdriver.RangeType) *xdis_storageropenkv.RangeLimitIterator
RevRangeIterator provides a mock function with given fields: min, max, rangeType
func (*IKV) RevRangeLimitIterator ¶
func (_m *IKV) RevRangeLimitIterator(min []byte, max []byte, rangeType pkgdriver.RangeType, offset int, count int) *xdis_storageropenkv.RangeLimitIterator
RevRangeLimitIterator provides a mock function with given fields: min, max, rangeType, offset, count