mocks

package
v0.26.19 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: AGPL-3.0 Imports: 5 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(*transaction.Tx) 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) BatchStore added in v0.15.0

func (m *MockCommits) BatchStore(arg0 flow.Identifier, arg1 flow.StateCommitment, arg2 storage.BatchStorage) error

BatchStore mocks base method

func (*MockCommits) ByBlockID

func (m *MockCommits) ByBlockID(arg0 flow.Identifier) (flow.StateCommitment, 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 flow.StateCommitment) error

Store mocks base method

type MockCommitsMockRecorder

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

MockCommitsMockRecorder is the mock recorder for MockCommits

func (*MockCommitsMockRecorder) BatchStore added in v0.15.0

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

BatchStore indicates an expected call of BatchStore

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) BatchStore added in v0.15.0

func (m *MockEvents) BatchStore(arg0 flow.Identifier, arg1 []flow.EventsList, arg2 storage.BatchStorage) error

BatchStore mocks base method

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) ByBlockIDTransactionIndex added in v0.24.8

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

ByBlockIDTransactionIndex mocks base method

func (*MockEvents) EXPECT

func (m *MockEvents) EXPECT() *MockEventsMockRecorder

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

type MockEventsMockRecorder

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

MockEventsMockRecorder is the mock recorder for MockEvents

func (*MockEventsMockRecorder) BatchStore added in v0.15.0

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

BatchStore indicates an expected call of BatchStore

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) ByBlockIDTransactionIndex added in v0.24.8

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

ByBlockIDTransactionIndex indicates an expected call of ByBlockIDTransactionIndex

type MockHeaders added in v0.15.0

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

MockHeaders is a mock of Headers interface

func NewMockHeaders added in v0.15.0

func NewMockHeaders(ctrl *gomock.Controller) *MockHeaders

NewMockHeaders creates a new mock instance

func (*MockHeaders) BatchIndexByChunkID added in v0.15.0

func (m *MockHeaders) BatchIndexByChunkID(arg0, arg1 flow.Identifier, arg2 storage.BatchStorage) error

BatchIndexByChunkID mocks base method

func (*MockHeaders) ByBlockID added in v0.15.0

func (m *MockHeaders) ByBlockID(arg0 flow.Identifier) (*flow.Header, error)

ByBlockID mocks base method

func (*MockHeaders) ByHeight added in v0.15.0

func (m *MockHeaders) ByHeight(arg0 uint64) (*flow.Header, error)

ByHeight mocks base method

func (*MockHeaders) ByParentID added in v0.15.0

func (m *MockHeaders) ByParentID(arg0 flow.Identifier) ([]*flow.Header, error)

ByParentID mocks base method

func (*MockHeaders) EXPECT added in v0.15.0

func (m *MockHeaders) EXPECT() *MockHeadersMockRecorder

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

func (*MockHeaders) IDByChunkID added in v0.15.0

func (m *MockHeaders) IDByChunkID(arg0 flow.Identifier) (flow.Identifier, error)

IDByChunkID mocks base method

func (*MockHeaders) IndexByChunkID added in v0.15.0

func (m *MockHeaders) IndexByChunkID(arg0, arg1 flow.Identifier) error

IndexByChunkID mocks base method

func (*MockHeaders) Store added in v0.15.0

func (m *MockHeaders) Store(arg0 *flow.Header) error

Store mocks base method

type MockHeadersMockRecorder added in v0.15.0

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

MockHeadersMockRecorder is the mock recorder for MockHeaders

func (*MockHeadersMockRecorder) BatchIndexByChunkID added in v0.15.0

func (mr *MockHeadersMockRecorder) BatchIndexByChunkID(arg0, arg1, arg2 interface{}) *gomock.Call

BatchIndexByChunkID indicates an expected call of BatchIndexByChunkID

func (*MockHeadersMockRecorder) ByBlockID added in v0.15.0

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

ByBlockID indicates an expected call of ByBlockID

func (*MockHeadersMockRecorder) ByHeight added in v0.15.0

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

ByHeight indicates an expected call of ByHeight

func (*MockHeadersMockRecorder) ByParentID added in v0.15.0

func (mr *MockHeadersMockRecorder) ByParentID(arg0 interface{}) *gomock.Call

ByParentID indicates an expected call of ByParentID

func (*MockHeadersMockRecorder) IDByChunkID added in v0.15.0

func (mr *MockHeadersMockRecorder) IDByChunkID(arg0 interface{}) *gomock.Call

IDByChunkID indicates an expected call of IDByChunkID

func (*MockHeadersMockRecorder) IndexByChunkID added in v0.15.0

func (mr *MockHeadersMockRecorder) IndexByChunkID(arg0, arg1 interface{}) *gomock.Call

IndexByChunkID indicates an expected call of IndexByChunkID

func (*MockHeadersMockRecorder) Store added in v0.15.0

func (mr *MockHeadersMockRecorder) Store(arg0 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 MockServiceEvents added in v0.14.0

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

MockServiceEvents is a mock of ServiceEvents interface

func NewMockServiceEvents added in v0.14.0

func NewMockServiceEvents(ctrl *gomock.Controller) *MockServiceEvents

NewMockServiceEvents creates a new mock instance

func (*MockServiceEvents) BatchStore added in v0.15.0

func (m *MockServiceEvents) BatchStore(arg0 flow.Identifier, arg1 []flow.Event, arg2 storage.BatchStorage) error

BatchStore mocks base method

func (*MockServiceEvents) ByBlockID added in v0.14.0

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

ByBlockID mocks base method

func (*MockServiceEvents) EXPECT added in v0.14.0

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

type MockServiceEventsMockRecorder added in v0.14.0

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

MockServiceEventsMockRecorder is the mock recorder for MockServiceEvents

func (*MockServiceEventsMockRecorder) BatchStore added in v0.15.0

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

BatchStore indicates an expected call of BatchStore

func (*MockServiceEventsMockRecorder) ByBlockID added in v0.14.0

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

ByBlockID indicates an expected call of ByBlockID

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

BatchStore mocks base method

func (*MockTransactionResults) ByBlockID added in v0.24.11

ByBlockID mocks base method

func (*MockTransactionResults) ByBlockIDTransactionID

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

ByBlockIDTransactionID mocks base method

func (*MockTransactionResults) ByBlockIDTransactionIndex added in v0.24.8

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

ByBlockIDTransactionIndex mocks base method

func (*MockTransactionResults) EXPECT

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

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, arg2 interface{}) *gomock.Call

BatchStore indicates an expected call of BatchStore

func (*MockTransactionResultsMockRecorder) ByBlockID added in v0.24.11

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

ByBlockID indicates an expected call of ByBlockID

func (*MockTransactionResultsMockRecorder) ByBlockIDTransactionID

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

ByBlockIDTransactionID indicates an expected call of ByBlockIDTransactionID

func (*MockTransactionResultsMockRecorder) ByBlockIDTransactionIndex added in v0.24.8

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

ByBlockIDTransactionIndex indicates an expected call of ByBlockIDTransactionIndex

Jump to

Keyboard shortcuts

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