mocks

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: ISC Imports: 3 Imported by: 0

Documentation

Overview

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 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

func (*MockHandle) LastElement

func (m *MockHandle) LastElement() (storage.Element, bool)

LastElement mocks base method

func (*MockHandle) NewFetchCursor

func (m *MockHandle) NewFetchCursor() *storage.FetchCursor

NewFetchCursor mocks base method

func (*MockHandle) Put

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

Put mocks base method

func (*MockHandle) PutN

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

PutN mocks base method

func (*MockHandle) Ready

func (m *MockHandle) Ready() bool

Ready mocks base method

func (*MockHandle) Remove

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

Remove 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

func (*MockHandleMockRecorder) LastElement

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

LastElement indicates an expected call of LastElement

func (*MockHandleMockRecorder) NewFetchCursor

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

NewFetchCursor indicates an expected call of NewFetchCursor

func (*MockHandleMockRecorder) Put

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

Put indicates an expected call of Put

func (*MockHandleMockRecorder) PutN

func (mr *MockHandleMockRecorder) PutN(arg0, arg1 interface{}) *gomock.Call

PutN indicates an expected call of PutN

func (*MockHandleMockRecorder) Ready

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

Ready indicates an expected call of Ready

func (*MockHandleMockRecorder) Remove

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

Remove indicates an expected call of Remove

type MockQuery

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

MockQuery is a mock of Query interface

func NewMockQuery

func NewMockQuery(ctrl *gomock.Controller) *MockQuery

NewMockQuery creates a new mock instance

func (*MockQuery) EXPECT

func (m *MockQuery) EXPECT() *MockQueryMockRecorder

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

func (*MockQuery) Has

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

Has mocks base method

func (*MockQuery) Ready

func (m *MockQuery) Ready() bool

Ready mocks base method

type MockQueryMockRecorder

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

MockQueryMockRecorder is the mock recorder for MockQuery

func (*MockQueryMockRecorder) Has

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

Has indicates an expected call of Has

func (*MockQueryMockRecorder) Ready

func (mr *MockQueryMockRecorder) Ready() *gomock.Call

Ready indicates an expected call of Ready

type MockRetrieve

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

MockRetrieve is a mock of Retrieve interface

func NewMockRetrieve

func NewMockRetrieve(ctrl *gomock.Controller) *MockRetrieve

NewMockRetrieve creates a new mock instance

func (*MockRetrieve) EXPECT

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

func (*MockRetrieve) Get

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

Get mocks base method

func (*MockRetrieve) GetN

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

GetN mocks base method

func (*MockRetrieve) GetNB

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

GetNB mocks base method

func (*MockRetrieve) LastElement

func (m *MockRetrieve) LastElement() (storage.Element, bool)

LastElement mocks base method

func (*MockRetrieve) NewFetchCursor

func (m *MockRetrieve) NewFetchCursor() *storage.FetchCursor

NewFetchCursor mocks base method

type MockRetrieveMockRecorder

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

MockRetrieveMockRecorder is the mock recorder for MockRetrieve

func (*MockRetrieveMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockRetrieveMockRecorder) GetN

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

GetN indicates an expected call of GetN

func (*MockRetrieveMockRecorder) GetNB

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

GetNB indicates an expected call of GetNB

func (*MockRetrieveMockRecorder) LastElement

func (mr *MockRetrieveMockRecorder) LastElement() *gomock.Call

LastElement indicates an expected call of LastElement

func (*MockRetrieveMockRecorder) NewFetchCursor

func (mr *MockRetrieveMockRecorder) NewFetchCursor() *gomock.Call

NewFetchCursor indicates an expected call of NewFetchCursor

type MockUpdate

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

MockUpdate is a mock of Update interface

func NewMockUpdate

func NewMockUpdate(ctrl *gomock.Controller) *MockUpdate

NewMockUpdate creates a new mock instance

func (*MockUpdate) EXPECT

func (m *MockUpdate) EXPECT() *MockUpdateMockRecorder

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

func (*MockUpdate) Put

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

Put mocks base method

func (*MockUpdate) PutN

func (m *MockUpdate) PutN(arg0 []byte, arg1 uint64)

PutN mocks base method

func (*MockUpdate) Remove

func (m *MockUpdate) Remove(arg0 []byte)

Remove mocks base method

type MockUpdateMockRecorder

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

MockUpdateMockRecorder is the mock recorder for MockUpdate

func (*MockUpdateMockRecorder) Put

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

Put indicates an expected call of Put

func (*MockUpdateMockRecorder) PutN

func (mr *MockUpdateMockRecorder) PutN(arg0, arg1 interface{}) *gomock.Call

PutN indicates an expected call of PutN

func (*MockUpdateMockRecorder) Remove

func (mr *MockUpdateMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove

Jump to

Keyboard shortcuts

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