mocks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: AGPL-3.0 Imports: 4 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 MockBlocks

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

MockBlocks is a mock of Blocks interface

func NewMockBlocks

func NewMockBlocks(ctrl *gomock.Controller) *MockBlocks

NewMockBlocks creates a new mock instance

func (*MockBlocks) ByCollectionID

func (m *MockBlocks) ByCollectionID(arg0 flow.Identifier) (*flow.Block, error)

ByCollectionID mocks base method

func (*MockBlocks) ByHeight

func (m *MockBlocks) ByHeight(arg0 uint64) (*flow.Block, error)

ByHeight mocks base method

func (*MockBlocks) ByID

func (m *MockBlocks) ByID(arg0 flow.Identifier) (*flow.Block, error)

ByID mocks base method

func (*MockBlocks) EXPECT

func (m *MockBlocks) EXPECT() *MockBlocksMockRecorder

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

func (*MockBlocks) GetLastFullBlockHeight

func (m *MockBlocks) GetLastFullBlockHeight() (uint64, error)

GetLastFullBlockHeight mocks base method

func (*MockBlocks) IndexBlockForCollections

func (m *MockBlocks) IndexBlockForCollections(arg0 flow.Identifier, arg1 []flow.Identifier) error

IndexBlockForCollections mocks base method

func (*MockBlocks) Store

func (m *MockBlocks) Store(arg0 *flow.Block) error

Store mocks base method

func (*MockBlocks) StoreTx

func (m *MockBlocks) StoreTx(arg0 *flow.Block) func(*v2.Txn) error

StoreTx mocks base method

func (*MockBlocks) UpdateLastFullBlockHeight

func (m *MockBlocks) UpdateLastFullBlockHeight(arg0 uint64) error

UpdateLastFullBlockHeight mocks base method

type MockBlocksMockRecorder

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

MockBlocksMockRecorder is the mock recorder for MockBlocks

func (*MockBlocksMockRecorder) ByCollectionID

func (mr *MockBlocksMockRecorder) ByCollectionID(arg0 interface{}) *gomock.Call

ByCollectionID indicates an expected call of ByCollectionID

func (*MockBlocksMockRecorder) ByHeight

func (mr *MockBlocksMockRecorder) ByHeight(arg0 interface{}) *gomock.Call

ByHeight indicates an expected call of ByHeight

func (*MockBlocksMockRecorder) ByID

func (mr *MockBlocksMockRecorder) ByID(arg0 interface{}) *gomock.Call

ByID indicates an expected call of ByID

func (*MockBlocksMockRecorder) GetLastFullBlockHeight

func (mr *MockBlocksMockRecorder) GetLastFullBlockHeight() *gomock.Call

GetLastFullBlockHeight indicates an expected call of GetLastFullBlockHeight

func (*MockBlocksMockRecorder) IndexBlockForCollections

func (mr *MockBlocksMockRecorder) IndexBlockForCollections(arg0, arg1 interface{}) *gomock.Call

IndexBlockForCollections indicates an expected call of IndexBlockForCollections

func (*MockBlocksMockRecorder) Store

func (mr *MockBlocksMockRecorder) Store(arg0 interface{}) *gomock.Call

Store indicates an expected call of Store

func (*MockBlocksMockRecorder) StoreTx

func (mr *MockBlocksMockRecorder) StoreTx(arg0 interface{}) *gomock.Call

StoreTx indicates an expected call of StoreTx

func (*MockBlocksMockRecorder) UpdateLastFullBlockHeight

func (mr *MockBlocksMockRecorder) UpdateLastFullBlockHeight(arg0 interface{}) *gomock.Call

UpdateLastFullBlockHeight indicates an expected call of UpdateLastFullBlockHeight

type MockCollections

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

MockCollections is a mock of Collections interface

func NewMockCollections

func NewMockCollections(ctrl *gomock.Controller) *MockCollections

NewMockCollections creates a new mock instance

func (*MockCollections) ByID

func (m *MockCollections) ByID(arg0 flow.Identifier) (*flow.Collection, error)

ByID mocks base method

func (*MockCollections) EXPECT

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

func (*MockCollections) LightByID

func (m *MockCollections) LightByID(arg0 flow.Identifier) (*flow.LightCollection, error)

LightByID mocks base method

func (*MockCollections) LightByTransactionID

func (m *MockCollections) LightByTransactionID(arg0 flow.Identifier) (*flow.LightCollection, error)

LightByTransactionID mocks base method

func (*MockCollections) Remove

func (m *MockCollections) Remove(arg0 flow.Identifier) error

Remove mocks base method

func (*MockCollections) Store

func (m *MockCollections) Store(arg0 *flow.Collection) error

Store mocks base method

func (*MockCollections) StoreLight

func (m *MockCollections) StoreLight(arg0 *flow.LightCollection) error

StoreLight mocks base method

func (*MockCollections) StoreLightAndIndexByTransaction

func (m *MockCollections) StoreLightAndIndexByTransaction(arg0 *flow.LightCollection) error

StoreLightAndIndexByTransaction mocks base method

type MockCollectionsMockRecorder

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

MockCollectionsMockRecorder is the mock recorder for MockCollections

func (*MockCollectionsMockRecorder) ByID

func (mr *MockCollectionsMockRecorder) ByID(arg0 interface{}) *gomock.Call

ByID indicates an expected call of ByID

func (*MockCollectionsMockRecorder) LightByID

func (mr *MockCollectionsMockRecorder) LightByID(arg0 interface{}) *gomock.Call

LightByID indicates an expected call of LightByID

func (*MockCollectionsMockRecorder) LightByTransactionID

func (mr *MockCollectionsMockRecorder) LightByTransactionID(arg0 interface{}) *gomock.Call

LightByTransactionID indicates an expected call of LightByTransactionID

func (*MockCollectionsMockRecorder) Remove

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

Remove indicates an expected call of Remove

func (*MockCollectionsMockRecorder) Store

func (mr *MockCollectionsMockRecorder) Store(arg0 interface{}) *gomock.Call

Store indicates an expected call of Store

func (*MockCollectionsMockRecorder) StoreLight

func (mr *MockCollectionsMockRecorder) StoreLight(arg0 interface{}) *gomock.Call

StoreLight indicates an expected call of StoreLight

func (*MockCollectionsMockRecorder) StoreLightAndIndexByTransaction

func (mr *MockCollectionsMockRecorder) StoreLightAndIndexByTransaction(arg0 interface{}) *gomock.Call

StoreLightAndIndexByTransaction indicates an expected call of StoreLightAndIndexByTransaction

type MockCommits

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

MockCommits is a mock of Commits interface

func NewMockCommits

func NewMockCommits(ctrl *gomock.Controller) *MockCommits

NewMockCommits creates a new mock instance

func (*MockCommits) ByBlockID

func (m *MockCommits) ByBlockID(arg0 flow.Identifier) ([]byte, error)

ByBlockID mocks base method

func (*MockCommits) EXPECT

func (m *MockCommits) EXPECT() *MockCommitsMockRecorder

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

func (*MockCommits) Store

func (m *MockCommits) Store(arg0 flow.Identifier, arg1 []byte) error

Store mocks base method

type MockCommitsMockRecorder

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

MockCommitsMockRecorder is the mock recorder for MockCommits

func (*MockCommitsMockRecorder) ByBlockID

func (mr *MockCommitsMockRecorder) ByBlockID(arg0 interface{}) *gomock.Call

ByBlockID indicates an expected call of ByBlockID

func (*MockCommitsMockRecorder) Store

func (mr *MockCommitsMockRecorder) Store(arg0, arg1 interface{}) *gomock.Call

Store indicates an expected call of Store

type MockEvents

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

MockEvents is a mock of Events interface

func NewMockEvents

func NewMockEvents(ctrl *gomock.Controller) *MockEvents

NewMockEvents creates a new mock instance

func (*MockEvents) ByBlockID

func (m *MockEvents) ByBlockID(arg0 flow.Identifier) ([]flow.Event, error)

ByBlockID mocks base method

func (*MockEvents) ByBlockIDEventType

func (m *MockEvents) ByBlockIDEventType(arg0 flow.Identifier, arg1 flow.EventType) ([]flow.Event, error)

ByBlockIDEventType mocks base method

func (*MockEvents) ByBlockIDTransactionID

func (m *MockEvents) ByBlockIDTransactionID(arg0, arg1 flow.Identifier) ([]flow.Event, error)

ByBlockIDTransactionID mocks base method

func (*MockEvents) EXPECT

func (m *MockEvents) EXPECT() *MockEventsMockRecorder

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

func (*MockEvents) Store

func (m *MockEvents) Store(arg0 flow.Identifier, arg1 []flow.Event) error

Store mocks base method

type MockEventsMockRecorder

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

MockEventsMockRecorder is the mock recorder for MockEvents

func (*MockEventsMockRecorder) ByBlockID

func (mr *MockEventsMockRecorder) ByBlockID(arg0 interface{}) *gomock.Call

ByBlockID indicates an expected call of ByBlockID

func (*MockEventsMockRecorder) ByBlockIDEventType

func (mr *MockEventsMockRecorder) ByBlockIDEventType(arg0, arg1 interface{}) *gomock.Call

ByBlockIDEventType indicates an expected call of ByBlockIDEventType

func (*MockEventsMockRecorder) ByBlockIDTransactionID

func (mr *MockEventsMockRecorder) ByBlockIDTransactionID(arg0, arg1 interface{}) *gomock.Call

ByBlockIDTransactionID indicates an expected call of ByBlockIDTransactionID

func (*MockEventsMockRecorder) Store

func (mr *MockEventsMockRecorder) Store(arg0, arg1 interface{}) *gomock.Call

Store indicates an expected call of Store

type MockPayloads

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

MockPayloads is a mock of Payloads interface

func NewMockPayloads

func NewMockPayloads(ctrl *gomock.Controller) *MockPayloads

NewMockPayloads creates a new mock instance

func (*MockPayloads) ByBlockID

func (m *MockPayloads) ByBlockID(arg0 flow.Identifier) (*flow.Payload, error)

ByBlockID mocks base method

func (*MockPayloads) EXPECT

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

func (*MockPayloads) Store

func (m *MockPayloads) Store(arg0 flow.Identifier, arg1 *flow.Payload) error

Store mocks base method

type MockPayloadsMockRecorder

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

MockPayloadsMockRecorder is the mock recorder for MockPayloads

func (*MockPayloadsMockRecorder) ByBlockID

func (mr *MockPayloadsMockRecorder) ByBlockID(arg0 interface{}) *gomock.Call

ByBlockID indicates an expected call of ByBlockID

func (*MockPayloadsMockRecorder) Store

func (mr *MockPayloadsMockRecorder) Store(arg0, arg1 interface{}) *gomock.Call

Store indicates an expected call of Store

type MockTransactionResults

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

MockTransactionResults is a mock of TransactionResults interface

func NewMockTransactionResults

func NewMockTransactionResults(ctrl *gomock.Controller) *MockTransactionResults

NewMockTransactionResults creates a new mock instance

func (*MockTransactionResults) BatchStore

func (m *MockTransactionResults) BatchStore(arg0 flow.Identifier, arg1 []flow.TransactionResult) error

BatchStore mocks base method

func (*MockTransactionResults) ByBlockIDTransactionID

func (m *MockTransactionResults) ByBlockIDTransactionID(arg0, arg1 flow.Identifier) (*flow.TransactionResult, error)

ByBlockIDTransactionID mocks base method

func (*MockTransactionResults) EXPECT

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

func (*MockTransactionResults) Store

Store mocks base method

type MockTransactionResultsMockRecorder

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

MockTransactionResultsMockRecorder is the mock recorder for MockTransactionResults

func (*MockTransactionResultsMockRecorder) BatchStore

func (mr *MockTransactionResultsMockRecorder) BatchStore(arg0, arg1 interface{}) *gomock.Call

BatchStore indicates an expected call of BatchStore

func (*MockTransactionResultsMockRecorder) ByBlockIDTransactionID

func (mr *MockTransactionResultsMockRecorder) ByBlockIDTransactionID(arg0, arg1 interface{}) *gomock.Call

ByBlockIDTransactionID indicates an expected call of ByBlockIDTransactionID

func (*MockTransactionResultsMockRecorder) Store

func (mr *MockTransactionResultsMockRecorder) Store(arg0, arg1 interface{}) *gomock.Call

Store indicates an expected call of Store

Jump to

Keyboard shortcuts

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