mocks

package
v0.14.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: ISC Imports: 13 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.

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 MockAnnounce

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

MockAnnounce is a mock of Announce interface

func NewMockAnnounce

func NewMockAnnounce(ctrl *gomock.Controller) *MockAnnounce

NewMockAnnounce creates a new mock instance

func (*MockAnnounce) EXPECT

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

func (*MockAnnounce) Fetch

func (m *MockAnnounce) Fetch(arg0 uint64, arg1 int) ([]rpc.Entry, uint64, error)

Fetch mocks base method

func (*MockAnnounce) Set

func (m *MockAnnounce) Set(arg0 fingerprint.Fingerprint, arg1 []byte) error

Set mocks base method

type MockAnnounceMockRecorder

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

MockAnnounceMockRecorder is the mock recorder for MockAnnounce

func (*MockAnnounceMockRecorder) Fetch

func (mr *MockAnnounceMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

func (*MockAnnounceMockRecorder) Set

func (mr *MockAnnounceMockRecorder) Set(arg0, arg1 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

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 MockOwnership

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

MockOwnership is a mock of Ownership interface

func NewMockOwnership

func NewMockOwnership(ctrl *gomock.Controller) *MockOwnership

NewMockOwnership creates a new mock instance

func (*MockOwnership) EXPECT

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

func (*MockOwnership) ListBitmarksFor

func (m *MockOwnership) ListBitmarksFor(arg0 *account.Account, arg1 uint64, arg2 int) ([]ownership.Record, error)

ListBitmarksFor mocks base method

type MockOwnershipMockRecorder

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

MockOwnershipMockRecorder is the mock recorder for MockOwnership

func (*MockOwnershipMockRecorder) ListBitmarksFor

func (mr *MockOwnershipMockRecorder) ListBitmarksFor(arg0, arg1, arg2 interface{}) *gomock.Call

ListBitmarksFor indicates an expected call of ListBitmarksFor

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 MockRecord

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

MockRecord is a mock of Record interface

func NewMockRecord

func NewMockRecord(ctrl *gomock.Controller) *MockRecord

NewMockRecord creates a new mock instance

func (*MockRecord) EXPECT

func (m *MockRecord) EXPECT() *MockRecordMockRecorder

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

func (*MockRecord) ExtractHeader

func (m *MockRecord) ExtractHeader(arg0 []byte, arg1 uint64, arg2 bool) (*blockrecord.Header, blockdigest.Digest, []byte, error)

ExtractHeader mocks base method

type MockRecordMockRecorder

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

MockRecordMockRecorder is the mock recorder for MockRecord

func (*MockRecordMockRecorder) ExtractHeader

func (mr *MockRecordMockRecorder) ExtractHeader(arg0, arg1, arg2 interface{}) *gomock.Call

ExtractHeader indicates an expected call of ExtractHeader

type MockReservoir

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

MockReservoir is a mock of Reservoir interface

func NewMockReservoir

func NewMockReservoir(ctrl *gomock.Controller) *MockReservoir

NewMockReservoir creates a new mock instance

func (*MockReservoir) EXPECT

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

func (*MockReservoir) ShareBalance

func (m *MockReservoir) ShareBalance(arg0 *account.Account, arg1 merkle.Digest, arg2 int) ([]reservoir.BalanceInfo, error)

ShareBalance mocks base method

func (*MockReservoir) StoreGrant

StoreGrant mocks base method

func (*MockReservoir) StoreIssues

func (m *MockReservoir) StoreIssues(issues []*transactionrecord.BitmarkIssue) (*reservoir.IssueInfo, bool, error)

StoreIssues mocks base method

func (*MockReservoir) StoreSwap

StoreSwap mocks base method

func (*MockReservoir) StoreTransfer

StoreTransfer mocks base method

func (*MockReservoir) TransactionStatus

func (m *MockReservoir) TransactionStatus(arg0 merkle.Digest) reservoir.TransactionState

TransactionStatus mocks base method

func (*MockReservoir) TryProof

func (m *MockReservoir) TryProof(arg0 pay.PayId, arg1 []byte) reservoir.TrackingStatus

TryProof mocks base method

type MockReservoirMockRecorder

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

MockReservoirMockRecorder is the mock recorder for MockReservoir

func (*MockReservoirMockRecorder) ShareBalance

func (mr *MockReservoirMockRecorder) ShareBalance(arg0, arg1, arg2 interface{}) *gomock.Call

ShareBalance indicates an expected call of ShareBalance

func (*MockReservoirMockRecorder) StoreGrant

func (mr *MockReservoirMockRecorder) StoreGrant(arg0 interface{}) *gomock.Call

StoreGrant indicates an expected call of StoreGrant

func (*MockReservoirMockRecorder) StoreIssues

func (mr *MockReservoirMockRecorder) StoreIssues(issues interface{}) *gomock.Call

StoreIssues indicates an expected call of StoreIssues

func (*MockReservoirMockRecorder) StoreSwap

func (mr *MockReservoirMockRecorder) StoreSwap(swap interface{}) *gomock.Call

StoreSwap indicates an expected call of StoreSwap

func (*MockReservoirMockRecorder) StoreTransfer

func (mr *MockReservoirMockRecorder) StoreTransfer(arg0 interface{}) *gomock.Call

StoreTransfer indicates an expected call of StoreTransfer

func (*MockReservoirMockRecorder) TransactionStatus

func (mr *MockReservoirMockRecorder) TransactionStatus(arg0 interface{}) *gomock.Call

TransactionStatus indicates an expected call of TransactionStatus

func (*MockReservoirMockRecorder) TryProof

func (mr *MockReservoirMockRecorder) TryProof(arg0, arg1 interface{}) *gomock.Call

TryProof indicates an expected call of TryProof

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