mocks

package
v0.0.0-...-c602644 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IKV

type IKV struct {
	mock.Mock
}

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) Close

func (_m *IKV) Close() error

Close provides a mock function with given fields:

func (*IKV) Compact

func (_m *IKV) Compact() error

Compact provides a mock function with given fields:

func (*IKV) Delete

func (_m *IKV) Delete(key []byte) error

Delete provides a mock function with given fields: key

func (*IKV) Get

func (_m *IKV) Get(key []byte) ([]byte, error)

Get provides a mock function with given fields: key

func (*IKV) GetSlice

func (_m *IKV) GetSlice(key []byte) (openkv.ISlice, error)

GetSlice provides a mock function with given fields: key

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) Put

func (_m *IKV) Put(key []byte, value []byte) error

Put provides a mock function with given fields: key, value

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

Jump to

Keyboard shortcuts

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