databasemock

package
v1.11.11-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package databasemock is a generated GoMock package.

Package databasemock is a generated GoMock package.

Index

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 NewBatch

func NewBatch(ctrl *gomock.Controller) *Batch

NewBatch creates a new mock instance.

func (*Batch) Delete

func (m *Batch) Delete(arg0 []byte) error

Delete mocks base method.

func (*Batch) EXPECT

func (m *Batch) EXPECT() *BatchMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Batch) Inner

func (m *Batch) Inner() database.Batch

Inner mocks base method.

func (*Batch) Put

func (m *Batch) Put(arg0, arg1 []byte) error

Put mocks base method.

func (*Batch) Replay

func (m *Batch) Replay(arg0 database.KeyValueWriterDeleter) error

Replay mocks base method.

func (*Batch) Reset

func (m *Batch) Reset()

Reset mocks base method.

func (*Batch) Size

func (m *Batch) Size() int

Size mocks base method.

func (*Batch) Write

func (m *Batch) Write() error

Write mocks base method.

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.

func (*Iterator) Error

func (m *Iterator) Error() error

Error mocks base method.

func (*Iterator) Key

func (m *Iterator) Key() []byte

Key mocks base method.

func (*Iterator) Next

func (m *Iterator) Next() bool

Next mocks base method.

func (*Iterator) Release

func (m *Iterator) Release()

Release mocks base method.

func (*Iterator) Value

func (m *Iterator) Value() []byte

Value mocks base method.

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.

Jump to

Keyboard shortcuts

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