Versions in this module Expand all Collapse all v0 v0.47.0 Aug 13, 2022 Changes in this version + type MockConnection struct + func NewMockConnection(ctrl *gomock.Controller) *MockConnection + func (m *MockConnection) Close() error + func (m *MockConnection) DeleteVersion(arg0 uint64) error + func (m *MockConnection) EXPECT() *MockConnectionMockRecorder + func (m *MockConnection) ReadWriter() db.ReadWriter + func (m *MockConnection) Reader() db.Reader + func (m *MockConnection) ReaderAt(arg0 uint64) (db.Reader, error) + func (m *MockConnection) Revert() error + func (m *MockConnection) SaveNextVersion() (uint64, error) + func (m *MockConnection) SaveVersion(arg0 uint64) error + func (m *MockConnection) Versions() (db.VersionSet, error) + func (m *MockConnection) Writer() db.Writer + type MockConnectionMockRecorder struct + func (mr *MockConnectionMockRecorder) Close() *gomock.Call + func (mr *MockConnectionMockRecorder) DeleteVersion(arg0 interface{}) *gomock.Call + func (mr *MockConnectionMockRecorder) ReadWriter() *gomock.Call + func (mr *MockConnectionMockRecorder) Reader() *gomock.Call + func (mr *MockConnectionMockRecorder) ReaderAt(arg0 interface{}) *gomock.Call + func (mr *MockConnectionMockRecorder) Revert() *gomock.Call + func (mr *MockConnectionMockRecorder) SaveNextVersion() *gomock.Call + func (mr *MockConnectionMockRecorder) SaveVersion(arg0 interface{}) *gomock.Call + func (mr *MockConnectionMockRecorder) Versions() *gomock.Call + func (mr *MockConnectionMockRecorder) Writer() *gomock.Call + type MockDBReadWriter struct + func NewMockDBReadWriter(ctrl *gomock.Controller) *MockDBReadWriter + func (m *MockDBReadWriter) Commit() error + func (m *MockDBReadWriter) Delete(arg0 []byte) error + func (m *MockDBReadWriter) Discard() error + func (m *MockDBReadWriter) EXPECT() *MockDBReadWriterMockRecorder + func (m *MockDBReadWriter) Get(arg0 []byte) ([]byte, error) + func (m *MockDBReadWriter) Has(key []byte) (bool, error) + func (m *MockDBReadWriter) Iterator(start, end []byte) (db.Iterator, error) + func (m *MockDBReadWriter) ReverseIterator(start, end []byte) (db.Iterator, error) + func (m *MockDBReadWriter) Set(arg0, arg1 []byte) error + type MockDBReadWriterMockRecorder struct + func (mr *MockDBReadWriterMockRecorder) Commit() *gomock.Call + func (mr *MockDBReadWriterMockRecorder) Delete(arg0 interface{}) *gomock.Call + func (mr *MockDBReadWriterMockRecorder) Discard() *gomock.Call + func (mr *MockDBReadWriterMockRecorder) Get(arg0 interface{}) *gomock.Call + func (mr *MockDBReadWriterMockRecorder) Has(key interface{}) *gomock.Call + func (mr *MockDBReadWriterMockRecorder) Iterator(start, end interface{}) *gomock.Call + func (mr *MockDBReadWriterMockRecorder) ReverseIterator(start, end interface{}) *gomock.Call + func (mr *MockDBReadWriterMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call + type MockDBReader struct + func NewMockDBReader(ctrl *gomock.Controller) *MockDBReader + func (m *MockDBReader) Discard() error + func (m *MockDBReader) EXPECT() *MockDBReaderMockRecorder + func (m *MockDBReader) Get(arg0 []byte) ([]byte, error) + func (m *MockDBReader) Has(key []byte) (bool, error) + func (m *MockDBReader) Iterator(start, end []byte) (db.Iterator, error) + func (m *MockDBReader) ReverseIterator(start, end []byte) (db.Iterator, error) + type MockDBReaderMockRecorder struct + func (mr *MockDBReaderMockRecorder) Discard() *gomock.Call + func (mr *MockDBReaderMockRecorder) Get(arg0 interface{}) *gomock.Call + func (mr *MockDBReaderMockRecorder) Has(key interface{}) *gomock.Call + func (mr *MockDBReaderMockRecorder) Iterator(start, end interface{}) *gomock.Call + func (mr *MockDBReaderMockRecorder) ReverseIterator(start, end interface{}) *gomock.Call + type MockDBWriter struct + func NewMockDBWriter(ctrl *gomock.Controller) *MockDBWriter + func (m *MockDBWriter) Commit() error + func (m *MockDBWriter) Delete(arg0 []byte) error + func (m *MockDBWriter) Discard() error + func (m *MockDBWriter) EXPECT() *MockDBWriterMockRecorder + func (m *MockDBWriter) Set(arg0, arg1 []byte) error + type MockDBWriterMockRecorder struct + func (mr *MockDBWriterMockRecorder) Commit() *gomock.Call + func (mr *MockDBWriterMockRecorder) Delete(arg0 interface{}) *gomock.Call + func (mr *MockDBWriterMockRecorder) Discard() *gomock.Call + func (mr *MockDBWriterMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call + type MockIterator struct + func NewMockIterator(ctrl *gomock.Controller) *MockIterator + func (m *MockIterator) Close() error + func (m *MockIterator) Domain() ([]byte, []byte) + func (m *MockIterator) EXPECT() *MockIteratorMockRecorder + func (m *MockIterator) Error() error + func (m *MockIterator) Key() []byte + func (m *MockIterator) Next() bool + func (m *MockIterator) Value() []byte + type MockIteratorMockRecorder struct + func (mr *MockIteratorMockRecorder) Close() *gomock.Call + func (mr *MockIteratorMockRecorder) Domain() *gomock.Call + func (mr *MockIteratorMockRecorder) Error() *gomock.Call + func (mr *MockIteratorMockRecorder) Key() *gomock.Call + func (mr *MockIteratorMockRecorder) Next() *gomock.Call + func (mr *MockIteratorMockRecorder) Value() *gomock.Call + type MockVersionIterator struct + func NewMockVersionIterator(ctrl *gomock.Controller) *MockVersionIterator + func (m *MockVersionIterator) EXPECT() *MockVersionIteratorMockRecorder + func (m *MockVersionIterator) Next() bool + func (m *MockVersionIterator) Value() uint64 + type MockVersionIteratorMockRecorder struct + func (mr *MockVersionIteratorMockRecorder) Next() *gomock.Call + func (mr *MockVersionIteratorMockRecorder) Value() *gomock.Call + type MockVersionSet struct + func NewMockVersionSet(ctrl *gomock.Controller) *MockVersionSet + func (m *MockVersionSet) Count() int + func (m *MockVersionSet) EXPECT() *MockVersionSetMockRecorder + func (m *MockVersionSet) Equal(arg0 db.VersionSet) bool + func (m *MockVersionSet) Exists(arg0 uint64) bool + func (m *MockVersionSet) Iterator() db.VersionIterator + func (m *MockVersionSet) Last() uint64 + type MockVersionSetMockRecorder struct + func (mr *MockVersionSetMockRecorder) Count() *gomock.Call + func (mr *MockVersionSetMockRecorder) Equal(arg0 interface{}) *gomock.Call + func (mr *MockVersionSetMockRecorder) Exists(arg0 interface{}) *gomock.Call + func (mr *MockVersionSetMockRecorder) Iterator() *gomock.Call + func (mr *MockVersionSetMockRecorder) Last() *gomock.Call