mocks

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: ISC Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccess added in v0.12.0

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

MockAccess is a mock of Access interface

func NewMockAccess added in v0.12.0

func NewMockAccess(ctrl *gomock.Controller) *MockAccess

NewMockAccess creates a new mock instance

func (*MockAccess) Abort added in v0.12.0

func (m *MockAccess) Abort()

Abort mocks base method

func (*MockAccess) Begin added in v0.12.0

func (m *MockAccess) Begin() error

Begin mocks base method

func (*MockAccess) Commit added in v0.12.0

func (m *MockAccess) Commit() error

Commit mocks base method

func (*MockAccess) Delete added in v0.12.0

func (m *MockAccess) Delete(arg0 []byte)

Delete mocks base method

func (*MockAccess) DumpTx added in v0.12.0

func (m *MockAccess) DumpTx() []byte

DumpTx mocks base method

func (*MockAccess) EXPECT added in v0.12.0

func (m *MockAccess) EXPECT() *MockAccessMockRecorder

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

func (*MockAccess) Get added in v0.12.0

func (m *MockAccess) Get(arg0 []byte) ([]byte, error)

Get mocks base method

func (*MockAccess) Has added in v0.12.0

func (m *MockAccess) Has(arg0 []byte) (bool, error)

Has mocks base method

func (*MockAccess) InUse added in v0.12.0

func (m *MockAccess) InUse() bool

InUse mocks base method

func (*MockAccess) Iterator added in v0.12.0

func (m *MockAccess) Iterator(arg0 *util.Range) iterator.Iterator

Iterator mocks base method

func (*MockAccess) Put added in v0.12.0

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

Put mocks base method

type MockAccessMockRecorder added in v0.12.0

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

MockAccessMockRecorder is the mock recorder for MockAccess

func (*MockAccessMockRecorder) Abort added in v0.12.0

func (mr *MockAccessMockRecorder) Abort() *gomock.Call

Abort indicates an expected call of Abort

func (*MockAccessMockRecorder) Begin added in v0.12.0

func (mr *MockAccessMockRecorder) Begin() *gomock.Call

Begin indicates an expected call of Begin

func (*MockAccessMockRecorder) Commit added in v0.12.0

func (mr *MockAccessMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit

func (*MockAccessMockRecorder) Delete added in v0.12.0

func (mr *MockAccessMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockAccessMockRecorder) DumpTx added in v0.12.0

func (mr *MockAccessMockRecorder) DumpTx() *gomock.Call

DumpTx indicates an expected call of DumpTx

func (*MockAccessMockRecorder) Get added in v0.12.0

func (mr *MockAccessMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockAccessMockRecorder) Has added in v0.12.0

func (mr *MockAccessMockRecorder) Has(arg0 interface{}) *gomock.Call

Has indicates an expected call of Has

func (*MockAccessMockRecorder) InUse added in v0.12.0

func (mr *MockAccessMockRecorder) InUse() *gomock.Call

InUse indicates an expected call of InUse

func (*MockAccessMockRecorder) Iterator added in v0.12.0

func (mr *MockAccessMockRecorder) Iterator(arg0 interface{}) *gomock.Call

Iterator indicates an expected call of Iterator

func (*MockAccessMockRecorder) Put added in v0.12.0

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

Put indicates an expected call of Put

type MockCache

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

MockCache is a mock of Cache interface

func NewMockCache

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance

func (*MockCache) Clear

func (m *MockCache) Clear()

Clear mocks base method

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) Get

func (m *MockCache) Get(arg0 string) ([]byte, bool)

Get mocks base method

func (*MockCache) Set

func (m *MockCache) Set(arg0 int, arg1 string, arg2 []byte)

Set mocks base method

type MockCacheMockRecorder

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

MockCacheMockRecorder is the mock recorder for MockCache

func (*MockCacheMockRecorder) Clear

func (mr *MockCacheMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear

func (*MockCacheMockRecorder) Get

func (mr *MockCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockCacheMockRecorder) Set

func (mr *MockCacheMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call

Set indicates an expected call of Set

type MockHandle

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

MockHandle is a mock of Handle interface

func NewMockHandle

func NewMockHandle(ctrl *gomock.Controller) *MockHandle

NewMockHandle creates a new mock instance

func (*MockHandle) Begin

func (m *MockHandle) Begin()

Begin mocks base method

func (*MockHandle) Commit

func (m *MockHandle) Commit() error

Commit mocks base method

func (*MockHandle) EXPECT

func (m *MockHandle) EXPECT() *MockHandleMockRecorder

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

func (*MockHandle) Get

func (m *MockHandle) Get(arg0 []byte) []byte

Get mocks base method

func (*MockHandle) GetN

func (m *MockHandle) GetN(arg0 []byte) (uint64, bool)

GetN mocks base method

func (*MockHandle) GetNB

func (m *MockHandle) GetNB(arg0 []byte) (uint64, []byte)

GetNB mocks base method

func (*MockHandle) Has

func (m *MockHandle) Has(arg0 []byte) bool

Has mocks base method

type MockHandleMockRecorder

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

MockHandleMockRecorder is the mock recorder for MockHandle

func (*MockHandleMockRecorder) Begin

func (mr *MockHandleMockRecorder) Begin() *gomock.Call

Begin indicates an expected call of Begin

func (*MockHandleMockRecorder) Commit

func (mr *MockHandleMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit

func (*MockHandleMockRecorder) Get

func (mr *MockHandleMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockHandleMockRecorder) GetN

func (mr *MockHandleMockRecorder) GetN(arg0 interface{}) *gomock.Call

GetN indicates an expected call of GetN

func (*MockHandleMockRecorder) GetNB

func (mr *MockHandleMockRecorder) GetNB(arg0 interface{}) *gomock.Call

GetNB indicates an expected call of GetNB

func (*MockHandleMockRecorder) Has

func (mr *MockHandleMockRecorder) Has(arg0 interface{}) *gomock.Call

Has indicates an expected call of Has

Jump to

Keyboard shortcuts

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