mocks

package
v0.11.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 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 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 MockDataAccess

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

MockDataAccess is a mock of DataAccess interface

func NewMockDataAccess

func NewMockDataAccess(ctrl *gomock.Controller) *MockDataAccess

NewMockDataAccess creates a new mock instance

func (*MockDataAccess) Abort

func (m *MockDataAccess) Abort()

Abort mocks base method

func (*MockDataAccess) Begin

func (m *MockDataAccess) Begin() error

Begin mocks base method

func (*MockDataAccess) Commit

func (m *MockDataAccess) Commit() error

Commit mocks base method

func (*MockDataAccess) Delete

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

Delete mocks base method

func (*MockDataAccess) DumpTx

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

DumpTx mocks base method

func (*MockDataAccess) EXPECT

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

func (*MockDataAccess) Get

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

Get mocks base method

func (*MockDataAccess) Has

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

Has mocks base method

func (*MockDataAccess) InUse

func (m *MockDataAccess) InUse() bool

InUse mocks base method

func (*MockDataAccess) Iterator

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

Iterator mocks base method

func (*MockDataAccess) Put

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

Put mocks base method

type MockDataAccessMockRecorder

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

MockDataAccessMockRecorder is the mock recorder for MockDataAccess

func (*MockDataAccessMockRecorder) Abort

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

Abort indicates an expected call of Abort

func (*MockDataAccessMockRecorder) Begin

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

Begin indicates an expected call of Begin

func (*MockDataAccessMockRecorder) Commit

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

Commit indicates an expected call of Commit

func (*MockDataAccessMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockDataAccessMockRecorder) DumpTx

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

DumpTx indicates an expected call of DumpTx

func (*MockDataAccessMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockDataAccessMockRecorder) Has

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

Has indicates an expected call of Has

func (*MockDataAccessMockRecorder) InUse

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

InUse indicates an expected call of InUse

func (*MockDataAccessMockRecorder) Iterator

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

Iterator indicates an expected call of Iterator

func (*MockDataAccessMockRecorder) Put

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

Put indicates an expected call of Put

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