db_mock

package
v3.11.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package db_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMVCCDB

type MockMVCCDB struct {
	// contains filtered or unexported fields
}

MockMVCCDB is a mock of MVCCDB interface

func NewMockMVCCDB

func NewMockMVCCDB(ctrl *gomock.Controller) *MockMVCCDB

NewMockMVCCDB creates a new mock instance

func (*MockMVCCDB) Checkout

func (m *MockMVCCDB) Checkout(arg0 string) bool

Checkout mocks base method

func (*MockMVCCDB) Close

func (m *MockMVCCDB) Close() error

Close mocks base method

func (*MockMVCCDB) Commit

func (m *MockMVCCDB) Commit(arg0 string)

Commit mocks base method

func (*MockMVCCDB) CurrentTag

func (m *MockMVCCDB) CurrentTag() string

CurrentTag mocks base method

func (*MockMVCCDB) Del

func (m *MockMVCCDB) Del(arg0, arg1 string) error

Del mocks base method

func (*MockMVCCDB) EXPECT

func (m *MockMVCCDB) EXPECT() *MockMVCCDBMockRecorder

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

func (*MockMVCCDB) Flush

func (m *MockMVCCDB) Flush(arg0 string) error

Flush mocks base method

func (*MockMVCCDB) Fork

func (m *MockMVCCDB) Fork() db.MVCCDB

Fork mocks base method

func (*MockMVCCDB) Get

func (m *MockMVCCDB) Get(arg0, arg1 string) (string, error)

Get mocks base method

func (*MockMVCCDB) Has

func (m *MockMVCCDB) Has(arg0, arg1 string) (bool, error)

Has mocks base method

func (*MockMVCCDB) KeysByRange

func (m *MockMVCCDB) KeysByRange(arg0, arg1, arg2 string, arg3 int) ([]string, error)

KeysByRange mocks base method

func (*MockMVCCDB) Put

func (m *MockMVCCDB) Put(arg0, arg1, arg2 string) error

Put mocks base method

func (*MockMVCCDB) Size

func (m *MockMVCCDB) Size() (int64, error)

Size mocks base method

type MockMVCCDBMockRecorder

type MockMVCCDBMockRecorder struct {
	// contains filtered or unexported fields
}

MockMVCCDBMockRecorder is the mock recorder for MockMVCCDB

func (*MockMVCCDBMockRecorder) Checkout

func (mr *MockMVCCDBMockRecorder) Checkout(arg0 interface{}) *gomock.Call

Checkout indicates an expected call of Checkout

func (*MockMVCCDBMockRecorder) Close

func (mr *MockMVCCDBMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockMVCCDBMockRecorder) Commit

func (mr *MockMVCCDBMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockMVCCDBMockRecorder) CurrentTag

func (mr *MockMVCCDBMockRecorder) CurrentTag() *gomock.Call

CurrentTag indicates an expected call of CurrentTag

func (*MockMVCCDBMockRecorder) Del

func (mr *MockMVCCDBMockRecorder) Del(arg0, arg1 interface{}) *gomock.Call

Del indicates an expected call of Del

func (*MockMVCCDBMockRecorder) Flush

func (mr *MockMVCCDBMockRecorder) Flush(arg0 interface{}) *gomock.Call

Flush indicates an expected call of Flush

func (*MockMVCCDBMockRecorder) Fork

func (mr *MockMVCCDBMockRecorder) Fork() *gomock.Call

Fork indicates an expected call of Fork

func (*MockMVCCDBMockRecorder) Get

func (mr *MockMVCCDBMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockMVCCDBMockRecorder) Has

func (mr *MockMVCCDBMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call

Has indicates an expected call of Has

func (*MockMVCCDBMockRecorder) KeysByRange

func (mr *MockMVCCDBMockRecorder) KeysByRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

KeysByRange indicates an expected call of KeysByRange

func (*MockMVCCDBMockRecorder) Put

func (mr *MockMVCCDBMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockMVCCDBMockRecorder) Size

func (mr *MockMVCCDBMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size

Jump to

Keyboard shortcuts

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