Documentation ¶
Overview ¶
Package databasemock is a generated GoMock package.
Package databasemock is a generated GoMock package.
Index ¶
- type Batch
- func (m *Batch) Delete(arg0 []byte) error
- func (m *Batch) EXPECT() *BatchMockRecorder
- func (m *Batch) Inner() database.Batch
- func (m *Batch) Put(arg0, arg1 []byte) error
- func (m *Batch) Replay(arg0 database.KeyValueWriterDeleter) error
- func (m *Batch) Reset()
- func (m *Batch) Size() int
- func (m *Batch) Write() error
- type BatchMockRecorder
- func (mr *BatchMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *BatchMockRecorder) Inner() *gomock.Call
- func (mr *BatchMockRecorder) Put(arg0, arg1 any) *gomock.Call
- func (mr *BatchMockRecorder) Replay(arg0 any) *gomock.Call
- func (mr *BatchMockRecorder) Reset() *gomock.Call
- func (mr *BatchMockRecorder) Size() *gomock.Call
- func (mr *BatchMockRecorder) Write() *gomock.Call
- type Iterator
- type IteratorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
Batch is a mock of Batch interface.
func (*Batch) EXPECT ¶
func (m *Batch) EXPECT() *BatchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type BatchMockRecorder ¶
type BatchMockRecorder struct {
// contains filtered or unexported fields
}
BatchMockRecorder is the mock recorder for Batch.
func (*BatchMockRecorder) Delete ¶
func (mr *BatchMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*BatchMockRecorder) Inner ¶
func (mr *BatchMockRecorder) Inner() *gomock.Call
Inner indicates an expected call of Inner.
func (*BatchMockRecorder) Put ¶
func (mr *BatchMockRecorder) Put(arg0, arg1 any) *gomock.Call
Put indicates an expected call of Put.
func (*BatchMockRecorder) Replay ¶
func (mr *BatchMockRecorder) Replay(arg0 any) *gomock.Call
Replay indicates an expected call of Replay.
func (*BatchMockRecorder) Reset ¶
func (mr *BatchMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*BatchMockRecorder) Size ¶
func (mr *BatchMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*BatchMockRecorder) Write ¶
func (mr *BatchMockRecorder) Write() *gomock.Call
Write indicates an expected call of Write.
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
Iterator is a mock of Iterator interface.
func NewIterator ¶
func NewIterator(ctrl *gomock.Controller) *Iterator
NewIterator creates a new mock instance.
func (*Iterator) EXPECT ¶
func (m *Iterator) EXPECT() *IteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type IteratorMockRecorder ¶
type IteratorMockRecorder struct {
// contains filtered or unexported fields
}
IteratorMockRecorder is the mock recorder for Iterator.
func (*IteratorMockRecorder) Error ¶
func (mr *IteratorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*IteratorMockRecorder) Key ¶
func (mr *IteratorMockRecorder) Key() *gomock.Call
Key indicates an expected call of Key.
func (*IteratorMockRecorder) Next ¶
func (mr *IteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*IteratorMockRecorder) Release ¶
func (mr *IteratorMockRecorder) Release() *gomock.Call
Release indicates an expected call of Release.
func (*IteratorMockRecorder) Value ¶
func (mr *IteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.