Documentation
¶
Index ¶
- type Batch
- func (_mock *Batch) AddCallback(fn func(error))
- func (_mock *Batch) Close() error
- func (_mock *Batch) Commit() error
- func (_m *Batch) EXPECT() *Batch_Expecter
- func (_mock *Batch) GlobalReader() storage.Reader
- func (_mock *Batch) ScopedValue(key string) (any, bool)
- func (_mock *Batch) SetScopedValue(key string, value any)
- func (_mock *Batch) Writer() storage.Writer
- type BatchStorage
- type BatchStorage_Expecter
- type BatchStorage_Flush_Call
- type BatchStorage_GetWriter_Call
- func (_c *BatchStorage_GetWriter_Call) Return(writeBatch *badger.WriteBatch) *BatchStorage_GetWriter_Call
- func (_c *BatchStorage_GetWriter_Call) Run(run func()) *BatchStorage_GetWriter_Call
- func (_c *BatchStorage_GetWriter_Call) RunAndReturn(run func() *badger.WriteBatch) *BatchStorage_GetWriter_Call
- type BatchStorage_OnSucceed_Call
- type Batch_AddCallback_Call
- type Batch_Close_Call
- type Batch_Commit_Call
- type Batch_Expecter
- func (_e *Batch_Expecter) AddCallback(fn interface{}) *Batch_AddCallback_Call
- func (_e *Batch_Expecter) Close() *Batch_Close_Call
- func (_e *Batch_Expecter) Commit() *Batch_Commit_Call
- func (_e *Batch_Expecter) GlobalReader() *Batch_GlobalReader_Call
- func (_e *Batch_Expecter) ScopedValue(key interface{}) *Batch_ScopedValue_Call
- func (_e *Batch_Expecter) SetScopedValue(key interface{}, value interface{}) *Batch_SetScopedValue_Call
- func (_e *Batch_Expecter) Writer() *Batch_Writer_Call
- type Batch_GlobalReader_Call
- type Batch_ScopedValue_Call
- type Batch_SetScopedValue_Call
- type Batch_Writer_Call
- type Blocks
- func (_mock *Blocks) BatchIndexBlockContainingCollectionGuarantees(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, ...) error
- func (_mock *Blocks) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, proposal *flow.Proposal) error
- func (_mock *Blocks) BlockIDByCollectionID(collID flow.Identifier) (flow.Identifier, error)
- func (_mock *Blocks) ByCollectionID(collID flow.Identifier) (*flow.Block, error)
- func (_mock *Blocks) ByHeight(height uint64) (*flow.Block, error)
- func (_mock *Blocks) ByID(blockID flow.Identifier) (*flow.Block, error)
- func (_mock *Blocks) ByView(view uint64) (*flow.Block, error)
- func (_m *Blocks) EXPECT() *Blocks_Expecter
- func (_mock *Blocks) ProposalByHeight(height uint64) (*flow.Proposal, error)
- func (_mock *Blocks) ProposalByID(blockID flow.Identifier) (*flow.Proposal, error)
- func (_mock *Blocks) ProposalByView(view uint64) (*flow.Proposal, error)
- type Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
- func (_c *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call) Return(err error) *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
- func (_c *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call) Run(...) *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
- func (_c *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call) RunAndReturn(...) *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
- type Blocks_BatchStore_Call
- type Blocks_BlockIDByCollectionID_Call
- func (_c *Blocks_BlockIDByCollectionID_Call) Return(identifier flow.Identifier, err error) *Blocks_BlockIDByCollectionID_Call
- func (_c *Blocks_BlockIDByCollectionID_Call) Run(run func(collID flow.Identifier)) *Blocks_BlockIDByCollectionID_Call
- func (_c *Blocks_BlockIDByCollectionID_Call) RunAndReturn(run func(collID flow.Identifier) (flow.Identifier, error)) *Blocks_BlockIDByCollectionID_Call
- type Blocks_ByCollectionID_Call
- func (_c *Blocks_ByCollectionID_Call) Return(v *flow.Block, err error) *Blocks_ByCollectionID_Call
- func (_c *Blocks_ByCollectionID_Call) Run(run func(collID flow.Identifier)) *Blocks_ByCollectionID_Call
- func (_c *Blocks_ByCollectionID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.Block, error)) *Blocks_ByCollectionID_Call
- type Blocks_ByHeight_Call
- type Blocks_ByID_Call
- type Blocks_ByView_Call
- type Blocks_Expecter
- func (_e *Blocks_Expecter) BatchIndexBlockContainingCollectionGuarantees(lctx interface{}, rw interface{}, blockID interface{}, ...) *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
- func (_e *Blocks_Expecter) BatchStore(lctx interface{}, rw interface{}, proposal interface{}) *Blocks_BatchStore_Call
- func (_e *Blocks_Expecter) BlockIDByCollectionID(collID interface{}) *Blocks_BlockIDByCollectionID_Call
- func (_e *Blocks_Expecter) ByCollectionID(collID interface{}) *Blocks_ByCollectionID_Call
- func (_e *Blocks_Expecter) ByHeight(height interface{}) *Blocks_ByHeight_Call
- func (_e *Blocks_Expecter) ByID(blockID interface{}) *Blocks_ByID_Call
- func (_e *Blocks_Expecter) ByView(view interface{}) *Blocks_ByView_Call
- func (_e *Blocks_Expecter) ProposalByHeight(height interface{}) *Blocks_ProposalByHeight_Call
- func (_e *Blocks_Expecter) ProposalByID(blockID interface{}) *Blocks_ProposalByID_Call
- func (_e *Blocks_Expecter) ProposalByView(view interface{}) *Blocks_ProposalByView_Call
- type Blocks_ProposalByHeight_Call
- func (_c *Blocks_ProposalByHeight_Call) Return(proposal *flow.Proposal, err error) *Blocks_ProposalByHeight_Call
- func (_c *Blocks_ProposalByHeight_Call) Run(run func(height uint64)) *Blocks_ProposalByHeight_Call
- func (_c *Blocks_ProposalByHeight_Call) RunAndReturn(run func(height uint64) (*flow.Proposal, error)) *Blocks_ProposalByHeight_Call
- type Blocks_ProposalByID_Call
- func (_c *Blocks_ProposalByID_Call) Return(proposal *flow.Proposal, err error) *Blocks_ProposalByID_Call
- func (_c *Blocks_ProposalByID_Call) Run(run func(blockID flow.Identifier)) *Blocks_ProposalByID_Call
- func (_c *Blocks_ProposalByID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Proposal, error)) *Blocks_ProposalByID_Call
- type Blocks_ProposalByView_Call
- func (_c *Blocks_ProposalByView_Call) Return(proposal *flow.Proposal, err error) *Blocks_ProposalByView_Call
- func (_c *Blocks_ProposalByView_Call) Run(run func(view uint64)) *Blocks_ProposalByView_Call
- func (_c *Blocks_ProposalByView_Call) RunAndReturn(run func(view uint64) (*flow.Proposal, error)) *Blocks_ProposalByView_Call
- type ChunkDataPacks
- func (_mock *ChunkDataPacks) BatchRemove(chunkIDs []flow.Identifier, rw storage.ReaderBatchWriter) ([]flow.Identifier, error)
- func (_mock *ChunkDataPacks) BatchRemoveChunkDataPacksOnly(chunkIDs []flow.Identifier, chunkDataPackBatch storage.ReaderBatchWriter) error
- func (_mock *ChunkDataPacks) ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, error)
- func (_m *ChunkDataPacks) EXPECT() *ChunkDataPacks_Expecter
- func (_mock *ChunkDataPacks) Store(cs []*flow.ChunkDataPack) (func(lctx lockctx.Proof, protocolDBBatch storage.ReaderBatchWriter) error, ...)
- type ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
- func (_c *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) Return(err error) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
- func (_c *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) Run(...) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
- func (_c *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) RunAndReturn(...) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
- type ChunkDataPacks_BatchRemove_Call
- func (_c *ChunkDataPacks_BatchRemove_Call) Return(chunkDataPackIDs []flow.Identifier, err error) *ChunkDataPacks_BatchRemove_Call
- func (_c *ChunkDataPacks_BatchRemove_Call) Run(run func(chunkIDs []flow.Identifier, rw storage.ReaderBatchWriter)) *ChunkDataPacks_BatchRemove_Call
- func (_c *ChunkDataPacks_BatchRemove_Call) RunAndReturn(...) *ChunkDataPacks_BatchRemove_Call
- type ChunkDataPacks_ByChunkID_Call
- func (_c *ChunkDataPacks_ByChunkID_Call) Return(chunkDataPack *flow.ChunkDataPack, err error) *ChunkDataPacks_ByChunkID_Call
- func (_c *ChunkDataPacks_ByChunkID_Call) Run(run func(chunkID flow.Identifier)) *ChunkDataPacks_ByChunkID_Call
- func (_c *ChunkDataPacks_ByChunkID_Call) RunAndReturn(run func(chunkID flow.Identifier) (*flow.ChunkDataPack, error)) *ChunkDataPacks_ByChunkID_Call
- type ChunkDataPacks_Expecter
- func (_e *ChunkDataPacks_Expecter) BatchRemove(chunkIDs interface{}, rw interface{}) *ChunkDataPacks_BatchRemove_Call
- func (_e *ChunkDataPacks_Expecter) BatchRemoveChunkDataPacksOnly(chunkIDs interface{}, chunkDataPackBatch interface{}) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
- func (_e *ChunkDataPacks_Expecter) ByChunkID(chunkID interface{}) *ChunkDataPacks_ByChunkID_Call
- func (_e *ChunkDataPacks_Expecter) Store(cs interface{}) *ChunkDataPacks_Store_Call
- type ChunkDataPacks_Store_Call
- func (_c *ChunkDataPacks_Store_Call) Return(fn func(lctx lockctx.Proof, protocolDBBatch storage.ReaderBatchWriter) error, ...) *ChunkDataPacks_Store_Call
- func (_c *ChunkDataPacks_Store_Call) Run(run func(cs []*flow.ChunkDataPack)) *ChunkDataPacks_Store_Call
- func (_c *ChunkDataPacks_Store_Call) RunAndReturn(...) *ChunkDataPacks_Store_Call
- type ChunksQueue
- type ChunksQueue_AtIndex_Call
- func (_c *ChunksQueue_AtIndex_Call) Return(locator *chunks.Locator, err error) *ChunksQueue_AtIndex_Call
- func (_c *ChunksQueue_AtIndex_Call) Run(run func(index uint64)) *ChunksQueue_AtIndex_Call
- func (_c *ChunksQueue_AtIndex_Call) RunAndReturn(run func(index uint64) (*chunks.Locator, error)) *ChunksQueue_AtIndex_Call
- type ChunksQueue_Expecter
- type ChunksQueue_LatestIndex_Call
- type ChunksQueue_StoreChunkLocator_Call
- func (_c *ChunksQueue_StoreChunkLocator_Call) Return(b bool, err error) *ChunksQueue_StoreChunkLocator_Call
- func (_c *ChunksQueue_StoreChunkLocator_Call) Run(run func(locator *chunks.Locator)) *ChunksQueue_StoreChunkLocator_Call
- func (_c *ChunksQueue_StoreChunkLocator_Call) RunAndReturn(run func(locator *chunks.Locator) (bool, error)) *ChunksQueue_StoreChunkLocator_Call
- type ClusterBlocks
- type ClusterBlocks_Expecter
- type ClusterBlocks_ProposalByHeight_Call
- func (_c *ClusterBlocks_ProposalByHeight_Call) Return(proposal *cluster.Proposal, err error) *ClusterBlocks_ProposalByHeight_Call
- func (_c *ClusterBlocks_ProposalByHeight_Call) Run(run func(height uint64)) *ClusterBlocks_ProposalByHeight_Call
- func (_c *ClusterBlocks_ProposalByHeight_Call) RunAndReturn(run func(height uint64) (*cluster.Proposal, error)) *ClusterBlocks_ProposalByHeight_Call
- type ClusterBlocks_ProposalByID_Call
- func (_c *ClusterBlocks_ProposalByID_Call) Return(proposal *cluster.Proposal, err error) *ClusterBlocks_ProposalByID_Call
- func (_c *ClusterBlocks_ProposalByID_Call) Run(run func(blockID flow.Identifier)) *ClusterBlocks_ProposalByID_Call
- func (_c *ClusterBlocks_ProposalByID_Call) RunAndReturn(run func(blockID flow.Identifier) (*cluster.Proposal, error)) *ClusterBlocks_ProposalByID_Call
- type ClusterPayloads
- type ClusterPayloads_ByBlockID_Call
- func (_c *ClusterPayloads_ByBlockID_Call) Return(payload *cluster.Payload, err error) *ClusterPayloads_ByBlockID_Call
- func (_c *ClusterPayloads_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ClusterPayloads_ByBlockID_Call
- func (_c *ClusterPayloads_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*cluster.Payload, error)) *ClusterPayloads_ByBlockID_Call
- type ClusterPayloads_Expecter
- type Collections
- func (_mock *Collections) BatchStoreAndIndexByTransaction(lctx lockctx.Proof, collection *flow.Collection, ...) (*flow.LightCollection, error)
- func (_mock *Collections) ByID(collID flow.Identifier) (*flow.Collection, error)
- func (_m *Collections) EXPECT() *Collections_Expecter
- func (_mock *Collections) LightByID(collID flow.Identifier) (*flow.LightCollection, error)
- func (_mock *Collections) LightByTransactionID(txID flow.Identifier) (*flow.LightCollection, error)
- func (_mock *Collections) Remove(collID flow.Identifier) error
- func (_mock *Collections) Store(collection *flow.Collection) (*flow.LightCollection, error)
- func (_mock *Collections) StoreAndIndexByTransaction(lctx lockctx.Proof, collection *flow.Collection) (*flow.LightCollection, error)
- type CollectionsReader
- func (_mock *CollectionsReader) ByID(collID flow.Identifier) (*flow.Collection, error)
- func (_m *CollectionsReader) EXPECT() *CollectionsReader_Expecter
- func (_mock *CollectionsReader) LightByID(collID flow.Identifier) (*flow.LightCollection, error)
- func (_mock *CollectionsReader) LightByTransactionID(txID flow.Identifier) (*flow.LightCollection, error)
- type CollectionsReader_ByID_Call
- func (_c *CollectionsReader_ByID_Call) Return(collection *flow.Collection, err error) *CollectionsReader_ByID_Call
- func (_c *CollectionsReader_ByID_Call) Run(run func(collID flow.Identifier)) *CollectionsReader_ByID_Call
- func (_c *CollectionsReader_ByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.Collection, error)) *CollectionsReader_ByID_Call
- type CollectionsReader_Expecter
- func (_e *CollectionsReader_Expecter) ByID(collID interface{}) *CollectionsReader_ByID_Call
- func (_e *CollectionsReader_Expecter) LightByID(collID interface{}) *CollectionsReader_LightByID_Call
- func (_e *CollectionsReader_Expecter) LightByTransactionID(txID interface{}) *CollectionsReader_LightByTransactionID_Call
- type CollectionsReader_LightByID_Call
- func (_c *CollectionsReader_LightByID_Call) Return(lightCollection *flow.LightCollection, err error) *CollectionsReader_LightByID_Call
- func (_c *CollectionsReader_LightByID_Call) Run(run func(collID flow.Identifier)) *CollectionsReader_LightByID_Call
- func (_c *CollectionsReader_LightByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.LightCollection, error)) *CollectionsReader_LightByID_Call
- type CollectionsReader_LightByTransactionID_Call
- func (_c *CollectionsReader_LightByTransactionID_Call) Return(lightCollection *flow.LightCollection, err error) *CollectionsReader_LightByTransactionID_Call
- func (_c *CollectionsReader_LightByTransactionID_Call) Run(run func(txID flow.Identifier)) *CollectionsReader_LightByTransactionID_Call
- func (_c *CollectionsReader_LightByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.LightCollection, error)) *CollectionsReader_LightByTransactionID_Call
- type Collections_BatchStoreAndIndexByTransaction_Call
- func (_c *Collections_BatchStoreAndIndexByTransaction_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_BatchStoreAndIndexByTransaction_Call
- func (_c *Collections_BatchStoreAndIndexByTransaction_Call) Run(run func(lctx lockctx.Proof, collection *flow.Collection, ...)) *Collections_BatchStoreAndIndexByTransaction_Call
- func (_c *Collections_BatchStoreAndIndexByTransaction_Call) RunAndReturn(...) *Collections_BatchStoreAndIndexByTransaction_Call
- type Collections_ByID_Call
- func (_c *Collections_ByID_Call) Return(collection *flow.Collection, err error) *Collections_ByID_Call
- func (_c *Collections_ByID_Call) Run(run func(collID flow.Identifier)) *Collections_ByID_Call
- func (_c *Collections_ByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.Collection, error)) *Collections_ByID_Call
- type Collections_Expecter
- func (_e *Collections_Expecter) BatchStoreAndIndexByTransaction(lctx interface{}, collection interface{}, batch interface{}) *Collections_BatchStoreAndIndexByTransaction_Call
- func (_e *Collections_Expecter) ByID(collID interface{}) *Collections_ByID_Call
- func (_e *Collections_Expecter) LightByID(collID interface{}) *Collections_LightByID_Call
- func (_e *Collections_Expecter) LightByTransactionID(txID interface{}) *Collections_LightByTransactionID_Call
- func (_e *Collections_Expecter) Remove(collID interface{}) *Collections_Remove_Call
- func (_e *Collections_Expecter) Store(collection interface{}) *Collections_Store_Call
- func (_e *Collections_Expecter) StoreAndIndexByTransaction(lctx interface{}, collection interface{}) *Collections_StoreAndIndexByTransaction_Call
- type Collections_LightByID_Call
- func (_c *Collections_LightByID_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_LightByID_Call
- func (_c *Collections_LightByID_Call) Run(run func(collID flow.Identifier)) *Collections_LightByID_Call
- func (_c *Collections_LightByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.LightCollection, error)) *Collections_LightByID_Call
- type Collections_LightByTransactionID_Call
- func (_c *Collections_LightByTransactionID_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_LightByTransactionID_Call
- func (_c *Collections_LightByTransactionID_Call) Run(run func(txID flow.Identifier)) *Collections_LightByTransactionID_Call
- func (_c *Collections_LightByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.LightCollection, error)) *Collections_LightByTransactionID_Call
- type Collections_Remove_Call
- type Collections_StoreAndIndexByTransaction_Call
- func (_c *Collections_StoreAndIndexByTransaction_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_StoreAndIndexByTransaction_Call
- func (_c *Collections_StoreAndIndexByTransaction_Call) Run(run func(lctx lockctx.Proof, collection *flow.Collection)) *Collections_StoreAndIndexByTransaction_Call
- func (_c *Collections_StoreAndIndexByTransaction_Call) RunAndReturn(...) *Collections_StoreAndIndexByTransaction_Call
- type Collections_Store_Call
- func (_c *Collections_Store_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_Store_Call
- func (_c *Collections_Store_Call) Run(run func(collection *flow.Collection)) *Collections_Store_Call
- func (_c *Collections_Store_Call) RunAndReturn(run func(collection *flow.Collection) (*flow.LightCollection, error)) *Collections_Store_Call
- type Commits
- func (_mock *Commits) BatchRemoveByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
- func (_mock *Commits) BatchStore(lctx lockctx.Proof, blockID flow.Identifier, commit flow.StateCommitment, ...) error
- func (_mock *Commits) ByBlockID(blockID flow.Identifier) (flow.StateCommitment, error)
- func (_m *Commits) EXPECT() *Commits_Expecter
- type CommitsReader
- type CommitsReader_ByBlockID_Call
- func (_c *CommitsReader_ByBlockID_Call) Return(stateCommitment flow.StateCommitment, err error) *CommitsReader_ByBlockID_Call
- func (_c *CommitsReader_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *CommitsReader_ByBlockID_Call
- func (_c *CommitsReader_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.StateCommitment, error)) *CommitsReader_ByBlockID_Call
- type CommitsReader_Expecter
- type Commits_BatchRemoveByBlockID_Call
- func (_c *Commits_BatchRemoveByBlockID_Call) Return(err error) *Commits_BatchRemoveByBlockID_Call
- func (_c *Commits_BatchRemoveByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *Commits_BatchRemoveByBlockID_Call
- func (_c *Commits_BatchRemoveByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *Commits_BatchRemoveByBlockID_Call
- type Commits_BatchStore_Call
- type Commits_ByBlockID_Call
- func (_c *Commits_ByBlockID_Call) Return(stateCommitment flow.StateCommitment, err error) *Commits_ByBlockID_Call
- func (_c *Commits_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Commits_ByBlockID_Call
- func (_c *Commits_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.StateCommitment, error)) *Commits_ByBlockID_Call
- type Commits_Expecter
- func (_e *Commits_Expecter) BatchRemoveByBlockID(blockID interface{}, batch interface{}) *Commits_BatchRemoveByBlockID_Call
- func (_e *Commits_Expecter) BatchStore(lctx interface{}, blockID interface{}, commit interface{}, batch interface{}) *Commits_BatchStore_Call
- func (_e *Commits_Expecter) ByBlockID(blockID interface{}) *Commits_ByBlockID_Call
- type ComputationResultUploadStatus
- func (_mock *ComputationResultUploadStatus) ByID(blockID flow.Identifier) (bool, error)
- func (_m *ComputationResultUploadStatus) EXPECT() *ComputationResultUploadStatus_Expecter
- func (_mock *ComputationResultUploadStatus) GetIDsByUploadStatus(targetUploadStatus bool) ([]flow.Identifier, error)
- func (_mock *ComputationResultUploadStatus) Remove(blockID flow.Identifier) error
- func (_mock *ComputationResultUploadStatus) Upsert(blockID flow.Identifier, wasUploadCompleted bool) error
- type ComputationResultUploadStatus_ByID_Call
- func (_c *ComputationResultUploadStatus_ByID_Call) Return(b bool, err error) *ComputationResultUploadStatus_ByID_Call
- func (_c *ComputationResultUploadStatus_ByID_Call) Run(run func(blockID flow.Identifier)) *ComputationResultUploadStatus_ByID_Call
- func (_c *ComputationResultUploadStatus_ByID_Call) RunAndReturn(run func(blockID flow.Identifier) (bool, error)) *ComputationResultUploadStatus_ByID_Call
- type ComputationResultUploadStatus_Expecter
- func (_e *ComputationResultUploadStatus_Expecter) ByID(blockID interface{}) *ComputationResultUploadStatus_ByID_Call
- func (_e *ComputationResultUploadStatus_Expecter) GetIDsByUploadStatus(targetUploadStatus interface{}) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
- func (_e *ComputationResultUploadStatus_Expecter) Remove(blockID interface{}) *ComputationResultUploadStatus_Remove_Call
- func (_e *ComputationResultUploadStatus_Expecter) Upsert(blockID interface{}, wasUploadCompleted interface{}) *ComputationResultUploadStatus_Upsert_Call
- type ComputationResultUploadStatus_GetIDsByUploadStatus_Call
- func (_c *ComputationResultUploadStatus_GetIDsByUploadStatus_Call) Return(identifiers []flow.Identifier, err error) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
- func (_c *ComputationResultUploadStatus_GetIDsByUploadStatus_Call) Run(run func(targetUploadStatus bool)) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
- func (_c *ComputationResultUploadStatus_GetIDsByUploadStatus_Call) RunAndReturn(run func(targetUploadStatus bool) ([]flow.Identifier, error)) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
- type ComputationResultUploadStatus_Remove_Call
- func (_c *ComputationResultUploadStatus_Remove_Call) Return(err error) *ComputationResultUploadStatus_Remove_Call
- func (_c *ComputationResultUploadStatus_Remove_Call) Run(run func(blockID flow.Identifier)) *ComputationResultUploadStatus_Remove_Call
- func (_c *ComputationResultUploadStatus_Remove_Call) RunAndReturn(run func(blockID flow.Identifier) error) *ComputationResultUploadStatus_Remove_Call
- type ComputationResultUploadStatus_Upsert_Call
- func (_c *ComputationResultUploadStatus_Upsert_Call) Return(err error) *ComputationResultUploadStatus_Upsert_Call
- func (_c *ComputationResultUploadStatus_Upsert_Call) Run(run func(blockID flow.Identifier, wasUploadCompleted bool)) *ComputationResultUploadStatus_Upsert_Call
- func (_c *ComputationResultUploadStatus_Upsert_Call) RunAndReturn(run func(blockID flow.Identifier, wasUploadCompleted bool) error) *ComputationResultUploadStatus_Upsert_Call
- type ConsumerProgress
- func (_mock *ConsumerProgress) BatchSetProcessedIndex(processed uint64, batch storage.ReaderBatchWriter) error
- func (_m *ConsumerProgress) EXPECT() *ConsumerProgress_Expecter
- func (_mock *ConsumerProgress) ProcessedIndex() (uint64, error)
- func (_mock *ConsumerProgress) SetProcessedIndex(processed uint64) error
- type ConsumerProgressInitializer
- type ConsumerProgressInitializer_Expecter
- type ConsumerProgressInitializer_Initialize_Call
- func (_c *ConsumerProgressInitializer_Initialize_Call) Return(consumerProgress storage.ConsumerProgress, err error) *ConsumerProgressInitializer_Initialize_Call
- func (_c *ConsumerProgressInitializer_Initialize_Call) Run(run func(defaultIndex uint64)) *ConsumerProgressInitializer_Initialize_Call
- func (_c *ConsumerProgressInitializer_Initialize_Call) RunAndReturn(run func(defaultIndex uint64) (storage.ConsumerProgress, error)) *ConsumerProgressInitializer_Initialize_Call
- type ConsumerProgress_BatchSetProcessedIndex_Call
- func (_c *ConsumerProgress_BatchSetProcessedIndex_Call) Return(err error) *ConsumerProgress_BatchSetProcessedIndex_Call
- func (_c *ConsumerProgress_BatchSetProcessedIndex_Call) Run(run func(processed uint64, batch storage.ReaderBatchWriter)) *ConsumerProgress_BatchSetProcessedIndex_Call
- func (_c *ConsumerProgress_BatchSetProcessedIndex_Call) RunAndReturn(run func(processed uint64, batch storage.ReaderBatchWriter) error) *ConsumerProgress_BatchSetProcessedIndex_Call
- type ConsumerProgress_Expecter
- func (_e *ConsumerProgress_Expecter) BatchSetProcessedIndex(processed interface{}, batch interface{}) *ConsumerProgress_BatchSetProcessedIndex_Call
- func (_e *ConsumerProgress_Expecter) ProcessedIndex() *ConsumerProgress_ProcessedIndex_Call
- func (_e *ConsumerProgress_Expecter) SetProcessedIndex(processed interface{}) *ConsumerProgress_SetProcessedIndex_Call
- type ConsumerProgress_ProcessedIndex_Call
- func (_c *ConsumerProgress_ProcessedIndex_Call) Return(v uint64, err error) *ConsumerProgress_ProcessedIndex_Call
- func (_c *ConsumerProgress_ProcessedIndex_Call) Run(run func()) *ConsumerProgress_ProcessedIndex_Call
- func (_c *ConsumerProgress_ProcessedIndex_Call) RunAndReturn(run func() (uint64, error)) *ConsumerProgress_ProcessedIndex_Call
- type ConsumerProgress_SetProcessedIndex_Call
- func (_c *ConsumerProgress_SetProcessedIndex_Call) Return(err error) *ConsumerProgress_SetProcessedIndex_Call
- func (_c *ConsumerProgress_SetProcessedIndex_Call) Run(run func(processed uint64)) *ConsumerProgress_SetProcessedIndex_Call
- func (_c *ConsumerProgress_SetProcessedIndex_Call) RunAndReturn(run func(processed uint64) error) *ConsumerProgress_SetProcessedIndex_Call
- type DB
- type DB_Close_Call
- type DB_Expecter
- type DB_NewBatch_Call
- type DB_Reader_Call
- type DB_WithReaderBatchWriter_Call
- func (_c *DB_WithReaderBatchWriter_Call) Return(err error) *DB_WithReaderBatchWriter_Call
- func (_c *DB_WithReaderBatchWriter_Call) Run(run func(fn func(storage.ReaderBatchWriter) error)) *DB_WithReaderBatchWriter_Call
- func (_c *DB_WithReaderBatchWriter_Call) RunAndReturn(run func(fn func(storage.ReaderBatchWriter) error) error) *DB_WithReaderBatchWriter_Call
- type DKGState
- func (_mock *DKGState) CommitMyBeaconPrivateKey(epochCounter uint64, commit *flow.EpochCommit) error
- func (_m *DKGState) EXPECT() *DKGState_Expecter
- func (_mock *DKGState) GetDKGState(epochCounter uint64) (flow.DKGState, error)
- func (_mock *DKGState) InsertMyBeaconPrivateKey(epochCounter uint64, key crypto.PrivateKey) error
- func (_mock *DKGState) IsDKGStarted(epochCounter uint64) (bool, error)
- func (_mock *DKGState) RetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, bool, error)
- func (_mock *DKGState) SetDKGState(epochCounter uint64, newState flow.DKGState) error
- func (_mock *DKGState) UnsafeRetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, error)
- type DKGStateReader
- func (_m *DKGStateReader) EXPECT() *DKGStateReader_Expecter
- func (_mock *DKGStateReader) GetDKGState(epochCounter uint64) (flow.DKGState, error)
- func (_mock *DKGStateReader) IsDKGStarted(epochCounter uint64) (bool, error)
- func (_mock *DKGStateReader) RetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, bool, error)
- func (_mock *DKGStateReader) UnsafeRetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, error)
- type DKGStateReader_Expecter
- func (_e *DKGStateReader_Expecter) GetDKGState(epochCounter interface{}) *DKGStateReader_GetDKGState_Call
- func (_e *DKGStateReader_Expecter) IsDKGStarted(epochCounter interface{}) *DKGStateReader_IsDKGStarted_Call
- func (_e *DKGStateReader_Expecter) RetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
- func (_e *DKGStateReader_Expecter) UnsafeRetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
- type DKGStateReader_GetDKGState_Call
- func (_c *DKGStateReader_GetDKGState_Call) Return(dKGState flow.DKGState, err error) *DKGStateReader_GetDKGState_Call
- func (_c *DKGStateReader_GetDKGState_Call) Run(run func(epochCounter uint64)) *DKGStateReader_GetDKGState_Call
- func (_c *DKGStateReader_GetDKGState_Call) RunAndReturn(run func(epochCounter uint64) (flow.DKGState, error)) *DKGStateReader_GetDKGState_Call
- type DKGStateReader_IsDKGStarted_Call
- func (_c *DKGStateReader_IsDKGStarted_Call) Return(b bool, err error) *DKGStateReader_IsDKGStarted_Call
- func (_c *DKGStateReader_IsDKGStarted_Call) Run(run func(epochCounter uint64)) *DKGStateReader_IsDKGStarted_Call
- func (_c *DKGStateReader_IsDKGStarted_Call) RunAndReturn(run func(epochCounter uint64) (bool, error)) *DKGStateReader_IsDKGStarted_Call
- type DKGStateReader_RetrieveMyBeaconPrivateKey_Call
- func (_c *DKGStateReader_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
- func (_c *DKGStateReader_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
- func (_c *DKGStateReader_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
- type DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) Return(privateKey crypto.PrivateKey, err error) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, error)) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
- type DKGState_CommitMyBeaconPrivateKey_Call
- func (_c *DKGState_CommitMyBeaconPrivateKey_Call) Return(err error) *DKGState_CommitMyBeaconPrivateKey_Call
- func (_c *DKGState_CommitMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64, commit *flow.EpochCommit)) *DKGState_CommitMyBeaconPrivateKey_Call
- func (_c *DKGState_CommitMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64, commit *flow.EpochCommit) error) *DKGState_CommitMyBeaconPrivateKey_Call
- type DKGState_Expecter
- func (_e *DKGState_Expecter) CommitMyBeaconPrivateKey(epochCounter interface{}, commit interface{}) *DKGState_CommitMyBeaconPrivateKey_Call
- func (_e *DKGState_Expecter) GetDKGState(epochCounter interface{}) *DKGState_GetDKGState_Call
- func (_e *DKGState_Expecter) InsertMyBeaconPrivateKey(epochCounter interface{}, key interface{}) *DKGState_InsertMyBeaconPrivateKey_Call
- func (_e *DKGState_Expecter) IsDKGStarted(epochCounter interface{}) *DKGState_IsDKGStarted_Call
- func (_e *DKGState_Expecter) RetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGState_RetrieveMyBeaconPrivateKey_Call
- func (_e *DKGState_Expecter) SetDKGState(epochCounter interface{}, newState interface{}) *DKGState_SetDKGState_Call
- func (_e *DKGState_Expecter) UnsafeRetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
- type DKGState_GetDKGState_Call
- func (_c *DKGState_GetDKGState_Call) Return(dKGState flow.DKGState, err error) *DKGState_GetDKGState_Call
- func (_c *DKGState_GetDKGState_Call) Run(run func(epochCounter uint64)) *DKGState_GetDKGState_Call
- func (_c *DKGState_GetDKGState_Call) RunAndReturn(run func(epochCounter uint64) (flow.DKGState, error)) *DKGState_GetDKGState_Call
- type DKGState_InsertMyBeaconPrivateKey_Call
- func (_c *DKGState_InsertMyBeaconPrivateKey_Call) Return(err error) *DKGState_InsertMyBeaconPrivateKey_Call
- func (_c *DKGState_InsertMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64, key crypto.PrivateKey)) *DKGState_InsertMyBeaconPrivateKey_Call
- func (_c *DKGState_InsertMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64, key crypto.PrivateKey) error) *DKGState_InsertMyBeaconPrivateKey_Call
- type DKGState_IsDKGStarted_Call
- func (_c *DKGState_IsDKGStarted_Call) Return(b bool, err error) *DKGState_IsDKGStarted_Call
- func (_c *DKGState_IsDKGStarted_Call) Run(run func(epochCounter uint64)) *DKGState_IsDKGStarted_Call
- func (_c *DKGState_IsDKGStarted_Call) RunAndReturn(run func(epochCounter uint64) (bool, error)) *DKGState_IsDKGStarted_Call
- type DKGState_RetrieveMyBeaconPrivateKey_Call
- func (_c *DKGState_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *DKGState_RetrieveMyBeaconPrivateKey_Call
- func (_c *DKGState_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGState_RetrieveMyBeaconPrivateKey_Call
- func (_c *DKGState_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *DKGState_RetrieveMyBeaconPrivateKey_Call
- type DKGState_SetDKGState_Call
- func (_c *DKGState_SetDKGState_Call) Return(err error) *DKGState_SetDKGState_Call
- func (_c *DKGState_SetDKGState_Call) Run(run func(epochCounter uint64, newState flow.DKGState)) *DKGState_SetDKGState_Call
- func (_c *DKGState_SetDKGState_Call) RunAndReturn(run func(epochCounter uint64, newState flow.DKGState) error) *DKGState_SetDKGState_Call
- type DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) Return(privateKey crypto.PrivateKey, err error) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, error)) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
- type EpochCommits
- type EpochCommits_BatchStore_Call
- func (_c *EpochCommits_BatchStore_Call) Return(err error) *EpochCommits_BatchStore_Call
- func (_c *EpochCommits_BatchStore_Call) Run(run func(rw storage.ReaderBatchWriter, commit *flow.EpochCommit)) *EpochCommits_BatchStore_Call
- func (_c *EpochCommits_BatchStore_Call) RunAndReturn(run func(rw storage.ReaderBatchWriter, commit *flow.EpochCommit) error) *EpochCommits_BatchStore_Call
- type EpochCommits_ByID_Call
- func (_c *EpochCommits_ByID_Call) Return(epochCommit *flow.EpochCommit, err error) *EpochCommits_ByID_Call
- func (_c *EpochCommits_ByID_Call) Run(run func(identifier flow.Identifier)) *EpochCommits_ByID_Call
- func (_c *EpochCommits_ByID_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.EpochCommit, error)) *EpochCommits_ByID_Call
- type EpochCommits_Expecter
- type EpochProtocolStateEntries
- func (_mock *EpochProtocolStateEntries) BatchIndex(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, ...) error
- func (_mock *EpochProtocolStateEntries) BatchStore(w storage.Writer, epochProtocolStateID flow.Identifier, ...) error
- func (_mock *EpochProtocolStateEntries) ByBlockID(blockID flow.Identifier) (*flow.RichEpochStateEntry, error)
- func (_mock *EpochProtocolStateEntries) ByID(id flow.Identifier) (*flow.RichEpochStateEntry, error)
- func (_m *EpochProtocolStateEntries) EXPECT() *EpochProtocolStateEntries_Expecter
- type EpochProtocolStateEntries_BatchIndex_Call
- func (_c *EpochProtocolStateEntries_BatchIndex_Call) Return(err error) *EpochProtocolStateEntries_BatchIndex_Call
- func (_c *EpochProtocolStateEntries_BatchIndex_Call) Run(...) *EpochProtocolStateEntries_BatchIndex_Call
- func (_c *EpochProtocolStateEntries_BatchIndex_Call) RunAndReturn(...) *EpochProtocolStateEntries_BatchIndex_Call
- type EpochProtocolStateEntries_BatchStore_Call
- func (_c *EpochProtocolStateEntries_BatchStore_Call) Return(err error) *EpochProtocolStateEntries_BatchStore_Call
- func (_c *EpochProtocolStateEntries_BatchStore_Call) Run(run func(w storage.Writer, epochProtocolStateID flow.Identifier, ...)) *EpochProtocolStateEntries_BatchStore_Call
- func (_c *EpochProtocolStateEntries_BatchStore_Call) RunAndReturn(run func(w storage.Writer, epochProtocolStateID flow.Identifier, ...) error) *EpochProtocolStateEntries_BatchStore_Call
- type EpochProtocolStateEntries_ByBlockID_Call
- func (_c *EpochProtocolStateEntries_ByBlockID_Call) Return(richEpochStateEntry *flow.RichEpochStateEntry, err error) *EpochProtocolStateEntries_ByBlockID_Call
- func (_c *EpochProtocolStateEntries_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *EpochProtocolStateEntries_ByBlockID_Call
- func (_c *EpochProtocolStateEntries_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.RichEpochStateEntry, error)) *EpochProtocolStateEntries_ByBlockID_Call
- type EpochProtocolStateEntries_ByID_Call
- func (_c *EpochProtocolStateEntries_ByID_Call) Return(richEpochStateEntry *flow.RichEpochStateEntry, err error) *EpochProtocolStateEntries_ByID_Call
- func (_c *EpochProtocolStateEntries_ByID_Call) Run(run func(id flow.Identifier)) *EpochProtocolStateEntries_ByID_Call
- func (_c *EpochProtocolStateEntries_ByID_Call) RunAndReturn(run func(id flow.Identifier) (*flow.RichEpochStateEntry, error)) *EpochProtocolStateEntries_ByID_Call
- type EpochProtocolStateEntries_Expecter
- func (_e *EpochProtocolStateEntries_Expecter) BatchIndex(lctx interface{}, rw interface{}, blockID interface{}, ...) *EpochProtocolStateEntries_BatchIndex_Call
- func (_e *EpochProtocolStateEntries_Expecter) BatchStore(w interface{}, epochProtocolStateID interface{}, ...) *EpochProtocolStateEntries_BatchStore_Call
- func (_e *EpochProtocolStateEntries_Expecter) ByBlockID(blockID interface{}) *EpochProtocolStateEntries_ByBlockID_Call
- func (_e *EpochProtocolStateEntries_Expecter) ByID(id interface{}) *EpochProtocolStateEntries_ByID_Call
- type EpochRecoveryMyBeaconKey
- func (_m *EpochRecoveryMyBeaconKey) EXPECT() *EpochRecoveryMyBeaconKey_Expecter
- func (_mock *EpochRecoveryMyBeaconKey) GetDKGState(epochCounter uint64) (flow.DKGState, error)
- func (_mock *EpochRecoveryMyBeaconKey) IsDKGStarted(epochCounter uint64) (bool, error)
- func (_mock *EpochRecoveryMyBeaconKey) RetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, bool, error)
- func (_mock *EpochRecoveryMyBeaconKey) UnsafeRetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, error)
- func (_mock *EpochRecoveryMyBeaconKey) UpsertMyBeaconPrivateKey(epochCounter uint64, key crypto.PrivateKey, commit *flow.EpochCommit) error
- type EpochRecoveryMyBeaconKey_Expecter
- func (_e *EpochRecoveryMyBeaconKey_Expecter) GetDKGState(epochCounter interface{}) *EpochRecoveryMyBeaconKey_GetDKGState_Call
- func (_e *EpochRecoveryMyBeaconKey_Expecter) IsDKGStarted(epochCounter interface{}) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
- func (_e *EpochRecoveryMyBeaconKey_Expecter) RetrieveMyBeaconPrivateKey(epochCounter interface{}) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
- func (_e *EpochRecoveryMyBeaconKey_Expecter) UnsafeRetrieveMyBeaconPrivateKey(epochCounter interface{}) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_e *EpochRecoveryMyBeaconKey_Expecter) UpsertMyBeaconPrivateKey(epochCounter interface{}, key interface{}, commit interface{}) *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
- type EpochRecoveryMyBeaconKey_GetDKGState_Call
- func (_c *EpochRecoveryMyBeaconKey_GetDKGState_Call) Return(dKGState flow.DKGState, err error) *EpochRecoveryMyBeaconKey_GetDKGState_Call
- func (_c *EpochRecoveryMyBeaconKey_GetDKGState_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_GetDKGState_Call
- func (_c *EpochRecoveryMyBeaconKey_GetDKGState_Call) RunAndReturn(run func(epochCounter uint64) (flow.DKGState, error)) *EpochRecoveryMyBeaconKey_GetDKGState_Call
- type EpochRecoveryMyBeaconKey_IsDKGStarted_Call
- func (_c *EpochRecoveryMyBeaconKey_IsDKGStarted_Call) Return(b bool, err error) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
- func (_c *EpochRecoveryMyBeaconKey_IsDKGStarted_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
- func (_c *EpochRecoveryMyBeaconKey_IsDKGStarted_Call) RunAndReturn(run func(epochCounter uint64) (bool, error)) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
- type EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
- type EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) Return(privateKey crypto.PrivateKey, err error) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, error)) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
- type EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call) Return(err error) *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64, key crypto.PrivateKey, commit *flow.EpochCommit)) *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
- func (_c *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call) RunAndReturn(...) *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
- type EpochSetups
- type EpochSetups_BatchStore_Call
- func (_c *EpochSetups_BatchStore_Call) Return(err error) *EpochSetups_BatchStore_Call
- func (_c *EpochSetups_BatchStore_Call) Run(run func(rw storage.ReaderBatchWriter, setup *flow.EpochSetup)) *EpochSetups_BatchStore_Call
- func (_c *EpochSetups_BatchStore_Call) RunAndReturn(run func(rw storage.ReaderBatchWriter, setup *flow.EpochSetup) error) *EpochSetups_BatchStore_Call
- type EpochSetups_ByID_Call
- func (_c *EpochSetups_ByID_Call) Return(epochSetup *flow.EpochSetup, err error) *EpochSetups_ByID_Call
- func (_c *EpochSetups_ByID_Call) Run(run func(identifier flow.Identifier)) *EpochSetups_ByID_Call
- func (_c *EpochSetups_ByID_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.EpochSetup, error)) *EpochSetups_ByID_Call
- type EpochSetups_Expecter
- type Events
- func (_mock *Events) BatchRemoveByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
- func (_mock *Events) BatchStore(lctx lockctx.Proof, blockID flow.Identifier, events []flow.EventsList, ...) error
- func (_mock *Events) ByBlockID(blockID flow.Identifier) ([]flow.Event, error)
- func (_mock *Events) ByBlockIDEventType(blockID flow.Identifier, eventType flow.EventType) ([]flow.Event, error)
- func (_mock *Events) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) ([]flow.Event, error)
- func (_mock *Events) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)
- func (_m *Events) EXPECT() *Events_Expecter
- type EventsReader
- func (_mock *EventsReader) ByBlockID(blockID flow.Identifier) ([]flow.Event, error)
- func (_mock *EventsReader) ByBlockIDEventType(blockID flow.Identifier, eventType flow.EventType) ([]flow.Event, error)
- func (_mock *EventsReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) ([]flow.Event, error)
- func (_mock *EventsReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)
- func (_m *EventsReader) EXPECT() *EventsReader_Expecter
- type EventsReader_ByBlockIDEventType_Call
- func (_c *EventsReader_ByBlockIDEventType_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockIDEventType_Call
- func (_c *EventsReader_ByBlockIDEventType_Call) Run(run func(blockID flow.Identifier, eventType flow.EventType)) *EventsReader_ByBlockIDEventType_Call
- func (_c *EventsReader_ByBlockIDEventType_Call) RunAndReturn(...) *EventsReader_ByBlockIDEventType_Call
- type EventsReader_ByBlockIDTransactionID_Call
- func (_c *EventsReader_ByBlockIDTransactionID_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockIDTransactionID_Call
- func (_c *EventsReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *EventsReader_ByBlockIDTransactionID_Call
- func (_c *EventsReader_ByBlockIDTransactionID_Call) RunAndReturn(...) *EventsReader_ByBlockIDTransactionID_Call
- type EventsReader_ByBlockIDTransactionIndex_Call
- func (_c *EventsReader_ByBlockIDTransactionIndex_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockIDTransactionIndex_Call
- func (_c *EventsReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *EventsReader_ByBlockIDTransactionIndex_Call
- func (_c *EventsReader_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)) *EventsReader_ByBlockIDTransactionIndex_Call
- type EventsReader_ByBlockID_Call
- func (_c *EventsReader_ByBlockID_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockID_Call
- func (_c *EventsReader_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *EventsReader_ByBlockID_Call
- func (_c *EventsReader_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) ([]flow.Event, error)) *EventsReader_ByBlockID_Call
- type EventsReader_Expecter
- func (_e *EventsReader_Expecter) ByBlockID(blockID interface{}) *EventsReader_ByBlockID_Call
- func (_e *EventsReader_Expecter) ByBlockIDEventType(blockID interface{}, eventType interface{}) *EventsReader_ByBlockIDEventType_Call
- func (_e *EventsReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *EventsReader_ByBlockIDTransactionID_Call
- func (_e *EventsReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *EventsReader_ByBlockIDTransactionIndex_Call
- type Events_BatchRemoveByBlockID_Call
- func (_c *Events_BatchRemoveByBlockID_Call) Return(err error) *Events_BatchRemoveByBlockID_Call
- func (_c *Events_BatchRemoveByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *Events_BatchRemoveByBlockID_Call
- func (_c *Events_BatchRemoveByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *Events_BatchRemoveByBlockID_Call
- type Events_BatchStore_Call
- type Events_ByBlockIDEventType_Call
- func (_c *Events_ByBlockIDEventType_Call) Return(events []flow.Event, err error) *Events_ByBlockIDEventType_Call
- func (_c *Events_ByBlockIDEventType_Call) Run(run func(blockID flow.Identifier, eventType flow.EventType)) *Events_ByBlockIDEventType_Call
- func (_c *Events_ByBlockIDEventType_Call) RunAndReturn(...) *Events_ByBlockIDEventType_Call
- type Events_ByBlockIDTransactionID_Call
- func (_c *Events_ByBlockIDTransactionID_Call) Return(events []flow.Event, err error) *Events_ByBlockIDTransactionID_Call
- func (_c *Events_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *Events_ByBlockIDTransactionID_Call
- func (_c *Events_ByBlockIDTransactionID_Call) RunAndReturn(...) *Events_ByBlockIDTransactionID_Call
- type Events_ByBlockIDTransactionIndex_Call
- func (_c *Events_ByBlockIDTransactionIndex_Call) Return(events []flow.Event, err error) *Events_ByBlockIDTransactionIndex_Call
- func (_c *Events_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *Events_ByBlockIDTransactionIndex_Call
- func (_c *Events_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)) *Events_ByBlockIDTransactionIndex_Call
- type Events_ByBlockID_Call
- func (_c *Events_ByBlockID_Call) Return(events []flow.Event, err error) *Events_ByBlockID_Call
- func (_c *Events_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Events_ByBlockID_Call
- func (_c *Events_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) ([]flow.Event, error)) *Events_ByBlockID_Call
- type Events_Expecter
- func (_e *Events_Expecter) BatchRemoveByBlockID(blockID interface{}, batch interface{}) *Events_BatchRemoveByBlockID_Call
- func (_e *Events_Expecter) BatchStore(lctx interface{}, blockID interface{}, events interface{}, batch interface{}) *Events_BatchStore_Call
- func (_e *Events_Expecter) ByBlockID(blockID interface{}) *Events_ByBlockID_Call
- func (_e *Events_Expecter) ByBlockIDEventType(blockID interface{}, eventType interface{}) *Events_ByBlockIDEventType_Call
- func (_e *Events_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *Events_ByBlockIDTransactionID_Call
- func (_e *Events_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *Events_ByBlockIDTransactionIndex_Call
- type ExecutionForkEvidence
- type ExecutionForkEvidence_Expecter
- type ExecutionForkEvidence_Retrieve_Call
- func (_c *ExecutionForkEvidence_Retrieve_Call) Return(incorporatedResultSeals []*flow.IncorporatedResultSeal, err error) *ExecutionForkEvidence_Retrieve_Call
- func (_c *ExecutionForkEvidence_Retrieve_Call) Run(run func()) *ExecutionForkEvidence_Retrieve_Call
- func (_c *ExecutionForkEvidence_Retrieve_Call) RunAndReturn(run func() ([]*flow.IncorporatedResultSeal, error)) *ExecutionForkEvidence_Retrieve_Call
- type ExecutionForkEvidence_StoreIfNotExists_Call
- func (_c *ExecutionForkEvidence_StoreIfNotExists_Call) Return(err error) *ExecutionForkEvidence_StoreIfNotExists_Call
- func (_c *ExecutionForkEvidence_StoreIfNotExists_Call) Run(run func(lctx lockctx.Proof, conflictingSeals []*flow.IncorporatedResultSeal)) *ExecutionForkEvidence_StoreIfNotExists_Call
- func (_c *ExecutionForkEvidence_StoreIfNotExists_Call) RunAndReturn(...) *ExecutionForkEvidence_StoreIfNotExists_Call
- type ExecutionReceipts
- func (_mock *ExecutionReceipts) BatchStore(receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter) error
- func (_mock *ExecutionReceipts) ByBlockID(blockID flow.Identifier) (flow.ExecutionReceiptList, error)
- func (_mock *ExecutionReceipts) ByID(receiptID flow.Identifier) (*flow.ExecutionReceipt, error)
- func (_m *ExecutionReceipts) EXPECT() *ExecutionReceipts_Expecter
- func (_mock *ExecutionReceipts) Store(receipt *flow.ExecutionReceipt) error
- type ExecutionReceipts_BatchStore_Call
- func (_c *ExecutionReceipts_BatchStore_Call) Return(err error) *ExecutionReceipts_BatchStore_Call
- func (_c *ExecutionReceipts_BatchStore_Call) Run(run func(receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter)) *ExecutionReceipts_BatchStore_Call
- func (_c *ExecutionReceipts_BatchStore_Call) RunAndReturn(...) *ExecutionReceipts_BatchStore_Call
- type ExecutionReceipts_ByBlockID_Call
- func (_c *ExecutionReceipts_ByBlockID_Call) Return(executionReceiptList flow.ExecutionReceiptList, err error) *ExecutionReceipts_ByBlockID_Call
- func (_c *ExecutionReceipts_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionReceipts_ByBlockID_Call
- func (_c *ExecutionReceipts_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.ExecutionReceiptList, error)) *ExecutionReceipts_ByBlockID_Call
- type ExecutionReceipts_ByID_Call
- func (_c *ExecutionReceipts_ByID_Call) Return(executionReceipt *flow.ExecutionReceipt, err error) *ExecutionReceipts_ByID_Call
- func (_c *ExecutionReceipts_ByID_Call) Run(run func(receiptID flow.Identifier)) *ExecutionReceipts_ByID_Call
- func (_c *ExecutionReceipts_ByID_Call) RunAndReturn(run func(receiptID flow.Identifier) (*flow.ExecutionReceipt, error)) *ExecutionReceipts_ByID_Call
- type ExecutionReceipts_Expecter
- func (_e *ExecutionReceipts_Expecter) BatchStore(receipt interface{}, batch interface{}) *ExecutionReceipts_BatchStore_Call
- func (_e *ExecutionReceipts_Expecter) ByBlockID(blockID interface{}) *ExecutionReceipts_ByBlockID_Call
- func (_e *ExecutionReceipts_Expecter) ByID(receiptID interface{}) *ExecutionReceipts_ByID_Call
- func (_e *ExecutionReceipts_Expecter) Store(receipt interface{}) *ExecutionReceipts_Store_Call
- type ExecutionReceipts_Store_Call
- func (_c *ExecutionReceipts_Store_Call) Return(err error) *ExecutionReceipts_Store_Call
- func (_c *ExecutionReceipts_Store_Call) Run(run func(receipt *flow.ExecutionReceipt)) *ExecutionReceipts_Store_Call
- func (_c *ExecutionReceipts_Store_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) error) *ExecutionReceipts_Store_Call
- type ExecutionResults
- func (_mock *ExecutionResults) BatchIndex(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, ...) error
- func (_mock *ExecutionResults) BatchRemoveIndexByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
- func (_mock *ExecutionResults) BatchStore(result *flow.ExecutionResult, batch storage.ReaderBatchWriter) error
- func (_mock *ExecutionResults) ByBlockID(blockID flow.Identifier) (*flow.ExecutionResult, error)
- func (_mock *ExecutionResults) ByID(resultID flow.Identifier) (*flow.ExecutionResult, error)
- func (_m *ExecutionResults) EXPECT() *ExecutionResults_Expecter
- func (_mock *ExecutionResults) IDByBlockID(blockID flow.Identifier) (flow.Identifier, error)
- type ExecutionResultsReader
- func (_mock *ExecutionResultsReader) ByBlockID(blockID flow.Identifier) (*flow.ExecutionResult, error)
- func (_mock *ExecutionResultsReader) ByID(resultID flow.Identifier) (*flow.ExecutionResult, error)
- func (_m *ExecutionResultsReader) EXPECT() *ExecutionResultsReader_Expecter
- func (_mock *ExecutionResultsReader) IDByBlockID(blockID flow.Identifier) (flow.Identifier, error)
- type ExecutionResultsReader_ByBlockID_Call
- func (_c *ExecutionResultsReader_ByBlockID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResultsReader_ByBlockID_Call
- func (_c *ExecutionResultsReader_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResultsReader_ByBlockID_Call
- func (_c *ExecutionResultsReader_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResultsReader_ByBlockID_Call
- type ExecutionResultsReader_ByID_Call
- func (_c *ExecutionResultsReader_ByID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResultsReader_ByID_Call
- func (_c *ExecutionResultsReader_ByID_Call) Run(run func(resultID flow.Identifier)) *ExecutionResultsReader_ByID_Call
- func (_c *ExecutionResultsReader_ByID_Call) RunAndReturn(run func(resultID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResultsReader_ByID_Call
- type ExecutionResultsReader_Expecter
- func (_e *ExecutionResultsReader_Expecter) ByBlockID(blockID interface{}) *ExecutionResultsReader_ByBlockID_Call
- func (_e *ExecutionResultsReader_Expecter) ByID(resultID interface{}) *ExecutionResultsReader_ByID_Call
- func (_e *ExecutionResultsReader_Expecter) IDByBlockID(blockID interface{}) *ExecutionResultsReader_IDByBlockID_Call
- type ExecutionResultsReader_IDByBlockID_Call
- func (_c *ExecutionResultsReader_IDByBlockID_Call) Return(identifier flow.Identifier, err error) *ExecutionResultsReader_IDByBlockID_Call
- func (_c *ExecutionResultsReader_IDByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResultsReader_IDByBlockID_Call
- func (_c *ExecutionResultsReader_IDByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Identifier, error)) *ExecutionResultsReader_IDByBlockID_Call
- type ExecutionResults_BatchIndex_Call
- type ExecutionResults_BatchRemoveIndexByBlockID_Call
- func (_c *ExecutionResults_BatchRemoveIndexByBlockID_Call) Return(err error) *ExecutionResults_BatchRemoveIndexByBlockID_Call
- func (_c *ExecutionResults_BatchRemoveIndexByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *ExecutionResults_BatchRemoveIndexByBlockID_Call
- func (_c *ExecutionResults_BatchRemoveIndexByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *ExecutionResults_BatchRemoveIndexByBlockID_Call
- type ExecutionResults_BatchStore_Call
- func (_c *ExecutionResults_BatchStore_Call) Return(err error) *ExecutionResults_BatchStore_Call
- func (_c *ExecutionResults_BatchStore_Call) Run(run func(result *flow.ExecutionResult, batch storage.ReaderBatchWriter)) *ExecutionResults_BatchStore_Call
- func (_c *ExecutionResults_BatchStore_Call) RunAndReturn(run func(result *flow.ExecutionResult, batch storage.ReaderBatchWriter) error) *ExecutionResults_BatchStore_Call
- type ExecutionResults_ByBlockID_Call
- func (_c *ExecutionResults_ByBlockID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResults_ByBlockID_Call
- func (_c *ExecutionResults_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResults_ByBlockID_Call
- func (_c *ExecutionResults_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResults_ByBlockID_Call
- type ExecutionResults_ByID_Call
- func (_c *ExecutionResults_ByID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResults_ByID_Call
- func (_c *ExecutionResults_ByID_Call) Run(run func(resultID flow.Identifier)) *ExecutionResults_ByID_Call
- func (_c *ExecutionResults_ByID_Call) RunAndReturn(run func(resultID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResults_ByID_Call
- type ExecutionResults_Expecter
- func (_e *ExecutionResults_Expecter) BatchIndex(lctx interface{}, rw interface{}, blockID interface{}, resultID interface{}) *ExecutionResults_BatchIndex_Call
- func (_e *ExecutionResults_Expecter) BatchRemoveIndexByBlockID(blockID interface{}, batch interface{}) *ExecutionResults_BatchRemoveIndexByBlockID_Call
- func (_e *ExecutionResults_Expecter) BatchStore(result interface{}, batch interface{}) *ExecutionResults_BatchStore_Call
- func (_e *ExecutionResults_Expecter) ByBlockID(blockID interface{}) *ExecutionResults_ByBlockID_Call
- func (_e *ExecutionResults_Expecter) ByID(resultID interface{}) *ExecutionResults_ByID_Call
- func (_e *ExecutionResults_Expecter) IDByBlockID(blockID interface{}) *ExecutionResults_IDByBlockID_Call
- type ExecutionResults_IDByBlockID_Call
- func (_c *ExecutionResults_IDByBlockID_Call) Return(identifier flow.Identifier, err error) *ExecutionResults_IDByBlockID_Call
- func (_c *ExecutionResults_IDByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResults_IDByBlockID_Call
- func (_c *ExecutionResults_IDByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Identifier, error)) *ExecutionResults_IDByBlockID_Call
- type Guarantees
- type Guarantees_ByCollectionID_Call
- func (_c *Guarantees_ByCollectionID_Call) Return(collectionGuarantee *flow.CollectionGuarantee, err error) *Guarantees_ByCollectionID_Call
- func (_c *Guarantees_ByCollectionID_Call) Run(run func(collID flow.Identifier)) *Guarantees_ByCollectionID_Call
- func (_c *Guarantees_ByCollectionID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.CollectionGuarantee, error)) *Guarantees_ByCollectionID_Call
- type Guarantees_ByID_Call
- func (_c *Guarantees_ByID_Call) Return(collectionGuarantee *flow.CollectionGuarantee, err error) *Guarantees_ByID_Call
- func (_c *Guarantees_ByID_Call) Run(run func(guaranteeID flow.Identifier)) *Guarantees_ByID_Call
- func (_c *Guarantees_ByID_Call) RunAndReturn(run func(guaranteeID flow.Identifier) (*flow.CollectionGuarantee, error)) *Guarantees_ByID_Call
- type Guarantees_Expecter
- type Headers
- func (_mock *Headers) BlockIDByHeight(height uint64) (flow.Identifier, error)
- func (_mock *Headers) ByBlockID(blockID flow.Identifier) (*flow.Header, error)
- func (_mock *Headers) ByHeight(height uint64) (*flow.Header, error)
- func (_mock *Headers) ByParentID(parentID flow.Identifier) ([]*flow.Header, error)
- func (_mock *Headers) ByView(view uint64) (*flow.Header, error)
- func (_m *Headers) EXPECT() *Headers_Expecter
- func (_mock *Headers) Exists(blockID flow.Identifier) (bool, error)
- func (_mock *Headers) ProposalByBlockID(blockID flow.Identifier) (*flow.ProposalHeader, error)
- type Headers_BlockIDByHeight_Call
- func (_c *Headers_BlockIDByHeight_Call) Return(identifier flow.Identifier, err error) *Headers_BlockIDByHeight_Call
- func (_c *Headers_BlockIDByHeight_Call) Run(run func(height uint64)) *Headers_BlockIDByHeight_Call
- func (_c *Headers_BlockIDByHeight_Call) RunAndReturn(run func(height uint64) (flow.Identifier, error)) *Headers_BlockIDByHeight_Call
- type Headers_ByBlockID_Call
- func (_c *Headers_ByBlockID_Call) Return(header *flow.Header, err error) *Headers_ByBlockID_Call
- func (_c *Headers_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Headers_ByBlockID_Call
- func (_c *Headers_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Header, error)) *Headers_ByBlockID_Call
- type Headers_ByHeight_Call
- type Headers_ByParentID_Call
- func (_c *Headers_ByParentID_Call) Return(headers []*flow.Header, err error) *Headers_ByParentID_Call
- func (_c *Headers_ByParentID_Call) Run(run func(parentID flow.Identifier)) *Headers_ByParentID_Call
- func (_c *Headers_ByParentID_Call) RunAndReturn(run func(parentID flow.Identifier) ([]*flow.Header, error)) *Headers_ByParentID_Call
- type Headers_ByView_Call
- type Headers_Exists_Call
- type Headers_Expecter
- func (_e *Headers_Expecter) BlockIDByHeight(height interface{}) *Headers_BlockIDByHeight_Call
- func (_e *Headers_Expecter) ByBlockID(blockID interface{}) *Headers_ByBlockID_Call
- func (_e *Headers_Expecter) ByHeight(height interface{}) *Headers_ByHeight_Call
- func (_e *Headers_Expecter) ByParentID(parentID interface{}) *Headers_ByParentID_Call
- func (_e *Headers_Expecter) ByView(view interface{}) *Headers_ByView_Call
- func (_e *Headers_Expecter) Exists(blockID interface{}) *Headers_Exists_Call
- func (_e *Headers_Expecter) ProposalByBlockID(blockID interface{}) *Headers_ProposalByBlockID_Call
- type Headers_ProposalByBlockID_Call
- func (_c *Headers_ProposalByBlockID_Call) Return(proposalHeader *flow.ProposalHeader, err error) *Headers_ProposalByBlockID_Call
- func (_c *Headers_ProposalByBlockID_Call) Run(run func(blockID flow.Identifier)) *Headers_ProposalByBlockID_Call
- func (_c *Headers_ProposalByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ProposalHeader, error)) *Headers_ProposalByBlockID_Call
- type HeightIndex
- type HeightIndex_Expecter
- type HeightIndex_FirstHeight_Call
- type HeightIndex_LatestHeight_Call
- func (_c *HeightIndex_LatestHeight_Call) Return(v uint64, err error) *HeightIndex_LatestHeight_Call
- func (_c *HeightIndex_LatestHeight_Call) Run(run func()) *HeightIndex_LatestHeight_Call
- func (_c *HeightIndex_LatestHeight_Call) RunAndReturn(run func() (uint64, error)) *HeightIndex_LatestHeight_Call
- type HeightIndex_SetLatestHeight_Call
- func (_c *HeightIndex_SetLatestHeight_Call) Return(err error) *HeightIndex_SetLatestHeight_Call
- func (_c *HeightIndex_SetLatestHeight_Call) Run(run func(height uint64)) *HeightIndex_SetLatestHeight_Call
- func (_c *HeightIndex_SetLatestHeight_Call) RunAndReturn(run func(height uint64) error) *HeightIndex_SetLatestHeight_Call
- type Index
- type Index_ByBlockID_Call
- func (_c *Index_ByBlockID_Call) Return(index *flow.Index, err error) *Index_ByBlockID_Call
- func (_c *Index_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Index_ByBlockID_Call
- func (_c *Index_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Index, error)) *Index_ByBlockID_Call
- type Index_Expecter
- type IterItem
- type IterItem_Expecter
- type IterItem_KeyCopy_Call
- type IterItem_Key_Call
- type IterItem_Value_Call
- type Iterator
- type Iterator_Close_Call
- type Iterator_Expecter
- type Iterator_First_Call
- type Iterator_IterItem_Call
- type Iterator_Next_Call
- type Iterator_Valid_Call
- type LatestPersistedSealedResult
- type LatestPersistedSealedResult_BatchSet_Call
- func (_c *LatestPersistedSealedResult_BatchSet_Call) Return(err error) *LatestPersistedSealedResult_BatchSet_Call
- func (_c *LatestPersistedSealedResult_BatchSet_Call) Run(...) *LatestPersistedSealedResult_BatchSet_Call
- func (_c *LatestPersistedSealedResult_BatchSet_Call) RunAndReturn(...) *LatestPersistedSealedResult_BatchSet_Call
- type LatestPersistedSealedResult_Expecter
- type LatestPersistedSealedResult_Latest_Call
- func (_c *LatestPersistedSealedResult_Latest_Call) Return(identifier flow.Identifier, v uint64) *LatestPersistedSealedResult_Latest_Call
- func (_c *LatestPersistedSealedResult_Latest_Call) Run(run func()) *LatestPersistedSealedResult_Latest_Call
- func (_c *LatestPersistedSealedResult_Latest_Call) RunAndReturn(run func() (flow.Identifier, uint64)) *LatestPersistedSealedResult_Latest_Call
- type Ledger
- func (_m *Ledger) EXPECT() *Ledger_Expecter
- func (_mock *Ledger) EmptyStateCommitment() flow.StateCommitment
- func (_mock *Ledger) GetRegisters(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment) ([]flow.RegisterValue, error)
- func (_mock *Ledger) GetRegistersWithProof(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment) ([]flow.RegisterValue, []flow.StorageProof, error)
- func (_mock *Ledger) UpdateRegisters(registerIDs []flow.RegisterID, values []flow.RegisterValue, ...) (flow.StateCommitment, error)
- func (_mock *Ledger) UpdateRegistersWithProof(registerIDs []flow.RegisterID, values []flow.RegisterValue, ...) (flow.StateCommitment, []flow.StorageProof, error)
- type LedgerVerifier
- type LedgerVerifier_Expecter
- type LedgerVerifier_VerifyRegistersProof_Call
- func (_c *LedgerVerifier_VerifyRegistersProof_Call) Return(verified bool, err error) *LedgerVerifier_VerifyRegistersProof_Call
- func (_c *LedgerVerifier_VerifyRegistersProof_Call) Run(...) *LedgerVerifier_VerifyRegistersProof_Call
- func (_c *LedgerVerifier_VerifyRegistersProof_Call) RunAndReturn(...) *LedgerVerifier_VerifyRegistersProof_Call
- type Ledger_EmptyStateCommitment_Call
- func (_c *Ledger_EmptyStateCommitment_Call) Return(stateCommitment flow.StateCommitment) *Ledger_EmptyStateCommitment_Call
- func (_c *Ledger_EmptyStateCommitment_Call) Run(run func()) *Ledger_EmptyStateCommitment_Call
- func (_c *Ledger_EmptyStateCommitment_Call) RunAndReturn(run func() flow.StateCommitment) *Ledger_EmptyStateCommitment_Call
- type Ledger_Expecter
- func (_e *Ledger_Expecter) EmptyStateCommitment() *Ledger_EmptyStateCommitment_Call
- func (_e *Ledger_Expecter) GetRegisters(registerIDs interface{}, stateCommitment interface{}) *Ledger_GetRegisters_Call
- func (_e *Ledger_Expecter) GetRegistersWithProof(registerIDs interface{}, stateCommitment interface{}) *Ledger_GetRegistersWithProof_Call
- func (_e *Ledger_Expecter) UpdateRegisters(registerIDs interface{}, values interface{}, stateCommitment interface{}) *Ledger_UpdateRegisters_Call
- func (_e *Ledger_Expecter) UpdateRegistersWithProof(registerIDs interface{}, values interface{}, stateCommitment interface{}) *Ledger_UpdateRegistersWithProof_Call
- type Ledger_GetRegistersWithProof_Call
- func (_c *Ledger_GetRegistersWithProof_Call) Return(values []flow.RegisterValue, proofs []flow.StorageProof, err error) *Ledger_GetRegistersWithProof_Call
- func (_c *Ledger_GetRegistersWithProof_Call) Run(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment)) *Ledger_GetRegistersWithProof_Call
- func (_c *Ledger_GetRegistersWithProof_Call) RunAndReturn(...) *Ledger_GetRegistersWithProof_Call
- type Ledger_GetRegisters_Call
- func (_c *Ledger_GetRegisters_Call) Return(values []flow.RegisterValue, err error) *Ledger_GetRegisters_Call
- func (_c *Ledger_GetRegisters_Call) Run(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment)) *Ledger_GetRegisters_Call
- func (_c *Ledger_GetRegisters_Call) RunAndReturn(...) *Ledger_GetRegisters_Call
- type Ledger_UpdateRegistersWithProof_Call
- func (_c *Ledger_UpdateRegistersWithProof_Call) Return(newStateCommitment flow.StateCommitment, proofs []flow.StorageProof, err error) *Ledger_UpdateRegistersWithProof_Call
- func (_c *Ledger_UpdateRegistersWithProof_Call) Run(run func(registerIDs []flow.RegisterID, values []flow.RegisterValue, ...)) *Ledger_UpdateRegistersWithProof_Call
- func (_c *Ledger_UpdateRegistersWithProof_Call) RunAndReturn(...) *Ledger_UpdateRegistersWithProof_Call
- type Ledger_UpdateRegisters_Call
- func (_c *Ledger_UpdateRegisters_Call) Return(newStateCommitment flow.StateCommitment, err error) *Ledger_UpdateRegisters_Call
- func (_c *Ledger_UpdateRegisters_Call) Run(run func(registerIDs []flow.RegisterID, values []flow.RegisterValue, ...)) *Ledger_UpdateRegisters_Call
- func (_c *Ledger_UpdateRegisters_Call) RunAndReturn(...) *Ledger_UpdateRegisters_Call
- type LightTransactionResults
- func (_mock *LightTransactionResults) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, ...) error
- func (_mock *LightTransactionResults) ByBlockID(id flow.Identifier) ([]flow.LightTransactionResult, error)
- func (_mock *LightTransactionResults) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.LightTransactionResult, error)
- func (_mock *LightTransactionResults) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.LightTransactionResult, error)
- func (_m *LightTransactionResults) EXPECT() *LightTransactionResults_Expecter
- type LightTransactionResultsReader
- func (_mock *LightTransactionResultsReader) ByBlockID(id flow.Identifier) ([]flow.LightTransactionResult, error)
- func (_mock *LightTransactionResultsReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.LightTransactionResult, error)
- func (_mock *LightTransactionResultsReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.LightTransactionResult, error)
- func (_m *LightTransactionResultsReader) EXPECT() *LightTransactionResultsReader_Expecter
- type LightTransactionResultsReader_ByBlockIDTransactionID_Call
- func (_c *LightTransactionResultsReader_ByBlockIDTransactionID_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
- func (_c *LightTransactionResultsReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
- func (_c *LightTransactionResultsReader_ByBlockIDTransactionID_Call) RunAndReturn(...) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
- type LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
- func (_c *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
- func (_c *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
- func (_c *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) RunAndReturn(...) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
- type LightTransactionResultsReader_ByBlockID_Call
- func (_c *LightTransactionResultsReader_ByBlockID_Call) Return(lightTransactionResults []flow.LightTransactionResult, err error) *LightTransactionResultsReader_ByBlockID_Call
- func (_c *LightTransactionResultsReader_ByBlockID_Call) Run(run func(id flow.Identifier)) *LightTransactionResultsReader_ByBlockID_Call
- func (_c *LightTransactionResultsReader_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.LightTransactionResult, error)) *LightTransactionResultsReader_ByBlockID_Call
- type LightTransactionResultsReader_Expecter
- func (_e *LightTransactionResultsReader_Expecter) ByBlockID(id interface{}) *LightTransactionResultsReader_ByBlockID_Call
- func (_e *LightTransactionResultsReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
- func (_e *LightTransactionResultsReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
- type LightTransactionResults_BatchStore_Call
- func (_c *LightTransactionResults_BatchStore_Call) Return(err error) *LightTransactionResults_BatchStore_Call
- func (_c *LightTransactionResults_BatchStore_Call) Run(...) *LightTransactionResults_BatchStore_Call
- func (_c *LightTransactionResults_BatchStore_Call) RunAndReturn(...) *LightTransactionResults_BatchStore_Call
- type LightTransactionResults_ByBlockIDTransactionID_Call
- func (_c *LightTransactionResults_ByBlockIDTransactionID_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResults_ByBlockIDTransactionID_Call
- func (_c *LightTransactionResults_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *LightTransactionResults_ByBlockIDTransactionID_Call
- func (_c *LightTransactionResults_ByBlockIDTransactionID_Call) RunAndReturn(...) *LightTransactionResults_ByBlockIDTransactionID_Call
- type LightTransactionResults_ByBlockIDTransactionIndex_Call
- func (_c *LightTransactionResults_ByBlockIDTransactionIndex_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResults_ByBlockIDTransactionIndex_Call
- func (_c *LightTransactionResults_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *LightTransactionResults_ByBlockIDTransactionIndex_Call
- func (_c *LightTransactionResults_ByBlockIDTransactionIndex_Call) RunAndReturn(...) *LightTransactionResults_ByBlockIDTransactionIndex_Call
- type LightTransactionResults_ByBlockID_Call
- func (_c *LightTransactionResults_ByBlockID_Call) Return(lightTransactionResults []flow.LightTransactionResult, err error) *LightTransactionResults_ByBlockID_Call
- func (_c *LightTransactionResults_ByBlockID_Call) Run(run func(id flow.Identifier)) *LightTransactionResults_ByBlockID_Call
- func (_c *LightTransactionResults_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.LightTransactionResult, error)) *LightTransactionResults_ByBlockID_Call
- type LightTransactionResults_Expecter
- func (_e *LightTransactionResults_Expecter) BatchStore(lctx interface{}, rw interface{}, blockID interface{}, ...) *LightTransactionResults_BatchStore_Call
- func (_e *LightTransactionResults_Expecter) ByBlockID(id interface{}) *LightTransactionResults_ByBlockID_Call
- func (_e *LightTransactionResults_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *LightTransactionResults_ByBlockIDTransactionID_Call
- func (_e *LightTransactionResults_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *LightTransactionResults_ByBlockIDTransactionIndex_Call
- type LockManager
- type LockManager_Expecter
- type LockManager_NewContext_Call
- type MyExecutionReceipts
- func (_mock *MyExecutionReceipts) BatchRemoveIndexByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
- func (_mock *MyExecutionReceipts) BatchStoreMyReceipt(lctx lockctx.Proof, receipt *flow.ExecutionReceipt, ...) error
- func (_m *MyExecutionReceipts) EXPECT() *MyExecutionReceipts_Expecter
- func (_mock *MyExecutionReceipts) MyReceipt(blockID flow.Identifier) (*flow.ExecutionReceipt, error)
- type MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
- func (_c *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call) Return(err error) *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
- func (_c *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
- func (_c *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
- type MyExecutionReceipts_BatchStoreMyReceipt_Call
- func (_c *MyExecutionReceipts_BatchStoreMyReceipt_Call) Return(err error) *MyExecutionReceipts_BatchStoreMyReceipt_Call
- func (_c *MyExecutionReceipts_BatchStoreMyReceipt_Call) Run(run func(lctx lockctx.Proof, receipt *flow.ExecutionReceipt, ...)) *MyExecutionReceipts_BatchStoreMyReceipt_Call
- func (_c *MyExecutionReceipts_BatchStoreMyReceipt_Call) RunAndReturn(run func(lctx lockctx.Proof, receipt *flow.ExecutionReceipt, ...) error) *MyExecutionReceipts_BatchStoreMyReceipt_Call
- type MyExecutionReceipts_Expecter
- func (_e *MyExecutionReceipts_Expecter) BatchRemoveIndexByBlockID(blockID interface{}, batch interface{}) *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
- func (_e *MyExecutionReceipts_Expecter) BatchStoreMyReceipt(lctx interface{}, receipt interface{}, batch interface{}) *MyExecutionReceipts_BatchStoreMyReceipt_Call
- func (_e *MyExecutionReceipts_Expecter) MyReceipt(blockID interface{}) *MyExecutionReceipts_MyReceipt_Call
- type MyExecutionReceipts_MyReceipt_Call
- func (_c *MyExecutionReceipts_MyReceipt_Call) Return(executionReceipt *flow.ExecutionReceipt, err error) *MyExecutionReceipts_MyReceipt_Call
- func (_c *MyExecutionReceipts_MyReceipt_Call) Run(run func(blockID flow.Identifier)) *MyExecutionReceipts_MyReceipt_Call
- func (_c *MyExecutionReceipts_MyReceipt_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ExecutionReceipt, error)) *MyExecutionReceipts_MyReceipt_Call
- type NodeDisallowList
- type NodeDisallowList_Expecter
- type NodeDisallowList_Retrieve_Call
- func (_c *NodeDisallowList_Retrieve_Call) Return(err error) *NodeDisallowList_Retrieve_Call
- func (_c *NodeDisallowList_Retrieve_Call) Run(run func(disallowList *map[flow.Identifier]struct{})) *NodeDisallowList_Retrieve_Call
- func (_c *NodeDisallowList_Retrieve_Call) RunAndReturn(run func(disallowList *map[flow.Identifier]struct{}) error) *NodeDisallowList_Retrieve_Call
- type NodeDisallowList_Store_Call
- func (_c *NodeDisallowList_Store_Call) Return(err error) *NodeDisallowList_Store_Call
- func (_c *NodeDisallowList_Store_Call) Run(run func(disallowList map[flow.Identifier]struct{})) *NodeDisallowList_Store_Call
- func (_c *NodeDisallowList_Store_Call) RunAndReturn(run func(disallowList map[flow.Identifier]struct{}) error) *NodeDisallowList_Store_Call
- type Payloads
- type Payloads_ByBlockID_Call
- func (_c *Payloads_ByBlockID_Call) Return(payload *flow.Payload, err error) *Payloads_ByBlockID_Call
- func (_c *Payloads_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Payloads_ByBlockID_Call
- func (_c *Payloads_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Payload, error)) *Payloads_ByBlockID_Call
- type Payloads_Expecter
- type ProtocolKVStore
- func (_mock *ProtocolKVStore) BatchIndex(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, ...) error
- func (_mock *ProtocolKVStore) BatchStore(rw storage.ReaderBatchWriter, stateID flow.Identifier, ...) error
- func (_mock *ProtocolKVStore) ByBlockID(blockID flow.Identifier) (*flow.PSKeyValueStoreData, error)
- func (_mock *ProtocolKVStore) ByID(id flow.Identifier) (*flow.PSKeyValueStoreData, error)
- func (_m *ProtocolKVStore) EXPECT() *ProtocolKVStore_Expecter
- type ProtocolKVStore_BatchIndex_Call
- type ProtocolKVStore_BatchStore_Call
- func (_c *ProtocolKVStore_BatchStore_Call) Return(err error) *ProtocolKVStore_BatchStore_Call
- func (_c *ProtocolKVStore_BatchStore_Call) Run(run func(rw storage.ReaderBatchWriter, stateID flow.Identifier, ...)) *ProtocolKVStore_BatchStore_Call
- func (_c *ProtocolKVStore_BatchStore_Call) RunAndReturn(run func(rw storage.ReaderBatchWriter, stateID flow.Identifier, ...) error) *ProtocolKVStore_BatchStore_Call
- type ProtocolKVStore_ByBlockID_Call
- func (_c *ProtocolKVStore_ByBlockID_Call) Return(pSKeyValueStoreData *flow.PSKeyValueStoreData, err error) *ProtocolKVStore_ByBlockID_Call
- func (_c *ProtocolKVStore_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ProtocolKVStore_ByBlockID_Call
- func (_c *ProtocolKVStore_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.PSKeyValueStoreData, error)) *ProtocolKVStore_ByBlockID_Call
- type ProtocolKVStore_ByID_Call
- func (_c *ProtocolKVStore_ByID_Call) Return(pSKeyValueStoreData *flow.PSKeyValueStoreData, err error) *ProtocolKVStore_ByID_Call
- func (_c *ProtocolKVStore_ByID_Call) Run(run func(id flow.Identifier)) *ProtocolKVStore_ByID_Call
- func (_c *ProtocolKVStore_ByID_Call) RunAndReturn(run func(id flow.Identifier) (*flow.PSKeyValueStoreData, error)) *ProtocolKVStore_ByID_Call
- type ProtocolKVStore_Expecter
- func (_e *ProtocolKVStore_Expecter) BatchIndex(lctx interface{}, rw interface{}, blockID interface{}, stateID interface{}) *ProtocolKVStore_BatchIndex_Call
- func (_e *ProtocolKVStore_Expecter) BatchStore(rw interface{}, stateID interface{}, data interface{}) *ProtocolKVStore_BatchStore_Call
- func (_e *ProtocolKVStore_Expecter) ByBlockID(blockID interface{}) *ProtocolKVStore_ByBlockID_Call
- func (_e *ProtocolKVStore_Expecter) ByID(id interface{}) *ProtocolKVStore_ByID_Call
- type QuorumCertificates
- type QuorumCertificates_BatchStore_Call
- type QuorumCertificates_ByBlockID_Call
- func (_c *QuorumCertificates_ByBlockID_Call) Return(quorumCertificate *flow.QuorumCertificate, err error) *QuorumCertificates_ByBlockID_Call
- func (_c *QuorumCertificates_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *QuorumCertificates_ByBlockID_Call
- func (_c *QuorumCertificates_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.QuorumCertificate, error)) *QuorumCertificates_ByBlockID_Call
- type QuorumCertificates_Expecter
- type Reader
- type ReaderBatchWriter
- func (_mock *ReaderBatchWriter) AddCallback(fn func(error))
- func (_m *ReaderBatchWriter) EXPECT() *ReaderBatchWriter_Expecter
- func (_mock *ReaderBatchWriter) GlobalReader() storage.Reader
- func (_mock *ReaderBatchWriter) ScopedValue(key string) (any, bool)
- func (_mock *ReaderBatchWriter) SetScopedValue(key string, value any)
- func (_mock *ReaderBatchWriter) Writer() storage.Writer
- type ReaderBatchWriter_AddCallback_Call
- func (_c *ReaderBatchWriter_AddCallback_Call) Return() *ReaderBatchWriter_AddCallback_Call
- func (_c *ReaderBatchWriter_AddCallback_Call) Run(run func(fn func(error))) *ReaderBatchWriter_AddCallback_Call
- func (_c *ReaderBatchWriter_AddCallback_Call) RunAndReturn(run func(fn func(error))) *ReaderBatchWriter_AddCallback_Call
- type ReaderBatchWriter_Expecter
- func (_e *ReaderBatchWriter_Expecter) AddCallback(fn interface{}) *ReaderBatchWriter_AddCallback_Call
- func (_e *ReaderBatchWriter_Expecter) GlobalReader() *ReaderBatchWriter_GlobalReader_Call
- func (_e *ReaderBatchWriter_Expecter) ScopedValue(key interface{}) *ReaderBatchWriter_ScopedValue_Call
- func (_e *ReaderBatchWriter_Expecter) SetScopedValue(key interface{}, value interface{}) *ReaderBatchWriter_SetScopedValue_Call
- func (_e *ReaderBatchWriter_Expecter) Writer() *ReaderBatchWriter_Writer_Call
- type ReaderBatchWriter_GlobalReader_Call
- func (_c *ReaderBatchWriter_GlobalReader_Call) Return(reader storage.Reader) *ReaderBatchWriter_GlobalReader_Call
- func (_c *ReaderBatchWriter_GlobalReader_Call) Run(run func()) *ReaderBatchWriter_GlobalReader_Call
- func (_c *ReaderBatchWriter_GlobalReader_Call) RunAndReturn(run func() storage.Reader) *ReaderBatchWriter_GlobalReader_Call
- type ReaderBatchWriter_ScopedValue_Call
- func (_c *ReaderBatchWriter_ScopedValue_Call) Return(v any, b bool) *ReaderBatchWriter_ScopedValue_Call
- func (_c *ReaderBatchWriter_ScopedValue_Call) Run(run func(key string)) *ReaderBatchWriter_ScopedValue_Call
- func (_c *ReaderBatchWriter_ScopedValue_Call) RunAndReturn(run func(key string) (any, bool)) *ReaderBatchWriter_ScopedValue_Call
- type ReaderBatchWriter_SetScopedValue_Call
- func (_c *ReaderBatchWriter_SetScopedValue_Call) Return() *ReaderBatchWriter_SetScopedValue_Call
- func (_c *ReaderBatchWriter_SetScopedValue_Call) Run(run func(key string, value any)) *ReaderBatchWriter_SetScopedValue_Call
- func (_c *ReaderBatchWriter_SetScopedValue_Call) RunAndReturn(run func(key string, value any)) *ReaderBatchWriter_SetScopedValue_Call
- type ReaderBatchWriter_Writer_Call
- func (_c *ReaderBatchWriter_Writer_Call) Return(writer storage.Writer) *ReaderBatchWriter_Writer_Call
- func (_c *ReaderBatchWriter_Writer_Call) Run(run func()) *ReaderBatchWriter_Writer_Call
- func (_c *ReaderBatchWriter_Writer_Call) RunAndReturn(run func() storage.Writer) *ReaderBatchWriter_Writer_Call
- type Reader_Expecter
- type Reader_Get_Call
- type Reader_NewIter_Call
- type Reader_NewSeeker_Call
- type RegisterIndex
- func (_m *RegisterIndex) EXPECT() *RegisterIndex_Expecter
- func (_mock *RegisterIndex) FirstHeight() uint64
- func (_mock *RegisterIndex) Get(ID flow.RegisterID, height uint64) (flow.RegisterValue, error)
- func (_mock *RegisterIndex) LatestHeight() uint64
- func (_mock *RegisterIndex) Store(entries flow.RegisterEntries, height uint64) error
- type RegisterIndexReader
- type RegisterIndexReader_Expecter
- type RegisterIndexReader_FirstHeight_Call
- func (_c *RegisterIndexReader_FirstHeight_Call) Return(v uint64) *RegisterIndexReader_FirstHeight_Call
- func (_c *RegisterIndexReader_FirstHeight_Call) Run(run func()) *RegisterIndexReader_FirstHeight_Call
- func (_c *RegisterIndexReader_FirstHeight_Call) RunAndReturn(run func() uint64) *RegisterIndexReader_FirstHeight_Call
- type RegisterIndexReader_Get_Call
- func (_c *RegisterIndexReader_Get_Call) Return(v flow.RegisterValue, err error) *RegisterIndexReader_Get_Call
- func (_c *RegisterIndexReader_Get_Call) Run(run func(ID flow.RegisterID, height uint64)) *RegisterIndexReader_Get_Call
- func (_c *RegisterIndexReader_Get_Call) RunAndReturn(run func(ID flow.RegisterID, height uint64) (flow.RegisterValue, error)) *RegisterIndexReader_Get_Call
- type RegisterIndexReader_LatestHeight_Call
- func (_c *RegisterIndexReader_LatestHeight_Call) Return(v uint64) *RegisterIndexReader_LatestHeight_Call
- func (_c *RegisterIndexReader_LatestHeight_Call) Run(run func()) *RegisterIndexReader_LatestHeight_Call
- func (_c *RegisterIndexReader_LatestHeight_Call) RunAndReturn(run func() uint64) *RegisterIndexReader_LatestHeight_Call
- type RegisterIndex_Expecter
- func (_e *RegisterIndex_Expecter) FirstHeight() *RegisterIndex_FirstHeight_Call
- func (_e *RegisterIndex_Expecter) Get(ID interface{}, height interface{}) *RegisterIndex_Get_Call
- func (_e *RegisterIndex_Expecter) LatestHeight() *RegisterIndex_LatestHeight_Call
- func (_e *RegisterIndex_Expecter) Store(entries interface{}, height interface{}) *RegisterIndex_Store_Call
- type RegisterIndex_FirstHeight_Call
- type RegisterIndex_Get_Call
- func (_c *RegisterIndex_Get_Call) Return(v flow.RegisterValue, err error) *RegisterIndex_Get_Call
- func (_c *RegisterIndex_Get_Call) Run(run func(ID flow.RegisterID, height uint64)) *RegisterIndex_Get_Call
- func (_c *RegisterIndex_Get_Call) RunAndReturn(run func(ID flow.RegisterID, height uint64) (flow.RegisterValue, error)) *RegisterIndex_Get_Call
- type RegisterIndex_LatestHeight_Call
- type RegisterIndex_Store_Call
- func (_c *RegisterIndex_Store_Call) Return(err error) *RegisterIndex_Store_Call
- func (_c *RegisterIndex_Store_Call) Run(run func(entries flow.RegisterEntries, height uint64)) *RegisterIndex_Store_Call
- func (_c *RegisterIndex_Store_Call) RunAndReturn(run func(entries flow.RegisterEntries, height uint64) error) *RegisterIndex_Store_Call
- type ResultApprovals
- func (_mock *ResultApprovals) ByChunk(resultID flow.Identifier, chunkIndex uint64) (*flow.ResultApproval, error)
- func (_mock *ResultApprovals) ByID(approvalID flow.Identifier) (*flow.ResultApproval, error)
- func (_m *ResultApprovals) EXPECT() *ResultApprovals_Expecter
- func (_mock *ResultApprovals) StoreMyApproval(approval *flow.ResultApproval) func(lctx lockctx.Proof) error
- type ResultApprovals_ByChunk_Call
- func (_c *ResultApprovals_ByChunk_Call) Return(resultApproval *flow.ResultApproval, err error) *ResultApprovals_ByChunk_Call
- func (_c *ResultApprovals_ByChunk_Call) Run(run func(resultID flow.Identifier, chunkIndex uint64)) *ResultApprovals_ByChunk_Call
- func (_c *ResultApprovals_ByChunk_Call) RunAndReturn(...) *ResultApprovals_ByChunk_Call
- type ResultApprovals_ByID_Call
- func (_c *ResultApprovals_ByID_Call) Return(resultApproval *flow.ResultApproval, err error) *ResultApprovals_ByID_Call
- func (_c *ResultApprovals_ByID_Call) Run(run func(approvalID flow.Identifier)) *ResultApprovals_ByID_Call
- func (_c *ResultApprovals_ByID_Call) RunAndReturn(run func(approvalID flow.Identifier) (*flow.ResultApproval, error)) *ResultApprovals_ByID_Call
- type ResultApprovals_Expecter
- func (_e *ResultApprovals_Expecter) ByChunk(resultID interface{}, chunkIndex interface{}) *ResultApprovals_ByChunk_Call
- func (_e *ResultApprovals_Expecter) ByID(approvalID interface{}) *ResultApprovals_ByID_Call
- func (_e *ResultApprovals_Expecter) StoreMyApproval(approval interface{}) *ResultApprovals_StoreMyApproval_Call
- type ResultApprovals_StoreMyApproval_Call
- func (_c *ResultApprovals_StoreMyApproval_Call) Return(fn func(lctx lockctx.Proof) error) *ResultApprovals_StoreMyApproval_Call
- func (_c *ResultApprovals_StoreMyApproval_Call) Run(run func(approval *flow.ResultApproval)) *ResultApprovals_StoreMyApproval_Call
- func (_c *ResultApprovals_StoreMyApproval_Call) RunAndReturn(run func(approval *flow.ResultApproval) func(lctx lockctx.Proof) error) *ResultApprovals_StoreMyApproval_Call
- type SafeBeaconKeys
- type SafeBeaconKeys_Expecter
- type SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
- func (_c *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
- func (_c *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
- func (_c *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
- type ScheduledTransactions
- func (_mock *ScheduledTransactions) BatchIndex(lctx lockctx.Proof, blockID flow.Identifier, txID flow.Identifier, ...) error
- func (_mock *ScheduledTransactions) BlockIDByTransactionID(txID flow.Identifier) (flow.Identifier, error)
- func (_m *ScheduledTransactions) EXPECT() *ScheduledTransactions_Expecter
- func (_mock *ScheduledTransactions) TransactionIDByID(scheduledTxID uint64) (flow.Identifier, error)
- type ScheduledTransactionsReader
- func (_mock *ScheduledTransactionsReader) BlockIDByTransactionID(txID flow.Identifier) (flow.Identifier, error)
- func (_m *ScheduledTransactionsReader) EXPECT() *ScheduledTransactionsReader_Expecter
- func (_mock *ScheduledTransactionsReader) TransactionIDByID(scheduledTxID uint64) (flow.Identifier, error)
- type ScheduledTransactionsReader_BlockIDByTransactionID_Call
- func (_c *ScheduledTransactionsReader_BlockIDByTransactionID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactionsReader_BlockIDByTransactionID_Call
- func (_c *ScheduledTransactionsReader_BlockIDByTransactionID_Call) Run(run func(txID flow.Identifier)) *ScheduledTransactionsReader_BlockIDByTransactionID_Call
- func (_c *ScheduledTransactionsReader_BlockIDByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (flow.Identifier, error)) *ScheduledTransactionsReader_BlockIDByTransactionID_Call
- type ScheduledTransactionsReader_Expecter
- type ScheduledTransactionsReader_TransactionIDByID_Call
- func (_c *ScheduledTransactionsReader_TransactionIDByID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactionsReader_TransactionIDByID_Call
- func (_c *ScheduledTransactionsReader_TransactionIDByID_Call) Run(run func(scheduledTxID uint64)) *ScheduledTransactionsReader_TransactionIDByID_Call
- func (_c *ScheduledTransactionsReader_TransactionIDByID_Call) RunAndReturn(run func(scheduledTxID uint64) (flow.Identifier, error)) *ScheduledTransactionsReader_TransactionIDByID_Call
- type ScheduledTransactions_BatchIndex_Call
- func (_c *ScheduledTransactions_BatchIndex_Call) Return(err error) *ScheduledTransactions_BatchIndex_Call
- func (_c *ScheduledTransactions_BatchIndex_Call) Run(...) *ScheduledTransactions_BatchIndex_Call
- func (_c *ScheduledTransactions_BatchIndex_Call) RunAndReturn(...) *ScheduledTransactions_BatchIndex_Call
- type ScheduledTransactions_BlockIDByTransactionID_Call
- func (_c *ScheduledTransactions_BlockIDByTransactionID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactions_BlockIDByTransactionID_Call
- func (_c *ScheduledTransactions_BlockIDByTransactionID_Call) Run(run func(txID flow.Identifier)) *ScheduledTransactions_BlockIDByTransactionID_Call
- func (_c *ScheduledTransactions_BlockIDByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (flow.Identifier, error)) *ScheduledTransactions_BlockIDByTransactionID_Call
- type ScheduledTransactions_Expecter
- func (_e *ScheduledTransactions_Expecter) BatchIndex(lctx interface{}, blockID interface{}, txID interface{}, ...) *ScheduledTransactions_BatchIndex_Call
- func (_e *ScheduledTransactions_Expecter) BlockIDByTransactionID(txID interface{}) *ScheduledTransactions_BlockIDByTransactionID_Call
- func (_e *ScheduledTransactions_Expecter) TransactionIDByID(scheduledTxID interface{}) *ScheduledTransactions_TransactionIDByID_Call
- type ScheduledTransactions_TransactionIDByID_Call
- func (_c *ScheduledTransactions_TransactionIDByID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactions_TransactionIDByID_Call
- func (_c *ScheduledTransactions_TransactionIDByID_Call) Run(run func(scheduledTxID uint64)) *ScheduledTransactions_TransactionIDByID_Call
- func (_c *ScheduledTransactions_TransactionIDByID_Call) RunAndReturn(run func(scheduledTxID uint64) (flow.Identifier, error)) *ScheduledTransactions_TransactionIDByID_Call
- type Seals
- func (_mock *Seals) ByID(sealID flow.Identifier) (*flow.Seal, error)
- func (_m *Seals) EXPECT() *Seals_Expecter
- func (_mock *Seals) FinalizedSealForBlock(blockID flow.Identifier) (*flow.Seal, error)
- func (_mock *Seals) HighestInFork(blockID flow.Identifier) (*flow.Seal, error)
- func (_mock *Seals) Store(seal *flow.Seal) error
- type Seals_ByID_Call
- type Seals_Expecter
- func (_e *Seals_Expecter) ByID(sealID interface{}) *Seals_ByID_Call
- func (_e *Seals_Expecter) FinalizedSealForBlock(blockID interface{}) *Seals_FinalizedSealForBlock_Call
- func (_e *Seals_Expecter) HighestInFork(blockID interface{}) *Seals_HighestInFork_Call
- func (_e *Seals_Expecter) Store(seal interface{}) *Seals_Store_Call
- type Seals_FinalizedSealForBlock_Call
- func (_c *Seals_FinalizedSealForBlock_Call) Return(seal *flow.Seal, err error) *Seals_FinalizedSealForBlock_Call
- func (_c *Seals_FinalizedSealForBlock_Call) Run(run func(blockID flow.Identifier)) *Seals_FinalizedSealForBlock_Call
- func (_c *Seals_FinalizedSealForBlock_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Seal, error)) *Seals_FinalizedSealForBlock_Call
- type Seals_HighestInFork_Call
- func (_c *Seals_HighestInFork_Call) Return(seal *flow.Seal, err error) *Seals_HighestInFork_Call
- func (_c *Seals_HighestInFork_Call) Run(run func(blockID flow.Identifier)) *Seals_HighestInFork_Call
- func (_c *Seals_HighestInFork_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Seal, error)) *Seals_HighestInFork_Call
- type Seals_Store_Call
- type Seeker
- type Seeker_Expecter
- type Seeker_SeekLE_Call
- type ServiceEvents
- func (_mock *ServiceEvents) BatchRemoveByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
- func (_mock *ServiceEvents) BatchStore(lctx lockctx.Proof, blockID flow.Identifier, events []flow.Event, ...) error
- func (_mock *ServiceEvents) ByBlockID(blockID flow.Identifier) ([]flow.Event, error)
- func (_m *ServiceEvents) EXPECT() *ServiceEvents_Expecter
- type ServiceEvents_BatchRemoveByBlockID_Call
- func (_c *ServiceEvents_BatchRemoveByBlockID_Call) Return(err error) *ServiceEvents_BatchRemoveByBlockID_Call
- func (_c *ServiceEvents_BatchRemoveByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *ServiceEvents_BatchRemoveByBlockID_Call
- func (_c *ServiceEvents_BatchRemoveByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *ServiceEvents_BatchRemoveByBlockID_Call
- type ServiceEvents_BatchStore_Call
- type ServiceEvents_ByBlockID_Call
- func (_c *ServiceEvents_ByBlockID_Call) Return(events []flow.Event, err error) *ServiceEvents_ByBlockID_Call
- func (_c *ServiceEvents_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ServiceEvents_ByBlockID_Call
- func (_c *ServiceEvents_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) ([]flow.Event, error)) *ServiceEvents_ByBlockID_Call
- type ServiceEvents_Expecter
- func (_e *ServiceEvents_Expecter) BatchRemoveByBlockID(blockID interface{}, batch interface{}) *ServiceEvents_BatchRemoveByBlockID_Call
- func (_e *ServiceEvents_Expecter) BatchStore(lctx interface{}, blockID interface{}, events interface{}, batch interface{}) *ServiceEvents_BatchStore_Call
- func (_e *ServiceEvents_Expecter) ByBlockID(blockID interface{}) *ServiceEvents_ByBlockID_Call
- type StoredChunkDataPacks
- func (_mock *StoredChunkDataPacks) BatchRemove(chunkDataPackIDs []flow.Identifier, rw storage.ReaderBatchWriter) error
- func (_mock *StoredChunkDataPacks) ByID(id flow.Identifier) (*storage.StoredChunkDataPack, error)
- func (_m *StoredChunkDataPacks) EXPECT() *StoredChunkDataPacks_Expecter
- func (_mock *StoredChunkDataPacks) Remove(chunkDataPackIDs []flow.Identifier) error
- func (_mock *StoredChunkDataPacks) StoreChunkDataPacks(cs []*storage.StoredChunkDataPack) ([]flow.Identifier, error)
- type StoredChunkDataPacks_BatchRemove_Call
- func (_c *StoredChunkDataPacks_BatchRemove_Call) Return(err error) *StoredChunkDataPacks_BatchRemove_Call
- func (_c *StoredChunkDataPacks_BatchRemove_Call) Run(run func(chunkDataPackIDs []flow.Identifier, rw storage.ReaderBatchWriter)) *StoredChunkDataPacks_BatchRemove_Call
- func (_c *StoredChunkDataPacks_BatchRemove_Call) RunAndReturn(...) *StoredChunkDataPacks_BatchRemove_Call
- type StoredChunkDataPacks_ByID_Call
- func (_c *StoredChunkDataPacks_ByID_Call) Return(storedChunkDataPack *storage.StoredChunkDataPack, err error) *StoredChunkDataPacks_ByID_Call
- func (_c *StoredChunkDataPacks_ByID_Call) Run(run func(id flow.Identifier)) *StoredChunkDataPacks_ByID_Call
- func (_c *StoredChunkDataPacks_ByID_Call) RunAndReturn(run func(id flow.Identifier) (*storage.StoredChunkDataPack, error)) *StoredChunkDataPacks_ByID_Call
- type StoredChunkDataPacks_Expecter
- func (_e *StoredChunkDataPacks_Expecter) BatchRemove(chunkDataPackIDs interface{}, rw interface{}) *StoredChunkDataPacks_BatchRemove_Call
- func (_e *StoredChunkDataPacks_Expecter) ByID(id interface{}) *StoredChunkDataPacks_ByID_Call
- func (_e *StoredChunkDataPacks_Expecter) Remove(chunkDataPackIDs interface{}) *StoredChunkDataPacks_Remove_Call
- func (_e *StoredChunkDataPacks_Expecter) StoreChunkDataPacks(cs interface{}) *StoredChunkDataPacks_StoreChunkDataPacks_Call
- type StoredChunkDataPacks_Remove_Call
- func (_c *StoredChunkDataPacks_Remove_Call) Return(err error) *StoredChunkDataPacks_Remove_Call
- func (_c *StoredChunkDataPacks_Remove_Call) Run(run func(chunkDataPackIDs []flow.Identifier)) *StoredChunkDataPacks_Remove_Call
- func (_c *StoredChunkDataPacks_Remove_Call) RunAndReturn(run func(chunkDataPackIDs []flow.Identifier) error) *StoredChunkDataPacks_Remove_Call
- type StoredChunkDataPacks_StoreChunkDataPacks_Call
- func (_c *StoredChunkDataPacks_StoreChunkDataPacks_Call) Return(identifiers []flow.Identifier, err error) *StoredChunkDataPacks_StoreChunkDataPacks_Call
- func (_c *StoredChunkDataPacks_StoreChunkDataPacks_Call) Run(run func(cs []*storage.StoredChunkDataPack)) *StoredChunkDataPacks_StoreChunkDataPacks_Call
- func (_c *StoredChunkDataPacks_StoreChunkDataPacks_Call) RunAndReturn(run func(cs []*storage.StoredChunkDataPack) ([]flow.Identifier, error)) *StoredChunkDataPacks_StoreChunkDataPacks_Call
- type Transaction
- type TransactionResultErrorMessages
- func (_mock *TransactionResultErrorMessages) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, ...) error
- func (_mock *TransactionResultErrorMessages) ByBlockID(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)
- func (_mock *TransactionResultErrorMessages) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResultErrorMessage, error)
- func (_mock *TransactionResultErrorMessages) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResultErrorMessage, error)
- func (_m *TransactionResultErrorMessages) EXPECT() *TransactionResultErrorMessages_Expecter
- func (_mock *TransactionResultErrorMessages) Exists(blockID flow.Identifier) (bool, error)
- func (_mock *TransactionResultErrorMessages) Store(lctx lockctx.Proof, blockID flow.Identifier, ...) error
- type TransactionResultErrorMessagesReader
- func (_mock *TransactionResultErrorMessagesReader) ByBlockID(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)
- func (_mock *TransactionResultErrorMessagesReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResultErrorMessage, error)
- func (_mock *TransactionResultErrorMessagesReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResultErrorMessage, error)
- func (_m *TransactionResultErrorMessagesReader) EXPECT() *TransactionResultErrorMessagesReader_Expecter
- func (_mock *TransactionResultErrorMessagesReader) Exists(blockID flow.Identifier) (bool, error)
- type TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) RunAndReturn(...) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
- type TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) RunAndReturn(...) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
- type TransactionResultErrorMessagesReader_ByBlockID_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockID_Call) Return(transactionResultErrorMessages []flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessagesReader_ByBlockID_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResultErrorMessagesReader_ByBlockID_Call
- func (_c *TransactionResultErrorMessagesReader_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessagesReader_ByBlockID_Call
- type TransactionResultErrorMessagesReader_Exists_Call
- func (_c *TransactionResultErrorMessagesReader_Exists_Call) Return(b bool, err error) *TransactionResultErrorMessagesReader_Exists_Call
- func (_c *TransactionResultErrorMessagesReader_Exists_Call) Run(run func(blockID flow.Identifier)) *TransactionResultErrorMessagesReader_Exists_Call
- func (_c *TransactionResultErrorMessagesReader_Exists_Call) RunAndReturn(run func(blockID flow.Identifier) (bool, error)) *TransactionResultErrorMessagesReader_Exists_Call
- type TransactionResultErrorMessagesReader_Expecter
- func (_e *TransactionResultErrorMessagesReader_Expecter) ByBlockID(id interface{}) *TransactionResultErrorMessagesReader_ByBlockID_Call
- func (_e *TransactionResultErrorMessagesReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
- func (_e *TransactionResultErrorMessagesReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
- func (_e *TransactionResultErrorMessagesReader_Expecter) Exists(blockID interface{}) *TransactionResultErrorMessagesReader_Exists_Call
- type TransactionResultErrorMessages_BatchStore_Call
- func (_c *TransactionResultErrorMessages_BatchStore_Call) Return(err error) *TransactionResultErrorMessages_BatchStore_Call
- func (_c *TransactionResultErrorMessages_BatchStore_Call) Run(...) *TransactionResultErrorMessages_BatchStore_Call
- func (_c *TransactionResultErrorMessages_BatchStore_Call) RunAndReturn(...) *TransactionResultErrorMessages_BatchStore_Call
- type TransactionResultErrorMessages_ByBlockIDTransactionID_Call
- func (_c *TransactionResultErrorMessages_ByBlockIDTransactionID_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
- func (_c *TransactionResultErrorMessages_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
- func (_c *TransactionResultErrorMessages_ByBlockIDTransactionID_Call) RunAndReturn(...) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
- type TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) RunAndReturn(...) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
- type TransactionResultErrorMessages_ByBlockID_Call
- func (_c *TransactionResultErrorMessages_ByBlockID_Call) Return(transactionResultErrorMessages []flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessages_ByBlockID_Call
- func (_c *TransactionResultErrorMessages_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResultErrorMessages_ByBlockID_Call
- func (_c *TransactionResultErrorMessages_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessages_ByBlockID_Call
- type TransactionResultErrorMessages_Exists_Call
- func (_c *TransactionResultErrorMessages_Exists_Call) Return(b bool, err error) *TransactionResultErrorMessages_Exists_Call
- func (_c *TransactionResultErrorMessages_Exists_Call) Run(run func(blockID flow.Identifier)) *TransactionResultErrorMessages_Exists_Call
- func (_c *TransactionResultErrorMessages_Exists_Call) RunAndReturn(run func(blockID flow.Identifier) (bool, error)) *TransactionResultErrorMessages_Exists_Call
- type TransactionResultErrorMessages_Expecter
- func (_e *TransactionResultErrorMessages_Expecter) BatchStore(lctx interface{}, rw interface{}, blockID interface{}, ...) *TransactionResultErrorMessages_BatchStore_Call
- func (_e *TransactionResultErrorMessages_Expecter) ByBlockID(id interface{}) *TransactionResultErrorMessages_ByBlockID_Call
- func (_e *TransactionResultErrorMessages_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
- func (_e *TransactionResultErrorMessages_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
- func (_e *TransactionResultErrorMessages_Expecter) Exists(blockID interface{}) *TransactionResultErrorMessages_Exists_Call
- func (_e *TransactionResultErrorMessages_Expecter) Store(lctx interface{}, blockID interface{}, ...) *TransactionResultErrorMessages_Store_Call
- type TransactionResultErrorMessages_Store_Call
- func (_c *TransactionResultErrorMessages_Store_Call) Return(err error) *TransactionResultErrorMessages_Store_Call
- func (_c *TransactionResultErrorMessages_Store_Call) Run(run func(lctx lockctx.Proof, blockID flow.Identifier, ...)) *TransactionResultErrorMessages_Store_Call
- func (_c *TransactionResultErrorMessages_Store_Call) RunAndReturn(run func(lctx lockctx.Proof, blockID flow.Identifier, ...) error) *TransactionResultErrorMessages_Store_Call
- type TransactionResults
- func (_mock *TransactionResults) BatchRemoveByBlockID(id flow.Identifier, batch storage.ReaderBatchWriter) error
- func (_mock *TransactionResults) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, ...) error
- func (_mock *TransactionResults) ByBlockID(id flow.Identifier) ([]flow.TransactionResult, error)
- func (_mock *TransactionResults) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResult, error)
- func (_mock *TransactionResults) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResult, error)
- func (_m *TransactionResults) EXPECT() *TransactionResults_Expecter
- type TransactionResultsReader
- func (_mock *TransactionResultsReader) ByBlockID(id flow.Identifier) ([]flow.TransactionResult, error)
- func (_mock *TransactionResultsReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResult, error)
- func (_mock *TransactionResultsReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResult, error)
- func (_m *TransactionResultsReader) EXPECT() *TransactionResultsReader_Expecter
- type TransactionResultsReader_ByBlockIDTransactionID_Call
- func (_c *TransactionResultsReader_ByBlockIDTransactionID_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResultsReader_ByBlockIDTransactionID_Call
- func (_c *TransactionResultsReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResultsReader_ByBlockIDTransactionID_Call
- func (_c *TransactionResultsReader_ByBlockIDTransactionID_Call) RunAndReturn(...) *TransactionResultsReader_ByBlockIDTransactionID_Call
- type TransactionResultsReader_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultsReader_ByBlockIDTransactionIndex_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultsReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResultsReader_ByBlockIDTransactionIndex_Call) RunAndReturn(...) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
- type TransactionResultsReader_ByBlockID_Call
- func (_c *TransactionResultsReader_ByBlockID_Call) Return(transactionResults []flow.TransactionResult, err error) *TransactionResultsReader_ByBlockID_Call
- func (_c *TransactionResultsReader_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResultsReader_ByBlockID_Call
- func (_c *TransactionResultsReader_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResult, error)) *TransactionResultsReader_ByBlockID_Call
- type TransactionResultsReader_Expecter
- func (_e *TransactionResultsReader_Expecter) ByBlockID(id interface{}) *TransactionResultsReader_ByBlockID_Call
- func (_e *TransactionResultsReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResultsReader_ByBlockIDTransactionID_Call
- func (_e *TransactionResultsReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
- type TransactionResults_BatchRemoveByBlockID_Call
- func (_c *TransactionResults_BatchRemoveByBlockID_Call) Return(err error) *TransactionResults_BatchRemoveByBlockID_Call
- func (_c *TransactionResults_BatchRemoveByBlockID_Call) Run(run func(id flow.Identifier, batch storage.ReaderBatchWriter)) *TransactionResults_BatchRemoveByBlockID_Call
- func (_c *TransactionResults_BatchRemoveByBlockID_Call) RunAndReturn(run func(id flow.Identifier, batch storage.ReaderBatchWriter) error) *TransactionResults_BatchRemoveByBlockID_Call
- type TransactionResults_BatchStore_Call
- type TransactionResults_ByBlockIDTransactionID_Call
- func (_c *TransactionResults_ByBlockIDTransactionID_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResults_ByBlockIDTransactionID_Call
- func (_c *TransactionResults_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResults_ByBlockIDTransactionID_Call
- func (_c *TransactionResults_ByBlockIDTransactionID_Call) RunAndReturn(...) *TransactionResults_ByBlockIDTransactionID_Call
- type TransactionResults_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResults_ByBlockIDTransactionIndex_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResults_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResults_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResults_ByBlockIDTransactionIndex_Call
- func (_c *TransactionResults_ByBlockIDTransactionIndex_Call) RunAndReturn(...) *TransactionResults_ByBlockIDTransactionIndex_Call
- type TransactionResults_ByBlockID_Call
- func (_c *TransactionResults_ByBlockID_Call) Return(transactionResults []flow.TransactionResult, err error) *TransactionResults_ByBlockID_Call
- func (_c *TransactionResults_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResults_ByBlockID_Call
- func (_c *TransactionResults_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResult, error)) *TransactionResults_ByBlockID_Call
- type TransactionResults_Expecter
- func (_e *TransactionResults_Expecter) BatchRemoveByBlockID(id interface{}, batch interface{}) *TransactionResults_BatchRemoveByBlockID_Call
- func (_e *TransactionResults_Expecter) BatchStore(lctx interface{}, rw interface{}, blockID interface{}, ...) *TransactionResults_BatchStore_Call
- func (_e *TransactionResults_Expecter) ByBlockID(id interface{}) *TransactionResults_ByBlockID_Call
- func (_e *TransactionResults_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResults_ByBlockIDTransactionID_Call
- func (_e *TransactionResults_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResults_ByBlockIDTransactionIndex_Call
- type Transaction_Expecter
- type Transaction_Set_Call
- type Transactions
- func (_mock *Transactions) BatchStore(tx *flow.TransactionBody, batch storage.ReaderBatchWriter) error
- func (_mock *Transactions) ByID(txID flow.Identifier) (*flow.TransactionBody, error)
- func (_m *Transactions) EXPECT() *Transactions_Expecter
- func (_mock *Transactions) Store(tx *flow.TransactionBody) error
- type TransactionsReader
- type TransactionsReader_ByID_Call
- func (_c *TransactionsReader_ByID_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsReader_ByID_Call
- func (_c *TransactionsReader_ByID_Call) Run(run func(txID flow.Identifier)) *TransactionsReader_ByID_Call
- func (_c *TransactionsReader_ByID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.TransactionBody, error)) *TransactionsReader_ByID_Call
- type TransactionsReader_Expecter
- type Transactions_BatchStore_Call
- func (_c *Transactions_BatchStore_Call) Return(err error) *Transactions_BatchStore_Call
- func (_c *Transactions_BatchStore_Call) Run(run func(tx *flow.TransactionBody, batch storage.ReaderBatchWriter)) *Transactions_BatchStore_Call
- func (_c *Transactions_BatchStore_Call) RunAndReturn(run func(tx *flow.TransactionBody, batch storage.ReaderBatchWriter) error) *Transactions_BatchStore_Call
- type Transactions_ByID_Call
- func (_c *Transactions_ByID_Call) Return(transactionBody *flow.TransactionBody, err error) *Transactions_ByID_Call
- func (_c *Transactions_ByID_Call) Run(run func(txID flow.Identifier)) *Transactions_ByID_Call
- func (_c *Transactions_ByID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.TransactionBody, error)) *Transactions_ByID_Call
- type Transactions_Expecter
- type Transactions_Store_Call
- type VersionBeacons
- type VersionBeacons_Expecter
- type VersionBeacons_Highest_Call
- func (_c *VersionBeacons_Highest_Call) Return(sealedVersionBeacon *flow.SealedVersionBeacon, err error) *VersionBeacons_Highest_Call
- func (_c *VersionBeacons_Highest_Call) Run(run func(belowOrEqualTo uint64)) *VersionBeacons_Highest_Call
- func (_c *VersionBeacons_Highest_Call) RunAndReturn(run func(belowOrEqualTo uint64) (*flow.SealedVersionBeacon, error)) *VersionBeacons_Highest_Call
- type Writer
- type Writer_DeleteByRange_Call
- func (_c *Writer_DeleteByRange_Call) Return(err error) *Writer_DeleteByRange_Call
- func (_c *Writer_DeleteByRange_Call) Run(run func(globalReader storage.Reader, startPrefix []byte, endPrefix []byte)) *Writer_DeleteByRange_Call
- func (_c *Writer_DeleteByRange_Call) RunAndReturn(...) *Writer_DeleteByRange_Call
- type Writer_Delete_Call
- type Writer_Expecter
- type Writer_Set_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶ added in v0.38.0
Batch is an autogenerated mock type for the Batch type
func NewBatch ¶ added in v0.38.0
NewBatch creates a new instance of Batch. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Batch) AddCallback ¶ added in v0.38.0
AddCallback provides a mock function for the type Batch
func (*Batch) EXPECT ¶ added in v0.46.0
func (_m *Batch) EXPECT() *Batch_Expecter
func (*Batch) GlobalReader ¶ added in v0.38.0
GlobalReader provides a mock function for the type Batch
func (*Batch) ScopedValue ¶ added in v0.43.2
ScopedValue provides a mock function for the type Batch
func (*Batch) SetScopedValue ¶ added in v0.43.2
SetScopedValue provides a mock function for the type Batch
type BatchStorage ¶ added in v0.15.0
BatchStorage is an autogenerated mock type for the BatchStorage type
func NewBatchStorage ¶ added in v0.26.1
func NewBatchStorage(t interface {
mock.TestingT
Cleanup(func())
}) *BatchStorage
NewBatchStorage creates a new instance of BatchStorage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BatchStorage) EXPECT ¶ added in v0.46.0
func (_m *BatchStorage) EXPECT() *BatchStorage_Expecter
func (*BatchStorage) Flush ¶ added in v0.15.2
func (_mock *BatchStorage) Flush() error
Flush provides a mock function for the type BatchStorage
func (*BatchStorage) GetWriter ¶ added in v0.15.2
func (_mock *BatchStorage) GetWriter() *badger.WriteBatch
GetWriter provides a mock function for the type BatchStorage
func (*BatchStorage) OnSucceed ¶ added in v0.15.2
func (_mock *BatchStorage) OnSucceed(callback func())
OnSucceed provides a mock function for the type BatchStorage
type BatchStorage_Expecter ¶ added in v0.46.0
type BatchStorage_Expecter struct {
// contains filtered or unexported fields
}
func (*BatchStorage_Expecter) Flush ¶ added in v0.46.0
func (_e *BatchStorage_Expecter) Flush() *BatchStorage_Flush_Call
Flush is a helper method to define mock.On call
func (*BatchStorage_Expecter) GetWriter ¶ added in v0.46.0
func (_e *BatchStorage_Expecter) GetWriter() *BatchStorage_GetWriter_Call
GetWriter is a helper method to define mock.On call
func (*BatchStorage_Expecter) OnSucceed ¶ added in v0.46.0
func (_e *BatchStorage_Expecter) OnSucceed(callback interface{}) *BatchStorage_OnSucceed_Call
OnSucceed is a helper method to define mock.On call
- callback func()
type BatchStorage_Flush_Call ¶ added in v0.46.0
BatchStorage_Flush_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Flush'
func (*BatchStorage_Flush_Call) Return ¶ added in v0.46.0
func (_c *BatchStorage_Flush_Call) Return(err error) *BatchStorage_Flush_Call
func (*BatchStorage_Flush_Call) Run ¶ added in v0.46.0
func (_c *BatchStorage_Flush_Call) Run(run func()) *BatchStorage_Flush_Call
func (*BatchStorage_Flush_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BatchStorage_Flush_Call) RunAndReturn(run func() error) *BatchStorage_Flush_Call
type BatchStorage_GetWriter_Call ¶ added in v0.46.0
BatchStorage_GetWriter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWriter'
func (*BatchStorage_GetWriter_Call) Return ¶ added in v0.46.0
func (_c *BatchStorage_GetWriter_Call) Return(writeBatch *badger.WriteBatch) *BatchStorage_GetWriter_Call
func (*BatchStorage_GetWriter_Call) Run ¶ added in v0.46.0
func (_c *BatchStorage_GetWriter_Call) Run(run func()) *BatchStorage_GetWriter_Call
func (*BatchStorage_GetWriter_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BatchStorage_GetWriter_Call) RunAndReturn(run func() *badger.WriteBatch) *BatchStorage_GetWriter_Call
type BatchStorage_OnSucceed_Call ¶ added in v0.46.0
BatchStorage_OnSucceed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSucceed'
func (*BatchStorage_OnSucceed_Call) Return ¶ added in v0.46.0
func (_c *BatchStorage_OnSucceed_Call) Return() *BatchStorage_OnSucceed_Call
func (*BatchStorage_OnSucceed_Call) Run ¶ added in v0.46.0
func (_c *BatchStorage_OnSucceed_Call) Run(run func(callback func())) *BatchStorage_OnSucceed_Call
func (*BatchStorage_OnSucceed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BatchStorage_OnSucceed_Call) RunAndReturn(run func(callback func())) *BatchStorage_OnSucceed_Call
type Batch_AddCallback_Call ¶ added in v0.46.0
Batch_AddCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCallback'
func (*Batch_AddCallback_Call) Return ¶ added in v0.46.0
func (_c *Batch_AddCallback_Call) Return() *Batch_AddCallback_Call
func (*Batch_AddCallback_Call) Run ¶ added in v0.46.0
func (_c *Batch_AddCallback_Call) Run(run func(fn func(error))) *Batch_AddCallback_Call
func (*Batch_AddCallback_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Batch_AddCallback_Call) RunAndReturn(run func(fn func(error))) *Batch_AddCallback_Call
type Batch_Close_Call ¶ added in v0.46.0
Batch_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Batch_Close_Call) Return ¶ added in v0.46.0
func (_c *Batch_Close_Call) Return(err error) *Batch_Close_Call
func (*Batch_Close_Call) Run ¶ added in v0.46.0
func (_c *Batch_Close_Call) Run(run func()) *Batch_Close_Call
func (*Batch_Close_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Batch_Close_Call) RunAndReturn(run func() error) *Batch_Close_Call
type Batch_Commit_Call ¶ added in v0.46.0
Batch_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*Batch_Commit_Call) Return ¶ added in v0.46.0
func (_c *Batch_Commit_Call) Return(err error) *Batch_Commit_Call
func (*Batch_Commit_Call) Run ¶ added in v0.46.0
func (_c *Batch_Commit_Call) Run(run func()) *Batch_Commit_Call
func (*Batch_Commit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Batch_Commit_Call) RunAndReturn(run func() error) *Batch_Commit_Call
type Batch_Expecter ¶ added in v0.46.0
type Batch_Expecter struct {
// contains filtered or unexported fields
}
func (*Batch_Expecter) AddCallback ¶ added in v0.46.0
func (_e *Batch_Expecter) AddCallback(fn interface{}) *Batch_AddCallback_Call
AddCallback is a helper method to define mock.On call
- fn func(error)
func (*Batch_Expecter) Close ¶ added in v0.46.0
func (_e *Batch_Expecter) Close() *Batch_Close_Call
Close is a helper method to define mock.On call
func (*Batch_Expecter) Commit ¶ added in v0.46.0
func (_e *Batch_Expecter) Commit() *Batch_Commit_Call
Commit is a helper method to define mock.On call
func (*Batch_Expecter) GlobalReader ¶ added in v0.46.0
func (_e *Batch_Expecter) GlobalReader() *Batch_GlobalReader_Call
GlobalReader is a helper method to define mock.On call
func (*Batch_Expecter) ScopedValue ¶ added in v0.46.0
func (_e *Batch_Expecter) ScopedValue(key interface{}) *Batch_ScopedValue_Call
ScopedValue is a helper method to define mock.On call
- key string
func (*Batch_Expecter) SetScopedValue ¶ added in v0.46.0
func (_e *Batch_Expecter) SetScopedValue(key interface{}, value interface{}) *Batch_SetScopedValue_Call
SetScopedValue is a helper method to define mock.On call
- key string
- value any
func (*Batch_Expecter) Writer ¶ added in v0.46.0
func (_e *Batch_Expecter) Writer() *Batch_Writer_Call
Writer is a helper method to define mock.On call
type Batch_GlobalReader_Call ¶ added in v0.46.0
Batch_GlobalReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalReader'
func (*Batch_GlobalReader_Call) Return ¶ added in v0.46.0
func (_c *Batch_GlobalReader_Call) Return(reader storage.Reader) *Batch_GlobalReader_Call
func (*Batch_GlobalReader_Call) Run ¶ added in v0.46.0
func (_c *Batch_GlobalReader_Call) Run(run func()) *Batch_GlobalReader_Call
func (*Batch_GlobalReader_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Batch_GlobalReader_Call) RunAndReturn(run func() storage.Reader) *Batch_GlobalReader_Call
type Batch_ScopedValue_Call ¶ added in v0.46.0
Batch_ScopedValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScopedValue'
func (*Batch_ScopedValue_Call) Return ¶ added in v0.46.0
func (_c *Batch_ScopedValue_Call) Return(v any, b bool) *Batch_ScopedValue_Call
func (*Batch_ScopedValue_Call) Run ¶ added in v0.46.0
func (_c *Batch_ScopedValue_Call) Run(run func(key string)) *Batch_ScopedValue_Call
func (*Batch_ScopedValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Batch_ScopedValue_Call) RunAndReturn(run func(key string) (any, bool)) *Batch_ScopedValue_Call
type Batch_SetScopedValue_Call ¶ added in v0.46.0
Batch_SetScopedValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetScopedValue'
func (*Batch_SetScopedValue_Call) Return ¶ added in v0.46.0
func (_c *Batch_SetScopedValue_Call) Return() *Batch_SetScopedValue_Call
func (*Batch_SetScopedValue_Call) Run ¶ added in v0.46.0
func (_c *Batch_SetScopedValue_Call) Run(run func(key string, value any)) *Batch_SetScopedValue_Call
func (*Batch_SetScopedValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Batch_SetScopedValue_Call) RunAndReturn(run func(key string, value any)) *Batch_SetScopedValue_Call
type Batch_Writer_Call ¶ added in v0.46.0
Batch_Writer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Writer'
func (*Batch_Writer_Call) Return ¶ added in v0.46.0
func (_c *Batch_Writer_Call) Return(writer storage.Writer) *Batch_Writer_Call
func (*Batch_Writer_Call) Run ¶ added in v0.46.0
func (_c *Batch_Writer_Call) Run(run func()) *Batch_Writer_Call
func (*Batch_Writer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Batch_Writer_Call) RunAndReturn(run func() storage.Writer) *Batch_Writer_Call
type Blocks ¶
Blocks is an autogenerated mock type for the Blocks type
func NewBlocks ¶ added in v0.26.1
NewBlocks creates a new instance of Blocks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Blocks) BatchIndexBlockContainingCollectionGuarantees ¶ added in v0.45.0
func (_mock *Blocks) BatchIndexBlockContainingCollectionGuarantees(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, guaranteeIDs []flow.Identifier) error
BatchIndexBlockContainingCollectionGuarantees provides a mock function for the type Blocks
func (*Blocks) BatchStore ¶ added in v0.43.0
func (_mock *Blocks) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, proposal *flow.Proposal) error
BatchStore provides a mock function for the type Blocks
func (*Blocks) BlockIDByCollectionID ¶ added in v0.45.0
func (_mock *Blocks) BlockIDByCollectionID(collID flow.Identifier) (flow.Identifier, error)
BlockIDByCollectionID provides a mock function for the type Blocks
func (*Blocks) ByCollectionID ¶
ByCollectionID provides a mock function for the type Blocks
func (*Blocks) EXPECT ¶ added in v0.46.0
func (_m *Blocks) EXPECT() *Blocks_Expecter
func (*Blocks) ProposalByHeight ¶ added in v0.43.0
ProposalByHeight provides a mock function for the type Blocks
func (*Blocks) ProposalByID ¶ added in v0.43.0
ProposalByID provides a mock function for the type Blocks
type Blocks_BatchIndexBlockContainingCollectionGuarantees_Call ¶ added in v0.46.0
Blocks_BatchIndexBlockContainingCollectionGuarantees_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchIndexBlockContainingCollectionGuarantees'
func (*Blocks_BatchIndexBlockContainingCollectionGuarantees_Call) Run ¶ added in v0.46.0
func (_c *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, guaranteeIDs []flow.Identifier)) *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
func (*Blocks_BatchIndexBlockContainingCollectionGuarantees_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, guaranteeIDs []flow.Identifier) error) *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
type Blocks_BatchStore_Call ¶ added in v0.46.0
Blocks_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*Blocks_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *Blocks_BatchStore_Call) Return(err error) *Blocks_BatchStore_Call
func (*Blocks_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *Blocks_BatchStore_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, proposal *flow.Proposal)) *Blocks_BatchStore_Call
func (*Blocks_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_BatchStore_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, proposal *flow.Proposal) error) *Blocks_BatchStore_Call
type Blocks_BlockIDByCollectionID_Call ¶ added in v0.46.0
Blocks_BlockIDByCollectionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockIDByCollectionID'
func (*Blocks_BlockIDByCollectionID_Call) Return ¶ added in v0.46.0
func (_c *Blocks_BlockIDByCollectionID_Call) Return(identifier flow.Identifier, err error) *Blocks_BlockIDByCollectionID_Call
func (*Blocks_BlockIDByCollectionID_Call) Run ¶ added in v0.46.0
func (_c *Blocks_BlockIDByCollectionID_Call) Run(run func(collID flow.Identifier)) *Blocks_BlockIDByCollectionID_Call
func (*Blocks_BlockIDByCollectionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_BlockIDByCollectionID_Call) RunAndReturn(run func(collID flow.Identifier) (flow.Identifier, error)) *Blocks_BlockIDByCollectionID_Call
type Blocks_ByCollectionID_Call ¶ added in v0.46.0
Blocks_ByCollectionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByCollectionID'
func (*Blocks_ByCollectionID_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ByCollectionID_Call) Return(v *flow.Block, err error) *Blocks_ByCollectionID_Call
func (*Blocks_ByCollectionID_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ByCollectionID_Call) Run(run func(collID flow.Identifier)) *Blocks_ByCollectionID_Call
func (*Blocks_ByCollectionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ByCollectionID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.Block, error)) *Blocks_ByCollectionID_Call
type Blocks_ByHeight_Call ¶ added in v0.46.0
Blocks_ByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByHeight'
func (*Blocks_ByHeight_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ByHeight_Call) Return(v *flow.Block, err error) *Blocks_ByHeight_Call
func (*Blocks_ByHeight_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ByHeight_Call) Run(run func(height uint64)) *Blocks_ByHeight_Call
func (*Blocks_ByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ByHeight_Call) RunAndReturn(run func(height uint64) (*flow.Block, error)) *Blocks_ByHeight_Call
type Blocks_ByID_Call ¶ added in v0.46.0
Blocks_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*Blocks_ByID_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ByID_Call) Return(v *flow.Block, err error) *Blocks_ByID_Call
func (*Blocks_ByID_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ByID_Call) Run(run func(blockID flow.Identifier)) *Blocks_ByID_Call
func (*Blocks_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ByID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Block, error)) *Blocks_ByID_Call
type Blocks_ByView_Call ¶ added in v0.46.0
Blocks_ByView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByView'
func (*Blocks_ByView_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ByView_Call) Return(v *flow.Block, err error) *Blocks_ByView_Call
func (*Blocks_ByView_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ByView_Call) Run(run func(view uint64)) *Blocks_ByView_Call
func (*Blocks_ByView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ByView_Call) RunAndReturn(run func(view uint64) (*flow.Block, error)) *Blocks_ByView_Call
type Blocks_Expecter ¶ added in v0.46.0
type Blocks_Expecter struct {
// contains filtered or unexported fields
}
func (*Blocks_Expecter) BatchIndexBlockContainingCollectionGuarantees ¶ added in v0.46.0
func (_e *Blocks_Expecter) BatchIndexBlockContainingCollectionGuarantees(lctx interface{}, rw interface{}, blockID interface{}, guaranteeIDs interface{}) *Blocks_BatchIndexBlockContainingCollectionGuarantees_Call
BatchIndexBlockContainingCollectionGuarantees is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- blockID flow.Identifier
- guaranteeIDs []flow.Identifier
func (*Blocks_Expecter) BatchStore ¶ added in v0.46.0
func (_e *Blocks_Expecter) BatchStore(lctx interface{}, rw interface{}, proposal interface{}) *Blocks_BatchStore_Call
BatchStore is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- proposal *flow.Proposal
func (*Blocks_Expecter) BlockIDByCollectionID ¶ added in v0.46.0
func (_e *Blocks_Expecter) BlockIDByCollectionID(collID interface{}) *Blocks_BlockIDByCollectionID_Call
BlockIDByCollectionID is a helper method to define mock.On call
- collID flow.Identifier
func (*Blocks_Expecter) ByCollectionID ¶ added in v0.46.0
func (_e *Blocks_Expecter) ByCollectionID(collID interface{}) *Blocks_ByCollectionID_Call
ByCollectionID is a helper method to define mock.On call
- collID flow.Identifier
func (*Blocks_Expecter) ByHeight ¶ added in v0.46.0
func (_e *Blocks_Expecter) ByHeight(height interface{}) *Blocks_ByHeight_Call
ByHeight is a helper method to define mock.On call
- height uint64
func (*Blocks_Expecter) ByID ¶ added in v0.46.0
func (_e *Blocks_Expecter) ByID(blockID interface{}) *Blocks_ByID_Call
ByID is a helper method to define mock.On call
- blockID flow.Identifier
func (*Blocks_Expecter) ByView ¶ added in v0.46.0
func (_e *Blocks_Expecter) ByView(view interface{}) *Blocks_ByView_Call
ByView is a helper method to define mock.On call
- view uint64
func (*Blocks_Expecter) ProposalByHeight ¶ added in v0.46.0
func (_e *Blocks_Expecter) ProposalByHeight(height interface{}) *Blocks_ProposalByHeight_Call
ProposalByHeight is a helper method to define mock.On call
- height uint64
func (*Blocks_Expecter) ProposalByID ¶ added in v0.46.0
func (_e *Blocks_Expecter) ProposalByID(blockID interface{}) *Blocks_ProposalByID_Call
ProposalByID is a helper method to define mock.On call
- blockID flow.Identifier
func (*Blocks_Expecter) ProposalByView ¶ added in v0.46.0
func (_e *Blocks_Expecter) ProposalByView(view interface{}) *Blocks_ProposalByView_Call
ProposalByView is a helper method to define mock.On call
- view uint64
type Blocks_ProposalByHeight_Call ¶ added in v0.46.0
Blocks_ProposalByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalByHeight'
func (*Blocks_ProposalByHeight_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ProposalByHeight_Call) Return(proposal *flow.Proposal, err error) *Blocks_ProposalByHeight_Call
func (*Blocks_ProposalByHeight_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ProposalByHeight_Call) Run(run func(height uint64)) *Blocks_ProposalByHeight_Call
func (*Blocks_ProposalByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ProposalByHeight_Call) RunAndReturn(run func(height uint64) (*flow.Proposal, error)) *Blocks_ProposalByHeight_Call
type Blocks_ProposalByID_Call ¶ added in v0.46.0
Blocks_ProposalByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalByID'
func (*Blocks_ProposalByID_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ProposalByID_Call) Return(proposal *flow.Proposal, err error) *Blocks_ProposalByID_Call
func (*Blocks_ProposalByID_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ProposalByID_Call) Run(run func(blockID flow.Identifier)) *Blocks_ProposalByID_Call
func (*Blocks_ProposalByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ProposalByID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Proposal, error)) *Blocks_ProposalByID_Call
type Blocks_ProposalByView_Call ¶ added in v0.46.0
Blocks_ProposalByView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalByView'
func (*Blocks_ProposalByView_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ProposalByView_Call) Return(proposal *flow.Proposal, err error) *Blocks_ProposalByView_Call
func (*Blocks_ProposalByView_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ProposalByView_Call) Run(run func(view uint64)) *Blocks_ProposalByView_Call
func (*Blocks_ProposalByView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ProposalByView_Call) RunAndReturn(run func(view uint64) (*flow.Proposal, error)) *Blocks_ProposalByView_Call
type ChunkDataPacks ¶
ChunkDataPacks is an autogenerated mock type for the ChunkDataPacks type
func NewChunkDataPacks ¶ added in v0.26.1
func NewChunkDataPacks(t interface {
mock.TestingT
Cleanup(func())
}) *ChunkDataPacks
NewChunkDataPacks creates a new instance of ChunkDataPacks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ChunkDataPacks) BatchRemove ¶ added in v0.30.0
func (_mock *ChunkDataPacks) BatchRemove(chunkIDs []flow.Identifier, rw storage.ReaderBatchWriter) ([]flow.Identifier, error)
BatchRemove provides a mock function for the type ChunkDataPacks
func (*ChunkDataPacks) BatchRemoveChunkDataPacksOnly ¶ added in v0.43.2
func (_mock *ChunkDataPacks) BatchRemoveChunkDataPacksOnly(chunkIDs []flow.Identifier, chunkDataPackBatch storage.ReaderBatchWriter) error
BatchRemoveChunkDataPacksOnly provides a mock function for the type ChunkDataPacks
func (*ChunkDataPacks) ByChunkID ¶
func (_mock *ChunkDataPacks) ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, error)
ByChunkID provides a mock function for the type ChunkDataPacks
func (*ChunkDataPacks) EXPECT ¶ added in v0.46.0
func (_m *ChunkDataPacks) EXPECT() *ChunkDataPacks_Expecter
func (*ChunkDataPacks) Store ¶
func (_mock *ChunkDataPacks) Store(cs []*flow.ChunkDataPack) (func(lctx lockctx.Proof, protocolDBBatch storage.ReaderBatchWriter) error, error)
Store provides a mock function for the type ChunkDataPacks
type ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call ¶ added in v0.46.0
ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemoveChunkDataPacksOnly'
func (*ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) Return ¶ added in v0.46.0
func (_c *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) Return(err error) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
func (*ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) Run ¶ added in v0.46.0
func (_c *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) Run(run func(chunkIDs []flow.Identifier, chunkDataPackBatch storage.ReaderBatchWriter)) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
func (*ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call) RunAndReturn(run func(chunkIDs []flow.Identifier, chunkDataPackBatch storage.ReaderBatchWriter) error) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
type ChunkDataPacks_BatchRemove_Call ¶ added in v0.46.0
ChunkDataPacks_BatchRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemove'
func (*ChunkDataPacks_BatchRemove_Call) Return ¶ added in v0.46.0
func (_c *ChunkDataPacks_BatchRemove_Call) Return(chunkDataPackIDs []flow.Identifier, err error) *ChunkDataPacks_BatchRemove_Call
func (*ChunkDataPacks_BatchRemove_Call) Run ¶ added in v0.46.0
func (_c *ChunkDataPacks_BatchRemove_Call) Run(run func(chunkIDs []flow.Identifier, rw storage.ReaderBatchWriter)) *ChunkDataPacks_BatchRemove_Call
func (*ChunkDataPacks_BatchRemove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkDataPacks_BatchRemove_Call) RunAndReturn(run func(chunkIDs []flow.Identifier, rw storage.ReaderBatchWriter) ([]flow.Identifier, error)) *ChunkDataPacks_BatchRemove_Call
type ChunkDataPacks_ByChunkID_Call ¶ added in v0.46.0
ChunkDataPacks_ByChunkID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByChunkID'
func (*ChunkDataPacks_ByChunkID_Call) Return ¶ added in v0.46.0
func (_c *ChunkDataPacks_ByChunkID_Call) Return(chunkDataPack *flow.ChunkDataPack, err error) *ChunkDataPacks_ByChunkID_Call
func (*ChunkDataPacks_ByChunkID_Call) Run ¶ added in v0.46.0
func (_c *ChunkDataPacks_ByChunkID_Call) Run(run func(chunkID flow.Identifier)) *ChunkDataPacks_ByChunkID_Call
func (*ChunkDataPacks_ByChunkID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkDataPacks_ByChunkID_Call) RunAndReturn(run func(chunkID flow.Identifier) (*flow.ChunkDataPack, error)) *ChunkDataPacks_ByChunkID_Call
type ChunkDataPacks_Expecter ¶ added in v0.46.0
type ChunkDataPacks_Expecter struct {
// contains filtered or unexported fields
}
func (*ChunkDataPacks_Expecter) BatchRemove ¶ added in v0.46.0
func (_e *ChunkDataPacks_Expecter) BatchRemove(chunkIDs interface{}, rw interface{}) *ChunkDataPacks_BatchRemove_Call
BatchRemove is a helper method to define mock.On call
- chunkIDs []flow.Identifier
- rw storage.ReaderBatchWriter
func (*ChunkDataPacks_Expecter) BatchRemoveChunkDataPacksOnly ¶ added in v0.46.0
func (_e *ChunkDataPacks_Expecter) BatchRemoveChunkDataPacksOnly(chunkIDs interface{}, chunkDataPackBatch interface{}) *ChunkDataPacks_BatchRemoveChunkDataPacksOnly_Call
BatchRemoveChunkDataPacksOnly is a helper method to define mock.On call
- chunkIDs []flow.Identifier
- chunkDataPackBatch storage.ReaderBatchWriter
func (*ChunkDataPacks_Expecter) ByChunkID ¶ added in v0.46.0
func (_e *ChunkDataPacks_Expecter) ByChunkID(chunkID interface{}) *ChunkDataPacks_ByChunkID_Call
ByChunkID is a helper method to define mock.On call
- chunkID flow.Identifier
func (*ChunkDataPacks_Expecter) Store ¶ added in v0.46.0
func (_e *ChunkDataPacks_Expecter) Store(cs interface{}) *ChunkDataPacks_Store_Call
Store is a helper method to define mock.On call
- cs []*flow.ChunkDataPack
type ChunkDataPacks_Store_Call ¶ added in v0.46.0
ChunkDataPacks_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*ChunkDataPacks_Store_Call) Return ¶ added in v0.46.0
func (_c *ChunkDataPacks_Store_Call) Return(fn func(lctx lockctx.Proof, protocolDBBatch storage.ReaderBatchWriter) error, err error) *ChunkDataPacks_Store_Call
func (*ChunkDataPacks_Store_Call) Run ¶ added in v0.46.0
func (_c *ChunkDataPacks_Store_Call) Run(run func(cs []*flow.ChunkDataPack)) *ChunkDataPacks_Store_Call
func (*ChunkDataPacks_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkDataPacks_Store_Call) RunAndReturn(run func(cs []*flow.ChunkDataPack) (func(lctx lockctx.Proof, protocolDBBatch storage.ReaderBatchWriter) error, error)) *ChunkDataPacks_Store_Call
type ChunksQueue ¶ added in v0.15.0
ChunksQueue is an autogenerated mock type for the ChunksQueue type
func NewChunksQueue ¶ added in v0.26.1
func NewChunksQueue(t interface {
mock.TestingT
Cleanup(func())
}) *ChunksQueue
NewChunksQueue creates a new instance of ChunksQueue. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ChunksQueue) AtIndex ¶ added in v0.15.0
func (_mock *ChunksQueue) AtIndex(index uint64) (*chunks.Locator, error)
AtIndex provides a mock function for the type ChunksQueue
func (*ChunksQueue) EXPECT ¶ added in v0.46.0
func (_m *ChunksQueue) EXPECT() *ChunksQueue_Expecter
func (*ChunksQueue) LatestIndex ¶ added in v0.15.0
func (_mock *ChunksQueue) LatestIndex() (uint64, error)
LatestIndex provides a mock function for the type ChunksQueue
func (*ChunksQueue) StoreChunkLocator ¶ added in v0.15.0
func (_mock *ChunksQueue) StoreChunkLocator(locator *chunks.Locator) (bool, error)
StoreChunkLocator provides a mock function for the type ChunksQueue
type ChunksQueue_AtIndex_Call ¶ added in v0.46.0
ChunksQueue_AtIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AtIndex'
func (*ChunksQueue_AtIndex_Call) Return ¶ added in v0.46.0
func (_c *ChunksQueue_AtIndex_Call) Return(locator *chunks.Locator, err error) *ChunksQueue_AtIndex_Call
func (*ChunksQueue_AtIndex_Call) Run ¶ added in v0.46.0
func (_c *ChunksQueue_AtIndex_Call) Run(run func(index uint64)) *ChunksQueue_AtIndex_Call
func (*ChunksQueue_AtIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunksQueue_AtIndex_Call) RunAndReturn(run func(index uint64) (*chunks.Locator, error)) *ChunksQueue_AtIndex_Call
type ChunksQueue_Expecter ¶ added in v0.46.0
type ChunksQueue_Expecter struct {
// contains filtered or unexported fields
}
func (*ChunksQueue_Expecter) AtIndex ¶ added in v0.46.0
func (_e *ChunksQueue_Expecter) AtIndex(index interface{}) *ChunksQueue_AtIndex_Call
AtIndex is a helper method to define mock.On call
- index uint64
func (*ChunksQueue_Expecter) LatestIndex ¶ added in v0.46.0
func (_e *ChunksQueue_Expecter) LatestIndex() *ChunksQueue_LatestIndex_Call
LatestIndex is a helper method to define mock.On call
func (*ChunksQueue_Expecter) StoreChunkLocator ¶ added in v0.46.0
func (_e *ChunksQueue_Expecter) StoreChunkLocator(locator interface{}) *ChunksQueue_StoreChunkLocator_Call
StoreChunkLocator is a helper method to define mock.On call
- locator *chunks.Locator
type ChunksQueue_LatestIndex_Call ¶ added in v0.46.0
ChunksQueue_LatestIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestIndex'
func (*ChunksQueue_LatestIndex_Call) Return ¶ added in v0.46.0
func (_c *ChunksQueue_LatestIndex_Call) Return(v uint64, err error) *ChunksQueue_LatestIndex_Call
func (*ChunksQueue_LatestIndex_Call) Run ¶ added in v0.46.0
func (_c *ChunksQueue_LatestIndex_Call) Run(run func()) *ChunksQueue_LatestIndex_Call
func (*ChunksQueue_LatestIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunksQueue_LatestIndex_Call) RunAndReturn(run func() (uint64, error)) *ChunksQueue_LatestIndex_Call
type ChunksQueue_StoreChunkLocator_Call ¶ added in v0.46.0
ChunksQueue_StoreChunkLocator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreChunkLocator'
func (*ChunksQueue_StoreChunkLocator_Call) Return ¶ added in v0.46.0
func (_c *ChunksQueue_StoreChunkLocator_Call) Return(b bool, err error) *ChunksQueue_StoreChunkLocator_Call
func (*ChunksQueue_StoreChunkLocator_Call) Run ¶ added in v0.46.0
func (_c *ChunksQueue_StoreChunkLocator_Call) Run(run func(locator *chunks.Locator)) *ChunksQueue_StoreChunkLocator_Call
func (*ChunksQueue_StoreChunkLocator_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunksQueue_StoreChunkLocator_Call) RunAndReturn(run func(locator *chunks.Locator) (bool, error)) *ChunksQueue_StoreChunkLocator_Call
type ClusterBlocks ¶
ClusterBlocks is an autogenerated mock type for the ClusterBlocks type
func NewClusterBlocks ¶ added in v0.26.1
func NewClusterBlocks(t interface {
mock.TestingT
Cleanup(func())
}) *ClusterBlocks
NewClusterBlocks creates a new instance of ClusterBlocks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClusterBlocks) EXPECT ¶ added in v0.46.0
func (_m *ClusterBlocks) EXPECT() *ClusterBlocks_Expecter
func (*ClusterBlocks) ProposalByHeight ¶ added in v0.43.0
func (_mock *ClusterBlocks) ProposalByHeight(height uint64) (*cluster.Proposal, error)
ProposalByHeight provides a mock function for the type ClusterBlocks
func (*ClusterBlocks) ProposalByID ¶ added in v0.43.0
func (_mock *ClusterBlocks) ProposalByID(blockID flow.Identifier) (*cluster.Proposal, error)
ProposalByID provides a mock function for the type ClusterBlocks
type ClusterBlocks_Expecter ¶ added in v0.46.0
type ClusterBlocks_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterBlocks_Expecter) ProposalByHeight ¶ added in v0.46.0
func (_e *ClusterBlocks_Expecter) ProposalByHeight(height interface{}) *ClusterBlocks_ProposalByHeight_Call
ProposalByHeight is a helper method to define mock.On call
- height uint64
func (*ClusterBlocks_Expecter) ProposalByID ¶ added in v0.46.0
func (_e *ClusterBlocks_Expecter) ProposalByID(blockID interface{}) *ClusterBlocks_ProposalByID_Call
ProposalByID is a helper method to define mock.On call
- blockID flow.Identifier
type ClusterBlocks_ProposalByHeight_Call ¶ added in v0.46.0
ClusterBlocks_ProposalByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalByHeight'
func (*ClusterBlocks_ProposalByHeight_Call) Return ¶ added in v0.46.0
func (_c *ClusterBlocks_ProposalByHeight_Call) Return(proposal *cluster.Proposal, err error) *ClusterBlocks_ProposalByHeight_Call
func (*ClusterBlocks_ProposalByHeight_Call) Run ¶ added in v0.46.0
func (_c *ClusterBlocks_ProposalByHeight_Call) Run(run func(height uint64)) *ClusterBlocks_ProposalByHeight_Call
func (*ClusterBlocks_ProposalByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ClusterBlocks_ProposalByHeight_Call) RunAndReturn(run func(height uint64) (*cluster.Proposal, error)) *ClusterBlocks_ProposalByHeight_Call
type ClusterBlocks_ProposalByID_Call ¶ added in v0.46.0
ClusterBlocks_ProposalByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalByID'
func (*ClusterBlocks_ProposalByID_Call) Return ¶ added in v0.46.0
func (_c *ClusterBlocks_ProposalByID_Call) Return(proposal *cluster.Proposal, err error) *ClusterBlocks_ProposalByID_Call
func (*ClusterBlocks_ProposalByID_Call) Run ¶ added in v0.46.0
func (_c *ClusterBlocks_ProposalByID_Call) Run(run func(blockID flow.Identifier)) *ClusterBlocks_ProposalByID_Call
func (*ClusterBlocks_ProposalByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ClusterBlocks_ProposalByID_Call) RunAndReturn(run func(blockID flow.Identifier) (*cluster.Proposal, error)) *ClusterBlocks_ProposalByID_Call
type ClusterPayloads ¶
ClusterPayloads is an autogenerated mock type for the ClusterPayloads type
func NewClusterPayloads ¶ added in v0.26.1
func NewClusterPayloads(t interface {
mock.TestingT
Cleanup(func())
}) *ClusterPayloads
NewClusterPayloads creates a new instance of ClusterPayloads. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClusterPayloads) ByBlockID ¶
func (_mock *ClusterPayloads) ByBlockID(blockID flow.Identifier) (*cluster.Payload, error)
ByBlockID provides a mock function for the type ClusterPayloads
func (*ClusterPayloads) EXPECT ¶ added in v0.46.0
func (_m *ClusterPayloads) EXPECT() *ClusterPayloads_Expecter
type ClusterPayloads_ByBlockID_Call ¶ added in v0.46.0
ClusterPayloads_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*ClusterPayloads_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ClusterPayloads_ByBlockID_Call) Return(payload *cluster.Payload, err error) *ClusterPayloads_ByBlockID_Call
func (*ClusterPayloads_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ClusterPayloads_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ClusterPayloads_ByBlockID_Call
func (*ClusterPayloads_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ClusterPayloads_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*cluster.Payload, error)) *ClusterPayloads_ByBlockID_Call
type ClusterPayloads_Expecter ¶ added in v0.46.0
type ClusterPayloads_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterPayloads_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *ClusterPayloads_Expecter) ByBlockID(blockID interface{}) *ClusterPayloads_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type Collections ¶
Collections is an autogenerated mock type for the Collections type
func NewCollections ¶ added in v0.26.1
func NewCollections(t interface {
mock.TestingT
Cleanup(func())
}) *Collections
NewCollections creates a new instance of Collections. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Collections) BatchStoreAndIndexByTransaction ¶ added in v0.43.0
func (_mock *Collections) BatchStoreAndIndexByTransaction(lctx lockctx.Proof, collection *flow.Collection, batch storage.ReaderBatchWriter) (*flow.LightCollection, error)
BatchStoreAndIndexByTransaction provides a mock function for the type Collections
func (*Collections) ByID ¶
func (_mock *Collections) ByID(collID flow.Identifier) (*flow.Collection, error)
ByID provides a mock function for the type Collections
func (*Collections) EXPECT ¶ added in v0.46.0
func (_m *Collections) EXPECT() *Collections_Expecter
func (*Collections) LightByID ¶
func (_mock *Collections) LightByID(collID flow.Identifier) (*flow.LightCollection, error)
LightByID provides a mock function for the type Collections
func (*Collections) LightByTransactionID ¶
func (_mock *Collections) LightByTransactionID(txID flow.Identifier) (*flow.LightCollection, error)
LightByTransactionID provides a mock function for the type Collections
func (*Collections) Remove ¶
func (_mock *Collections) Remove(collID flow.Identifier) error
Remove provides a mock function for the type Collections
func (*Collections) Store ¶
func (_mock *Collections) Store(collection *flow.Collection) (*flow.LightCollection, error)
Store provides a mock function for the type Collections
func (*Collections) StoreAndIndexByTransaction ¶ added in v0.43.0
func (_mock *Collections) StoreAndIndexByTransaction(lctx lockctx.Proof, collection *flow.Collection) (*flow.LightCollection, error)
StoreAndIndexByTransaction provides a mock function for the type Collections
type CollectionsReader ¶ added in v0.41.0
CollectionsReader is an autogenerated mock type for the CollectionsReader type
func NewCollectionsReader ¶ added in v0.41.0
func NewCollectionsReader(t interface {
mock.TestingT
Cleanup(func())
}) *CollectionsReader
NewCollectionsReader creates a new instance of CollectionsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CollectionsReader) ByID ¶ added in v0.41.0
func (_mock *CollectionsReader) ByID(collID flow.Identifier) (*flow.Collection, error)
ByID provides a mock function for the type CollectionsReader
func (*CollectionsReader) EXPECT ¶ added in v0.46.0
func (_m *CollectionsReader) EXPECT() *CollectionsReader_Expecter
func (*CollectionsReader) LightByID ¶ added in v0.41.0
func (_mock *CollectionsReader) LightByID(collID flow.Identifier) (*flow.LightCollection, error)
LightByID provides a mock function for the type CollectionsReader
func (*CollectionsReader) LightByTransactionID ¶ added in v0.41.0
func (_mock *CollectionsReader) LightByTransactionID(txID flow.Identifier) (*flow.LightCollection, error)
LightByTransactionID provides a mock function for the type CollectionsReader
type CollectionsReader_ByID_Call ¶ added in v0.46.0
CollectionsReader_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*CollectionsReader_ByID_Call) Return ¶ added in v0.46.0
func (_c *CollectionsReader_ByID_Call) Return(collection *flow.Collection, err error) *CollectionsReader_ByID_Call
func (*CollectionsReader_ByID_Call) Run ¶ added in v0.46.0
func (_c *CollectionsReader_ByID_Call) Run(run func(collID flow.Identifier)) *CollectionsReader_ByID_Call
func (*CollectionsReader_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionsReader_ByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.Collection, error)) *CollectionsReader_ByID_Call
type CollectionsReader_Expecter ¶ added in v0.46.0
type CollectionsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*CollectionsReader_Expecter) ByID ¶ added in v0.46.0
func (_e *CollectionsReader_Expecter) ByID(collID interface{}) *CollectionsReader_ByID_Call
ByID is a helper method to define mock.On call
- collID flow.Identifier
func (*CollectionsReader_Expecter) LightByID ¶ added in v0.46.0
func (_e *CollectionsReader_Expecter) LightByID(collID interface{}) *CollectionsReader_LightByID_Call
LightByID is a helper method to define mock.On call
- collID flow.Identifier
func (*CollectionsReader_Expecter) LightByTransactionID ¶ added in v0.46.0
func (_e *CollectionsReader_Expecter) LightByTransactionID(txID interface{}) *CollectionsReader_LightByTransactionID_Call
LightByTransactionID is a helper method to define mock.On call
- txID flow.Identifier
type CollectionsReader_LightByID_Call ¶ added in v0.46.0
CollectionsReader_LightByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LightByID'
func (*CollectionsReader_LightByID_Call) Return ¶ added in v0.46.0
func (_c *CollectionsReader_LightByID_Call) Return(lightCollection *flow.LightCollection, err error) *CollectionsReader_LightByID_Call
func (*CollectionsReader_LightByID_Call) Run ¶ added in v0.46.0
func (_c *CollectionsReader_LightByID_Call) Run(run func(collID flow.Identifier)) *CollectionsReader_LightByID_Call
func (*CollectionsReader_LightByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionsReader_LightByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.LightCollection, error)) *CollectionsReader_LightByID_Call
type CollectionsReader_LightByTransactionID_Call ¶ added in v0.46.0
CollectionsReader_LightByTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LightByTransactionID'
func (*CollectionsReader_LightByTransactionID_Call) Return ¶ added in v0.46.0
func (_c *CollectionsReader_LightByTransactionID_Call) Return(lightCollection *flow.LightCollection, err error) *CollectionsReader_LightByTransactionID_Call
func (*CollectionsReader_LightByTransactionID_Call) Run ¶ added in v0.46.0
func (_c *CollectionsReader_LightByTransactionID_Call) Run(run func(txID flow.Identifier)) *CollectionsReader_LightByTransactionID_Call
func (*CollectionsReader_LightByTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CollectionsReader_LightByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.LightCollection, error)) *CollectionsReader_LightByTransactionID_Call
type Collections_BatchStoreAndIndexByTransaction_Call ¶ added in v0.46.0
Collections_BatchStoreAndIndexByTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStoreAndIndexByTransaction'
func (*Collections_BatchStoreAndIndexByTransaction_Call) Return ¶ added in v0.46.0
func (_c *Collections_BatchStoreAndIndexByTransaction_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_BatchStoreAndIndexByTransaction_Call
func (*Collections_BatchStoreAndIndexByTransaction_Call) Run ¶ added in v0.46.0
func (_c *Collections_BatchStoreAndIndexByTransaction_Call) Run(run func(lctx lockctx.Proof, collection *flow.Collection, batch storage.ReaderBatchWriter)) *Collections_BatchStoreAndIndexByTransaction_Call
func (*Collections_BatchStoreAndIndexByTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Collections_BatchStoreAndIndexByTransaction_Call) RunAndReturn(run func(lctx lockctx.Proof, collection *flow.Collection, batch storage.ReaderBatchWriter) (*flow.LightCollection, error)) *Collections_BatchStoreAndIndexByTransaction_Call
type Collections_ByID_Call ¶ added in v0.46.0
Collections_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*Collections_ByID_Call) Return ¶ added in v0.46.0
func (_c *Collections_ByID_Call) Return(collection *flow.Collection, err error) *Collections_ByID_Call
func (*Collections_ByID_Call) Run ¶ added in v0.46.0
func (_c *Collections_ByID_Call) Run(run func(collID flow.Identifier)) *Collections_ByID_Call
func (*Collections_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Collections_ByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.Collection, error)) *Collections_ByID_Call
type Collections_Expecter ¶ added in v0.46.0
type Collections_Expecter struct {
// contains filtered or unexported fields
}
func (*Collections_Expecter) BatchStoreAndIndexByTransaction ¶ added in v0.46.0
func (_e *Collections_Expecter) BatchStoreAndIndexByTransaction(lctx interface{}, collection interface{}, batch interface{}) *Collections_BatchStoreAndIndexByTransaction_Call
BatchStoreAndIndexByTransaction is a helper method to define mock.On call
- lctx lockctx.Proof
- collection *flow.Collection
- batch storage.ReaderBatchWriter
func (*Collections_Expecter) ByID ¶ added in v0.46.0
func (_e *Collections_Expecter) ByID(collID interface{}) *Collections_ByID_Call
ByID is a helper method to define mock.On call
- collID flow.Identifier
func (*Collections_Expecter) LightByID ¶ added in v0.46.0
func (_e *Collections_Expecter) LightByID(collID interface{}) *Collections_LightByID_Call
LightByID is a helper method to define mock.On call
- collID flow.Identifier
func (*Collections_Expecter) LightByTransactionID ¶ added in v0.46.0
func (_e *Collections_Expecter) LightByTransactionID(txID interface{}) *Collections_LightByTransactionID_Call
LightByTransactionID is a helper method to define mock.On call
- txID flow.Identifier
func (*Collections_Expecter) Remove ¶ added in v0.46.0
func (_e *Collections_Expecter) Remove(collID interface{}) *Collections_Remove_Call
Remove is a helper method to define mock.On call
- collID flow.Identifier
func (*Collections_Expecter) Store ¶ added in v0.46.0
func (_e *Collections_Expecter) Store(collection interface{}) *Collections_Store_Call
Store is a helper method to define mock.On call
- collection *flow.Collection
func (*Collections_Expecter) StoreAndIndexByTransaction ¶ added in v0.46.0
func (_e *Collections_Expecter) StoreAndIndexByTransaction(lctx interface{}, collection interface{}) *Collections_StoreAndIndexByTransaction_Call
StoreAndIndexByTransaction is a helper method to define mock.On call
- lctx lockctx.Proof
- collection *flow.Collection
type Collections_LightByID_Call ¶ added in v0.46.0
Collections_LightByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LightByID'
func (*Collections_LightByID_Call) Return ¶ added in v0.46.0
func (_c *Collections_LightByID_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_LightByID_Call
func (*Collections_LightByID_Call) Run ¶ added in v0.46.0
func (_c *Collections_LightByID_Call) Run(run func(collID flow.Identifier)) *Collections_LightByID_Call
func (*Collections_LightByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Collections_LightByID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.LightCollection, error)) *Collections_LightByID_Call
type Collections_LightByTransactionID_Call ¶ added in v0.46.0
Collections_LightByTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LightByTransactionID'
func (*Collections_LightByTransactionID_Call) Return ¶ added in v0.46.0
func (_c *Collections_LightByTransactionID_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_LightByTransactionID_Call
func (*Collections_LightByTransactionID_Call) Run ¶ added in v0.46.0
func (_c *Collections_LightByTransactionID_Call) Run(run func(txID flow.Identifier)) *Collections_LightByTransactionID_Call
func (*Collections_LightByTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Collections_LightByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.LightCollection, error)) *Collections_LightByTransactionID_Call
type Collections_Remove_Call ¶ added in v0.46.0
Collections_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*Collections_Remove_Call) Return ¶ added in v0.46.0
func (_c *Collections_Remove_Call) Return(err error) *Collections_Remove_Call
func (*Collections_Remove_Call) Run ¶ added in v0.46.0
func (_c *Collections_Remove_Call) Run(run func(collID flow.Identifier)) *Collections_Remove_Call
func (*Collections_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Collections_Remove_Call) RunAndReturn(run func(collID flow.Identifier) error) *Collections_Remove_Call
type Collections_StoreAndIndexByTransaction_Call ¶ added in v0.46.0
Collections_StoreAndIndexByTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreAndIndexByTransaction'
func (*Collections_StoreAndIndexByTransaction_Call) Return ¶ added in v0.46.0
func (_c *Collections_StoreAndIndexByTransaction_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_StoreAndIndexByTransaction_Call
func (*Collections_StoreAndIndexByTransaction_Call) Run ¶ added in v0.46.0
func (_c *Collections_StoreAndIndexByTransaction_Call) Run(run func(lctx lockctx.Proof, collection *flow.Collection)) *Collections_StoreAndIndexByTransaction_Call
func (*Collections_StoreAndIndexByTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Collections_StoreAndIndexByTransaction_Call) RunAndReturn(run func(lctx lockctx.Proof, collection *flow.Collection) (*flow.LightCollection, error)) *Collections_StoreAndIndexByTransaction_Call
type Collections_Store_Call ¶ added in v0.46.0
Collections_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*Collections_Store_Call) Return ¶ added in v0.46.0
func (_c *Collections_Store_Call) Return(lightCollection *flow.LightCollection, err error) *Collections_Store_Call
func (*Collections_Store_Call) Run ¶ added in v0.46.0
func (_c *Collections_Store_Call) Run(run func(collection *flow.Collection)) *Collections_Store_Call
func (*Collections_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Collections_Store_Call) RunAndReturn(run func(collection *flow.Collection) (*flow.LightCollection, error)) *Collections_Store_Call
type Commits ¶
Commits is an autogenerated mock type for the Commits type
func NewCommits ¶ added in v0.26.1
NewCommits creates a new instance of Commits. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Commits) BatchRemoveByBlockID ¶ added in v0.30.0
func (_mock *Commits) BatchRemoveByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
BatchRemoveByBlockID provides a mock function for the type Commits
func (*Commits) BatchStore ¶ added in v0.15.0
func (_mock *Commits) BatchStore(lctx lockctx.Proof, blockID flow.Identifier, commit flow.StateCommitment, batch storage.ReaderBatchWriter) error
BatchStore provides a mock function for the type Commits
func (*Commits) ByBlockID ¶
func (_mock *Commits) ByBlockID(blockID flow.Identifier) (flow.StateCommitment, error)
ByBlockID provides a mock function for the type Commits
func (*Commits) EXPECT ¶ added in v0.46.0
func (_m *Commits) EXPECT() *Commits_Expecter
type CommitsReader ¶ added in v0.41.0
CommitsReader is an autogenerated mock type for the CommitsReader type
func NewCommitsReader ¶ added in v0.41.0
func NewCommitsReader(t interface {
mock.TestingT
Cleanup(func())
}) *CommitsReader
NewCommitsReader creates a new instance of CommitsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CommitsReader) ByBlockID ¶ added in v0.41.0
func (_mock *CommitsReader) ByBlockID(blockID flow.Identifier) (flow.StateCommitment, error)
ByBlockID provides a mock function for the type CommitsReader
func (*CommitsReader) EXPECT ¶ added in v0.46.0
func (_m *CommitsReader) EXPECT() *CommitsReader_Expecter
type CommitsReader_ByBlockID_Call ¶ added in v0.46.0
CommitsReader_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*CommitsReader_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *CommitsReader_ByBlockID_Call) Return(stateCommitment flow.StateCommitment, err error) *CommitsReader_ByBlockID_Call
func (*CommitsReader_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *CommitsReader_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *CommitsReader_ByBlockID_Call
func (*CommitsReader_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CommitsReader_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.StateCommitment, error)) *CommitsReader_ByBlockID_Call
type CommitsReader_Expecter ¶ added in v0.46.0
type CommitsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*CommitsReader_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *CommitsReader_Expecter) ByBlockID(blockID interface{}) *CommitsReader_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type Commits_BatchRemoveByBlockID_Call ¶ added in v0.46.0
Commits_BatchRemoveByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemoveByBlockID'
func (*Commits_BatchRemoveByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Commits_BatchRemoveByBlockID_Call) Return(err error) *Commits_BatchRemoveByBlockID_Call
func (*Commits_BatchRemoveByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Commits_BatchRemoveByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *Commits_BatchRemoveByBlockID_Call
func (*Commits_BatchRemoveByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Commits_BatchRemoveByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *Commits_BatchRemoveByBlockID_Call
type Commits_BatchStore_Call ¶ added in v0.46.0
Commits_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*Commits_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *Commits_BatchStore_Call) Return(err error) *Commits_BatchStore_Call
func (*Commits_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *Commits_BatchStore_Call) Run(run func(lctx lockctx.Proof, blockID flow.Identifier, commit flow.StateCommitment, batch storage.ReaderBatchWriter)) *Commits_BatchStore_Call
func (*Commits_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Commits_BatchStore_Call) RunAndReturn(run func(lctx lockctx.Proof, blockID flow.Identifier, commit flow.StateCommitment, batch storage.ReaderBatchWriter) error) *Commits_BatchStore_Call
type Commits_ByBlockID_Call ¶ added in v0.46.0
Commits_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*Commits_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Commits_ByBlockID_Call) Return(stateCommitment flow.StateCommitment, err error) *Commits_ByBlockID_Call
func (*Commits_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Commits_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Commits_ByBlockID_Call
func (*Commits_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Commits_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.StateCommitment, error)) *Commits_ByBlockID_Call
type Commits_Expecter ¶ added in v0.46.0
type Commits_Expecter struct {
// contains filtered or unexported fields
}
func (*Commits_Expecter) BatchRemoveByBlockID ¶ added in v0.46.0
func (_e *Commits_Expecter) BatchRemoveByBlockID(blockID interface{}, batch interface{}) *Commits_BatchRemoveByBlockID_Call
BatchRemoveByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
- batch storage.ReaderBatchWriter
func (*Commits_Expecter) BatchStore ¶ added in v0.46.0
func (_e *Commits_Expecter) BatchStore(lctx interface{}, blockID interface{}, commit interface{}, batch interface{}) *Commits_BatchStore_Call
BatchStore is a helper method to define mock.On call
- lctx lockctx.Proof
- blockID flow.Identifier
- commit flow.StateCommitment
- batch storage.ReaderBatchWriter
func (*Commits_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *Commits_Expecter) ByBlockID(blockID interface{}) *Commits_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type ComputationResultUploadStatus ¶ added in v0.28.0
ComputationResultUploadStatus is an autogenerated mock type for the ComputationResultUploadStatus type
func NewComputationResultUploadStatus ¶ added in v0.28.0
func NewComputationResultUploadStatus(t interface {
mock.TestingT
Cleanup(func())
}) *ComputationResultUploadStatus
NewComputationResultUploadStatus creates a new instance of ComputationResultUploadStatus. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ComputationResultUploadStatus) ByID ¶ added in v0.28.0
func (_mock *ComputationResultUploadStatus) ByID(blockID flow.Identifier) (bool, error)
ByID provides a mock function for the type ComputationResultUploadStatus
func (*ComputationResultUploadStatus) EXPECT ¶ added in v0.46.0
func (_m *ComputationResultUploadStatus) EXPECT() *ComputationResultUploadStatus_Expecter
func (*ComputationResultUploadStatus) GetIDsByUploadStatus ¶ added in v0.28.0
func (_mock *ComputationResultUploadStatus) GetIDsByUploadStatus(targetUploadStatus bool) ([]flow.Identifier, error)
GetIDsByUploadStatus provides a mock function for the type ComputationResultUploadStatus
func (*ComputationResultUploadStatus) Remove ¶ added in v0.28.0
func (_mock *ComputationResultUploadStatus) Remove(blockID flow.Identifier) error
Remove provides a mock function for the type ComputationResultUploadStatus
func (*ComputationResultUploadStatus) Upsert ¶ added in v0.28.0
func (_mock *ComputationResultUploadStatus) Upsert(blockID flow.Identifier, wasUploadCompleted bool) error
Upsert provides a mock function for the type ComputationResultUploadStatus
type ComputationResultUploadStatus_ByID_Call ¶ added in v0.46.0
ComputationResultUploadStatus_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*ComputationResultUploadStatus_ByID_Call) Return ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_ByID_Call) Return(b bool, err error) *ComputationResultUploadStatus_ByID_Call
func (*ComputationResultUploadStatus_ByID_Call) Run ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_ByID_Call) Run(run func(blockID flow.Identifier)) *ComputationResultUploadStatus_ByID_Call
func (*ComputationResultUploadStatus_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_ByID_Call) RunAndReturn(run func(blockID flow.Identifier) (bool, error)) *ComputationResultUploadStatus_ByID_Call
type ComputationResultUploadStatus_Expecter ¶ added in v0.46.0
type ComputationResultUploadStatus_Expecter struct {
// contains filtered or unexported fields
}
func (*ComputationResultUploadStatus_Expecter) ByID ¶ added in v0.46.0
func (_e *ComputationResultUploadStatus_Expecter) ByID(blockID interface{}) *ComputationResultUploadStatus_ByID_Call
ByID is a helper method to define mock.On call
- blockID flow.Identifier
func (*ComputationResultUploadStatus_Expecter) GetIDsByUploadStatus ¶ added in v0.46.0
func (_e *ComputationResultUploadStatus_Expecter) GetIDsByUploadStatus(targetUploadStatus interface{}) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
GetIDsByUploadStatus is a helper method to define mock.On call
- targetUploadStatus bool
func (*ComputationResultUploadStatus_Expecter) Remove ¶ added in v0.46.0
func (_e *ComputationResultUploadStatus_Expecter) Remove(blockID interface{}) *ComputationResultUploadStatus_Remove_Call
Remove is a helper method to define mock.On call
- blockID flow.Identifier
func (*ComputationResultUploadStatus_Expecter) Upsert ¶ added in v0.46.0
func (_e *ComputationResultUploadStatus_Expecter) Upsert(blockID interface{}, wasUploadCompleted interface{}) *ComputationResultUploadStatus_Upsert_Call
Upsert is a helper method to define mock.On call
- blockID flow.Identifier
- wasUploadCompleted bool
type ComputationResultUploadStatus_GetIDsByUploadStatus_Call ¶ added in v0.46.0
ComputationResultUploadStatus_GetIDsByUploadStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIDsByUploadStatus'
func (*ComputationResultUploadStatus_GetIDsByUploadStatus_Call) Return ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_GetIDsByUploadStatus_Call) Return(identifiers []flow.Identifier, err error) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
func (*ComputationResultUploadStatus_GetIDsByUploadStatus_Call) Run ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_GetIDsByUploadStatus_Call) Run(run func(targetUploadStatus bool)) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
func (*ComputationResultUploadStatus_GetIDsByUploadStatus_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_GetIDsByUploadStatus_Call) RunAndReturn(run func(targetUploadStatus bool) ([]flow.Identifier, error)) *ComputationResultUploadStatus_GetIDsByUploadStatus_Call
type ComputationResultUploadStatus_Remove_Call ¶ added in v0.46.0
ComputationResultUploadStatus_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*ComputationResultUploadStatus_Remove_Call) Return ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_Remove_Call) Return(err error) *ComputationResultUploadStatus_Remove_Call
func (*ComputationResultUploadStatus_Remove_Call) Run ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_Remove_Call) Run(run func(blockID flow.Identifier)) *ComputationResultUploadStatus_Remove_Call
func (*ComputationResultUploadStatus_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_Remove_Call) RunAndReturn(run func(blockID flow.Identifier) error) *ComputationResultUploadStatus_Remove_Call
type ComputationResultUploadStatus_Upsert_Call ¶ added in v0.46.0
ComputationResultUploadStatus_Upsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upsert'
func (*ComputationResultUploadStatus_Upsert_Call) Return ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_Upsert_Call) Return(err error) *ComputationResultUploadStatus_Upsert_Call
func (*ComputationResultUploadStatus_Upsert_Call) Run ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_Upsert_Call) Run(run func(blockID flow.Identifier, wasUploadCompleted bool)) *ComputationResultUploadStatus_Upsert_Call
func (*ComputationResultUploadStatus_Upsert_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ComputationResultUploadStatus_Upsert_Call) RunAndReturn(run func(blockID flow.Identifier, wasUploadCompleted bool) error) *ComputationResultUploadStatus_Upsert_Call
type ConsumerProgress ¶ added in v0.15.0
ConsumerProgress is an autogenerated mock type for the ConsumerProgress type
func NewConsumerProgress ¶ added in v0.26.1
func NewConsumerProgress(t interface {
mock.TestingT
Cleanup(func())
}) *ConsumerProgress
NewConsumerProgress creates a new instance of ConsumerProgress. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ConsumerProgress) BatchSetProcessedIndex ¶ added in v0.43.0
func (_mock *ConsumerProgress) BatchSetProcessedIndex(processed uint64, batch storage.ReaderBatchWriter) error
BatchSetProcessedIndex provides a mock function for the type ConsumerProgress
func (*ConsumerProgress) EXPECT ¶ added in v0.46.0
func (_m *ConsumerProgress) EXPECT() *ConsumerProgress_Expecter
func (*ConsumerProgress) ProcessedIndex ¶ added in v0.15.0
func (_mock *ConsumerProgress) ProcessedIndex() (uint64, error)
ProcessedIndex provides a mock function for the type ConsumerProgress
func (*ConsumerProgress) SetProcessedIndex ¶ added in v0.15.0
func (_mock *ConsumerProgress) SetProcessedIndex(processed uint64) error
SetProcessedIndex provides a mock function for the type ConsumerProgress
type ConsumerProgressInitializer ¶ added in v0.38.0
ConsumerProgressInitializer is an autogenerated mock type for the ConsumerProgressInitializer type
func NewConsumerProgressInitializer ¶ added in v0.38.0
func NewConsumerProgressInitializer(t interface {
mock.TestingT
Cleanup(func())
}) *ConsumerProgressInitializer
NewConsumerProgressInitializer creates a new instance of ConsumerProgressInitializer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ConsumerProgressInitializer) EXPECT ¶ added in v0.46.0
func (_m *ConsumerProgressInitializer) EXPECT() *ConsumerProgressInitializer_Expecter
func (*ConsumerProgressInitializer) Initialize ¶ added in v0.38.0
func (_mock *ConsumerProgressInitializer) Initialize(defaultIndex uint64) (storage.ConsumerProgress, error)
Initialize provides a mock function for the type ConsumerProgressInitializer
type ConsumerProgressInitializer_Expecter ¶ added in v0.46.0
type ConsumerProgressInitializer_Expecter struct {
// contains filtered or unexported fields
}
func (*ConsumerProgressInitializer_Expecter) Initialize ¶ added in v0.46.0
func (_e *ConsumerProgressInitializer_Expecter) Initialize(defaultIndex interface{}) *ConsumerProgressInitializer_Initialize_Call
Initialize is a helper method to define mock.On call
- defaultIndex uint64
type ConsumerProgressInitializer_Initialize_Call ¶ added in v0.46.0
ConsumerProgressInitializer_Initialize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialize'
func (*ConsumerProgressInitializer_Initialize_Call) Return ¶ added in v0.46.0
func (_c *ConsumerProgressInitializer_Initialize_Call) Return(consumerProgress storage.ConsumerProgress, err error) *ConsumerProgressInitializer_Initialize_Call
func (*ConsumerProgressInitializer_Initialize_Call) Run ¶ added in v0.46.0
func (_c *ConsumerProgressInitializer_Initialize_Call) Run(run func(defaultIndex uint64)) *ConsumerProgressInitializer_Initialize_Call
func (*ConsumerProgressInitializer_Initialize_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsumerProgressInitializer_Initialize_Call) RunAndReturn(run func(defaultIndex uint64) (storage.ConsumerProgress, error)) *ConsumerProgressInitializer_Initialize_Call
type ConsumerProgress_BatchSetProcessedIndex_Call ¶ added in v0.46.0
ConsumerProgress_BatchSetProcessedIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchSetProcessedIndex'
func (*ConsumerProgress_BatchSetProcessedIndex_Call) Return ¶ added in v0.46.0
func (_c *ConsumerProgress_BatchSetProcessedIndex_Call) Return(err error) *ConsumerProgress_BatchSetProcessedIndex_Call
func (*ConsumerProgress_BatchSetProcessedIndex_Call) Run ¶ added in v0.46.0
func (_c *ConsumerProgress_BatchSetProcessedIndex_Call) Run(run func(processed uint64, batch storage.ReaderBatchWriter)) *ConsumerProgress_BatchSetProcessedIndex_Call
func (*ConsumerProgress_BatchSetProcessedIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsumerProgress_BatchSetProcessedIndex_Call) RunAndReturn(run func(processed uint64, batch storage.ReaderBatchWriter) error) *ConsumerProgress_BatchSetProcessedIndex_Call
type ConsumerProgress_Expecter ¶ added in v0.46.0
type ConsumerProgress_Expecter struct {
// contains filtered or unexported fields
}
func (*ConsumerProgress_Expecter) BatchSetProcessedIndex ¶ added in v0.46.0
func (_e *ConsumerProgress_Expecter) BatchSetProcessedIndex(processed interface{}, batch interface{}) *ConsumerProgress_BatchSetProcessedIndex_Call
BatchSetProcessedIndex is a helper method to define mock.On call
- processed uint64
- batch storage.ReaderBatchWriter
func (*ConsumerProgress_Expecter) ProcessedIndex ¶ added in v0.46.0
func (_e *ConsumerProgress_Expecter) ProcessedIndex() *ConsumerProgress_ProcessedIndex_Call
ProcessedIndex is a helper method to define mock.On call
func (*ConsumerProgress_Expecter) SetProcessedIndex ¶ added in v0.46.0
func (_e *ConsumerProgress_Expecter) SetProcessedIndex(processed interface{}) *ConsumerProgress_SetProcessedIndex_Call
SetProcessedIndex is a helper method to define mock.On call
- processed uint64
type ConsumerProgress_ProcessedIndex_Call ¶ added in v0.46.0
ConsumerProgress_ProcessedIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessedIndex'
func (*ConsumerProgress_ProcessedIndex_Call) Return ¶ added in v0.46.0
func (_c *ConsumerProgress_ProcessedIndex_Call) Return(v uint64, err error) *ConsumerProgress_ProcessedIndex_Call
func (*ConsumerProgress_ProcessedIndex_Call) Run ¶ added in v0.46.0
func (_c *ConsumerProgress_ProcessedIndex_Call) Run(run func()) *ConsumerProgress_ProcessedIndex_Call
func (*ConsumerProgress_ProcessedIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsumerProgress_ProcessedIndex_Call) RunAndReturn(run func() (uint64, error)) *ConsumerProgress_ProcessedIndex_Call
type ConsumerProgress_SetProcessedIndex_Call ¶ added in v0.46.0
ConsumerProgress_SetProcessedIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProcessedIndex'
func (*ConsumerProgress_SetProcessedIndex_Call) Return ¶ added in v0.46.0
func (_c *ConsumerProgress_SetProcessedIndex_Call) Return(err error) *ConsumerProgress_SetProcessedIndex_Call
func (*ConsumerProgress_SetProcessedIndex_Call) Run ¶ added in v0.46.0
func (_c *ConsumerProgress_SetProcessedIndex_Call) Run(run func(processed uint64)) *ConsumerProgress_SetProcessedIndex_Call
func (*ConsumerProgress_SetProcessedIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ConsumerProgress_SetProcessedIndex_Call) RunAndReturn(run func(processed uint64) error) *ConsumerProgress_SetProcessedIndex_Call
type DB ¶ added in v0.38.0
DB is an autogenerated mock type for the DB type
func NewDB ¶ added in v0.38.0
NewDB creates a new instance of DB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DB) EXPECT ¶ added in v0.46.0
func (_m *DB) EXPECT() *DB_Expecter
func (*DB) WithReaderBatchWriter ¶ added in v0.38.0
func (_mock *DB) WithReaderBatchWriter(fn func(storage.ReaderBatchWriter) error) error
WithReaderBatchWriter provides a mock function for the type DB
type DB_Close_Call ¶ added in v0.46.0
DB_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*DB_Close_Call) Return ¶ added in v0.46.0
func (_c *DB_Close_Call) Return(err error) *DB_Close_Call
func (*DB_Close_Call) Run ¶ added in v0.46.0
func (_c *DB_Close_Call) Run(run func()) *DB_Close_Call
func (*DB_Close_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DB_Close_Call) RunAndReturn(run func() error) *DB_Close_Call
type DB_Expecter ¶ added in v0.46.0
type DB_Expecter struct {
// contains filtered or unexported fields
}
func (*DB_Expecter) Close ¶ added in v0.46.0
func (_e *DB_Expecter) Close() *DB_Close_Call
Close is a helper method to define mock.On call
func (*DB_Expecter) NewBatch ¶ added in v0.46.0
func (_e *DB_Expecter) NewBatch() *DB_NewBatch_Call
NewBatch is a helper method to define mock.On call
func (*DB_Expecter) Reader ¶ added in v0.46.0
func (_e *DB_Expecter) Reader() *DB_Reader_Call
Reader is a helper method to define mock.On call
func (*DB_Expecter) WithReaderBatchWriter ¶ added in v0.46.0
func (_e *DB_Expecter) WithReaderBatchWriter(fn interface{}) *DB_WithReaderBatchWriter_Call
WithReaderBatchWriter is a helper method to define mock.On call
- fn func(storage.ReaderBatchWriter) error
type DB_NewBatch_Call ¶ added in v0.46.0
DB_NewBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewBatch'
func (*DB_NewBatch_Call) Return ¶ added in v0.46.0
func (_c *DB_NewBatch_Call) Return(batch storage.Batch) *DB_NewBatch_Call
func (*DB_NewBatch_Call) Run ¶ added in v0.46.0
func (_c *DB_NewBatch_Call) Run(run func()) *DB_NewBatch_Call
func (*DB_NewBatch_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DB_NewBatch_Call) RunAndReturn(run func() storage.Batch) *DB_NewBatch_Call
type DB_Reader_Call ¶ added in v0.46.0
DB_Reader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reader'
func (*DB_Reader_Call) Return ¶ added in v0.46.0
func (_c *DB_Reader_Call) Return(reader storage.Reader) *DB_Reader_Call
func (*DB_Reader_Call) Run ¶ added in v0.46.0
func (_c *DB_Reader_Call) Run(run func()) *DB_Reader_Call
func (*DB_Reader_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DB_Reader_Call) RunAndReturn(run func() storage.Reader) *DB_Reader_Call
type DB_WithReaderBatchWriter_Call ¶ added in v0.46.0
DB_WithReaderBatchWriter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithReaderBatchWriter'
func (*DB_WithReaderBatchWriter_Call) Return ¶ added in v0.46.0
func (_c *DB_WithReaderBatchWriter_Call) Return(err error) *DB_WithReaderBatchWriter_Call
func (*DB_WithReaderBatchWriter_Call) Run ¶ added in v0.46.0
func (_c *DB_WithReaderBatchWriter_Call) Run(run func(fn func(storage.ReaderBatchWriter) error)) *DB_WithReaderBatchWriter_Call
func (*DB_WithReaderBatchWriter_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DB_WithReaderBatchWriter_Call) RunAndReturn(run func(fn func(storage.ReaderBatchWriter) error) error) *DB_WithReaderBatchWriter_Call
type DKGState ¶ added in v0.23.9
DKGState is an autogenerated mock type for the DKGState type
func NewDKGState ¶ added in v0.26.1
NewDKGState creates a new instance of DKGState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DKGState) CommitMyBeaconPrivateKey ¶ added in v0.39.0
func (_mock *DKGState) CommitMyBeaconPrivateKey(epochCounter uint64, commit *flow.EpochCommit) error
CommitMyBeaconPrivateKey provides a mock function for the type DKGState
func (*DKGState) EXPECT ¶ added in v0.46.0
func (_m *DKGState) EXPECT() *DKGState_Expecter
func (*DKGState) GetDKGState ¶ added in v0.39.0
GetDKGState provides a mock function for the type DKGState
func (*DKGState) InsertMyBeaconPrivateKey ¶ added in v0.23.9
func (_mock *DKGState) InsertMyBeaconPrivateKey(epochCounter uint64, key crypto.PrivateKey) error
InsertMyBeaconPrivateKey provides a mock function for the type DKGState
func (*DKGState) IsDKGStarted ¶ added in v0.39.0
IsDKGStarted provides a mock function for the type DKGState
func (*DKGState) RetrieveMyBeaconPrivateKey ¶ added in v0.23.9
func (_mock *DKGState) RetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, bool, error)
RetrieveMyBeaconPrivateKey provides a mock function for the type DKGState
func (*DKGState) SetDKGState ¶ added in v0.39.0
SetDKGState provides a mock function for the type DKGState
func (*DKGState) UnsafeRetrieveMyBeaconPrivateKey ¶ added in v0.39.0
func (_mock *DKGState) UnsafeRetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, error)
UnsafeRetrieveMyBeaconPrivateKey provides a mock function for the type DKGState
type DKGStateReader ¶ added in v0.39.0
DKGStateReader is an autogenerated mock type for the DKGStateReader type
func NewDKGStateReader ¶ added in v0.39.0
func NewDKGStateReader(t interface {
mock.TestingT
Cleanup(func())
}) *DKGStateReader
NewDKGStateReader creates a new instance of DKGStateReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DKGStateReader) EXPECT ¶ added in v0.46.0
func (_m *DKGStateReader) EXPECT() *DKGStateReader_Expecter
func (*DKGStateReader) GetDKGState ¶ added in v0.39.0
func (_mock *DKGStateReader) GetDKGState(epochCounter uint64) (flow.DKGState, error)
GetDKGState provides a mock function for the type DKGStateReader
func (*DKGStateReader) IsDKGStarted ¶ added in v0.39.0
func (_mock *DKGStateReader) IsDKGStarted(epochCounter uint64) (bool, error)
IsDKGStarted provides a mock function for the type DKGStateReader
func (*DKGStateReader) RetrieveMyBeaconPrivateKey ¶ added in v0.39.0
func (_mock *DKGStateReader) RetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, bool, error)
RetrieveMyBeaconPrivateKey provides a mock function for the type DKGStateReader
func (*DKGStateReader) UnsafeRetrieveMyBeaconPrivateKey ¶ added in v0.39.0
func (_mock *DKGStateReader) UnsafeRetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, error)
UnsafeRetrieveMyBeaconPrivateKey provides a mock function for the type DKGStateReader
type DKGStateReader_Expecter ¶ added in v0.46.0
type DKGStateReader_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGStateReader_Expecter) GetDKGState ¶ added in v0.46.0
func (_e *DKGStateReader_Expecter) GetDKGState(epochCounter interface{}) *DKGStateReader_GetDKGState_Call
GetDKGState is a helper method to define mock.On call
- epochCounter uint64
func (*DKGStateReader_Expecter) IsDKGStarted ¶ added in v0.46.0
func (_e *DKGStateReader_Expecter) IsDKGStarted(epochCounter interface{}) *DKGStateReader_IsDKGStarted_Call
IsDKGStarted is a helper method to define mock.On call
- epochCounter uint64
func (*DKGStateReader_Expecter) RetrieveMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *DKGStateReader_Expecter) RetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
RetrieveMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
func (*DKGStateReader_Expecter) UnsafeRetrieveMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *DKGStateReader_Expecter) UnsafeRetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
UnsafeRetrieveMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
type DKGStateReader_GetDKGState_Call ¶ added in v0.46.0
DKGStateReader_GetDKGState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDKGState'
func (*DKGStateReader_GetDKGState_Call) Return ¶ added in v0.46.0
func (_c *DKGStateReader_GetDKGState_Call) Return(dKGState flow.DKGState, err error) *DKGStateReader_GetDKGState_Call
func (*DKGStateReader_GetDKGState_Call) Run ¶ added in v0.46.0
func (_c *DKGStateReader_GetDKGState_Call) Run(run func(epochCounter uint64)) *DKGStateReader_GetDKGState_Call
func (*DKGStateReader_GetDKGState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGStateReader_GetDKGState_Call) RunAndReturn(run func(epochCounter uint64) (flow.DKGState, error)) *DKGStateReader_GetDKGState_Call
type DKGStateReader_IsDKGStarted_Call ¶ added in v0.46.0
DKGStateReader_IsDKGStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDKGStarted'
func (*DKGStateReader_IsDKGStarted_Call) Return ¶ added in v0.46.0
func (_c *DKGStateReader_IsDKGStarted_Call) Return(b bool, err error) *DKGStateReader_IsDKGStarted_Call
func (*DKGStateReader_IsDKGStarted_Call) Run ¶ added in v0.46.0
func (_c *DKGStateReader_IsDKGStarted_Call) Run(run func(epochCounter uint64)) *DKGStateReader_IsDKGStarted_Call
func (*DKGStateReader_IsDKGStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGStateReader_IsDKGStarted_Call) RunAndReturn(run func(epochCounter uint64) (bool, error)) *DKGStateReader_IsDKGStarted_Call
type DKGStateReader_RetrieveMyBeaconPrivateKey_Call ¶ added in v0.46.0
DKGStateReader_RetrieveMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveMyBeaconPrivateKey'
func (*DKGStateReader_RetrieveMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *DKGStateReader_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
func (*DKGStateReader_RetrieveMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *DKGStateReader_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
func (*DKGStateReader_RetrieveMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGStateReader_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *DKGStateReader_RetrieveMyBeaconPrivateKey_Call
type DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call ¶ added in v0.46.0
DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsafeRetrieveMyBeaconPrivateKey'
func (*DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) Return(privateKey crypto.PrivateKey, err error) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
func (*DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
func (*DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, error)) *DKGStateReader_UnsafeRetrieveMyBeaconPrivateKey_Call
type DKGState_CommitMyBeaconPrivateKey_Call ¶ added in v0.46.0
DKGState_CommitMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommitMyBeaconPrivateKey'
func (*DKGState_CommitMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *DKGState_CommitMyBeaconPrivateKey_Call) Return(err error) *DKGState_CommitMyBeaconPrivateKey_Call
func (*DKGState_CommitMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *DKGState_CommitMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64, commit *flow.EpochCommit)) *DKGState_CommitMyBeaconPrivateKey_Call
func (*DKGState_CommitMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_CommitMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64, commit *flow.EpochCommit) error) *DKGState_CommitMyBeaconPrivateKey_Call
type DKGState_Expecter ¶ added in v0.46.0
type DKGState_Expecter struct {
// contains filtered or unexported fields
}
func (*DKGState_Expecter) CommitMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *DKGState_Expecter) CommitMyBeaconPrivateKey(epochCounter interface{}, commit interface{}) *DKGState_CommitMyBeaconPrivateKey_Call
CommitMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
- commit *flow.EpochCommit
func (*DKGState_Expecter) GetDKGState ¶ added in v0.46.0
func (_e *DKGState_Expecter) GetDKGState(epochCounter interface{}) *DKGState_GetDKGState_Call
GetDKGState is a helper method to define mock.On call
- epochCounter uint64
func (*DKGState_Expecter) InsertMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *DKGState_Expecter) InsertMyBeaconPrivateKey(epochCounter interface{}, key interface{}) *DKGState_InsertMyBeaconPrivateKey_Call
InsertMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
- key crypto.PrivateKey
func (*DKGState_Expecter) IsDKGStarted ¶ added in v0.46.0
func (_e *DKGState_Expecter) IsDKGStarted(epochCounter interface{}) *DKGState_IsDKGStarted_Call
IsDKGStarted is a helper method to define mock.On call
- epochCounter uint64
func (*DKGState_Expecter) RetrieveMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *DKGState_Expecter) RetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGState_RetrieveMyBeaconPrivateKey_Call
RetrieveMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
func (*DKGState_Expecter) SetDKGState ¶ added in v0.46.0
func (_e *DKGState_Expecter) SetDKGState(epochCounter interface{}, newState interface{}) *DKGState_SetDKGState_Call
SetDKGState is a helper method to define mock.On call
- epochCounter uint64
- newState flow.DKGState
func (*DKGState_Expecter) UnsafeRetrieveMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *DKGState_Expecter) UnsafeRetrieveMyBeaconPrivateKey(epochCounter interface{}) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
UnsafeRetrieveMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
type DKGState_GetDKGState_Call ¶ added in v0.46.0
DKGState_GetDKGState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDKGState'
func (*DKGState_GetDKGState_Call) Return ¶ added in v0.46.0
func (_c *DKGState_GetDKGState_Call) Return(dKGState flow.DKGState, err error) *DKGState_GetDKGState_Call
func (*DKGState_GetDKGState_Call) Run ¶ added in v0.46.0
func (_c *DKGState_GetDKGState_Call) Run(run func(epochCounter uint64)) *DKGState_GetDKGState_Call
func (*DKGState_GetDKGState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_GetDKGState_Call) RunAndReturn(run func(epochCounter uint64) (flow.DKGState, error)) *DKGState_GetDKGState_Call
type DKGState_InsertMyBeaconPrivateKey_Call ¶ added in v0.46.0
DKGState_InsertMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertMyBeaconPrivateKey'
func (*DKGState_InsertMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *DKGState_InsertMyBeaconPrivateKey_Call) Return(err error) *DKGState_InsertMyBeaconPrivateKey_Call
func (*DKGState_InsertMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *DKGState_InsertMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64, key crypto.PrivateKey)) *DKGState_InsertMyBeaconPrivateKey_Call
func (*DKGState_InsertMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_InsertMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64, key crypto.PrivateKey) error) *DKGState_InsertMyBeaconPrivateKey_Call
type DKGState_IsDKGStarted_Call ¶ added in v0.46.0
DKGState_IsDKGStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDKGStarted'
func (*DKGState_IsDKGStarted_Call) Return ¶ added in v0.46.0
func (_c *DKGState_IsDKGStarted_Call) Return(b bool, err error) *DKGState_IsDKGStarted_Call
func (*DKGState_IsDKGStarted_Call) Run ¶ added in v0.46.0
func (_c *DKGState_IsDKGStarted_Call) Run(run func(epochCounter uint64)) *DKGState_IsDKGStarted_Call
func (*DKGState_IsDKGStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_IsDKGStarted_Call) RunAndReturn(run func(epochCounter uint64) (bool, error)) *DKGState_IsDKGStarted_Call
type DKGState_RetrieveMyBeaconPrivateKey_Call ¶ added in v0.46.0
DKGState_RetrieveMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveMyBeaconPrivateKey'
func (*DKGState_RetrieveMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *DKGState_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *DKGState_RetrieveMyBeaconPrivateKey_Call
func (*DKGState_RetrieveMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *DKGState_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGState_RetrieveMyBeaconPrivateKey_Call
func (*DKGState_RetrieveMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *DKGState_RetrieveMyBeaconPrivateKey_Call
type DKGState_SetDKGState_Call ¶ added in v0.46.0
DKGState_SetDKGState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDKGState'
func (*DKGState_SetDKGState_Call) Return ¶ added in v0.46.0
func (_c *DKGState_SetDKGState_Call) Return(err error) *DKGState_SetDKGState_Call
func (*DKGState_SetDKGState_Call) Run ¶ added in v0.46.0
func (_c *DKGState_SetDKGState_Call) Run(run func(epochCounter uint64, newState flow.DKGState)) *DKGState_SetDKGState_Call
func (*DKGState_SetDKGState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_SetDKGState_Call) RunAndReturn(run func(epochCounter uint64, newState flow.DKGState) error) *DKGState_SetDKGState_Call
type DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call ¶ added in v0.46.0
DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsafeRetrieveMyBeaconPrivateKey'
func (*DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) Return(privateKey crypto.PrivateKey, err error) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
func (*DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
func (*DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, error)) *DKGState_UnsafeRetrieveMyBeaconPrivateKey_Call
type EpochCommits ¶
EpochCommits is an autogenerated mock type for the EpochCommits type
func NewEpochCommits ¶ added in v0.26.1
func NewEpochCommits(t interface {
mock.TestingT
Cleanup(func())
}) *EpochCommits
NewEpochCommits creates a new instance of EpochCommits. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EpochCommits) BatchStore ¶ added in v0.43.0
func (_mock *EpochCommits) BatchStore(rw storage.ReaderBatchWriter, commit *flow.EpochCommit) error
BatchStore provides a mock function for the type EpochCommits
func (*EpochCommits) ByID ¶
func (_mock *EpochCommits) ByID(identifier flow.Identifier) (*flow.EpochCommit, error)
ByID provides a mock function for the type EpochCommits
func (*EpochCommits) EXPECT ¶ added in v0.46.0
func (_m *EpochCommits) EXPECT() *EpochCommits_Expecter
type EpochCommits_BatchStore_Call ¶ added in v0.46.0
EpochCommits_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*EpochCommits_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *EpochCommits_BatchStore_Call) Return(err error) *EpochCommits_BatchStore_Call
func (*EpochCommits_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *EpochCommits_BatchStore_Call) Run(run func(rw storage.ReaderBatchWriter, commit *flow.EpochCommit)) *EpochCommits_BatchStore_Call
func (*EpochCommits_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochCommits_BatchStore_Call) RunAndReturn(run func(rw storage.ReaderBatchWriter, commit *flow.EpochCommit) error) *EpochCommits_BatchStore_Call
type EpochCommits_ByID_Call ¶ added in v0.46.0
EpochCommits_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*EpochCommits_ByID_Call) Return ¶ added in v0.46.0
func (_c *EpochCommits_ByID_Call) Return(epochCommit *flow.EpochCommit, err error) *EpochCommits_ByID_Call
func (*EpochCommits_ByID_Call) Run ¶ added in v0.46.0
func (_c *EpochCommits_ByID_Call) Run(run func(identifier flow.Identifier)) *EpochCommits_ByID_Call
func (*EpochCommits_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochCommits_ByID_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.EpochCommit, error)) *EpochCommits_ByID_Call
type EpochCommits_Expecter ¶ added in v0.46.0
type EpochCommits_Expecter struct {
// contains filtered or unexported fields
}
func (*EpochCommits_Expecter) BatchStore ¶ added in v0.46.0
func (_e *EpochCommits_Expecter) BatchStore(rw interface{}, commit interface{}) *EpochCommits_BatchStore_Call
BatchStore is a helper method to define mock.On call
- rw storage.ReaderBatchWriter
- commit *flow.EpochCommit
func (*EpochCommits_Expecter) ByID ¶ added in v0.46.0
func (_e *EpochCommits_Expecter) ByID(identifier interface{}) *EpochCommits_ByID_Call
ByID is a helper method to define mock.On call
- identifier flow.Identifier
type EpochProtocolStateEntries ¶ added in v0.33.30
EpochProtocolStateEntries is an autogenerated mock type for the EpochProtocolStateEntries type
func NewEpochProtocolStateEntries ¶ added in v0.33.30
func NewEpochProtocolStateEntries(t interface {
mock.TestingT
Cleanup(func())
}) *EpochProtocolStateEntries
NewEpochProtocolStateEntries creates a new instance of EpochProtocolStateEntries. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EpochProtocolStateEntries) BatchIndex ¶ added in v0.43.0
func (_mock *EpochProtocolStateEntries) BatchIndex(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, epochProtocolStateID flow.Identifier) error
BatchIndex provides a mock function for the type EpochProtocolStateEntries
func (*EpochProtocolStateEntries) BatchStore ¶ added in v0.43.0
func (_mock *EpochProtocolStateEntries) BatchStore(w storage.Writer, epochProtocolStateID flow.Identifier, epochProtocolStateEntry *flow.MinEpochStateEntry) error
BatchStore provides a mock function for the type EpochProtocolStateEntries
func (*EpochProtocolStateEntries) ByBlockID ¶ added in v0.33.30
func (_mock *EpochProtocolStateEntries) ByBlockID(blockID flow.Identifier) (*flow.RichEpochStateEntry, error)
ByBlockID provides a mock function for the type EpochProtocolStateEntries
func (*EpochProtocolStateEntries) ByID ¶ added in v0.33.30
func (_mock *EpochProtocolStateEntries) ByID(id flow.Identifier) (*flow.RichEpochStateEntry, error)
ByID provides a mock function for the type EpochProtocolStateEntries
func (*EpochProtocolStateEntries) EXPECT ¶ added in v0.46.0
func (_m *EpochProtocolStateEntries) EXPECT() *EpochProtocolStateEntries_Expecter
type EpochProtocolStateEntries_BatchIndex_Call ¶ added in v0.46.0
EpochProtocolStateEntries_BatchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchIndex'
func (*EpochProtocolStateEntries_BatchIndex_Call) Return ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_BatchIndex_Call) Return(err error) *EpochProtocolStateEntries_BatchIndex_Call
func (*EpochProtocolStateEntries_BatchIndex_Call) Run ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_BatchIndex_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, epochProtocolStateID flow.Identifier)) *EpochProtocolStateEntries_BatchIndex_Call
func (*EpochProtocolStateEntries_BatchIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_BatchIndex_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, epochProtocolStateID flow.Identifier) error) *EpochProtocolStateEntries_BatchIndex_Call
type EpochProtocolStateEntries_BatchStore_Call ¶ added in v0.46.0
EpochProtocolStateEntries_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*EpochProtocolStateEntries_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_BatchStore_Call) Return(err error) *EpochProtocolStateEntries_BatchStore_Call
func (*EpochProtocolStateEntries_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_BatchStore_Call) Run(run func(w storage.Writer, epochProtocolStateID flow.Identifier, epochProtocolStateEntry *flow.MinEpochStateEntry)) *EpochProtocolStateEntries_BatchStore_Call
func (*EpochProtocolStateEntries_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_BatchStore_Call) RunAndReturn(run func(w storage.Writer, epochProtocolStateID flow.Identifier, epochProtocolStateEntry *flow.MinEpochStateEntry) error) *EpochProtocolStateEntries_BatchStore_Call
type EpochProtocolStateEntries_ByBlockID_Call ¶ added in v0.46.0
EpochProtocolStateEntries_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*EpochProtocolStateEntries_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_ByBlockID_Call) Return(richEpochStateEntry *flow.RichEpochStateEntry, err error) *EpochProtocolStateEntries_ByBlockID_Call
func (*EpochProtocolStateEntries_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *EpochProtocolStateEntries_ByBlockID_Call
func (*EpochProtocolStateEntries_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.RichEpochStateEntry, error)) *EpochProtocolStateEntries_ByBlockID_Call
type EpochProtocolStateEntries_ByID_Call ¶ added in v0.46.0
EpochProtocolStateEntries_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*EpochProtocolStateEntries_ByID_Call) Return ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_ByID_Call) Return(richEpochStateEntry *flow.RichEpochStateEntry, err error) *EpochProtocolStateEntries_ByID_Call
func (*EpochProtocolStateEntries_ByID_Call) Run ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_ByID_Call) Run(run func(id flow.Identifier)) *EpochProtocolStateEntries_ByID_Call
func (*EpochProtocolStateEntries_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochProtocolStateEntries_ByID_Call) RunAndReturn(run func(id flow.Identifier) (*flow.RichEpochStateEntry, error)) *EpochProtocolStateEntries_ByID_Call
type EpochProtocolStateEntries_Expecter ¶ added in v0.46.0
type EpochProtocolStateEntries_Expecter struct {
// contains filtered or unexported fields
}
func (*EpochProtocolStateEntries_Expecter) BatchIndex ¶ added in v0.46.0
func (_e *EpochProtocolStateEntries_Expecter) BatchIndex(lctx interface{}, rw interface{}, blockID interface{}, epochProtocolStateID interface{}) *EpochProtocolStateEntries_BatchIndex_Call
BatchIndex is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- blockID flow.Identifier
- epochProtocolStateID flow.Identifier
func (*EpochProtocolStateEntries_Expecter) BatchStore ¶ added in v0.46.0
func (_e *EpochProtocolStateEntries_Expecter) BatchStore(w interface{}, epochProtocolStateID interface{}, epochProtocolStateEntry interface{}) *EpochProtocolStateEntries_BatchStore_Call
BatchStore is a helper method to define mock.On call
- w storage.Writer
- epochProtocolStateID flow.Identifier
- epochProtocolStateEntry *flow.MinEpochStateEntry
func (*EpochProtocolStateEntries_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *EpochProtocolStateEntries_Expecter) ByBlockID(blockID interface{}) *EpochProtocolStateEntries_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*EpochProtocolStateEntries_Expecter) ByID ¶ added in v0.46.0
func (_e *EpochProtocolStateEntries_Expecter) ByID(id interface{}) *EpochProtocolStateEntries_ByID_Call
ByID is a helper method to define mock.On call
- id flow.Identifier
type EpochRecoveryMyBeaconKey ¶ added in v0.39.0
EpochRecoveryMyBeaconKey is an autogenerated mock type for the EpochRecoveryMyBeaconKey type
func NewEpochRecoveryMyBeaconKey ¶ added in v0.39.0
func NewEpochRecoveryMyBeaconKey(t interface {
mock.TestingT
Cleanup(func())
}) *EpochRecoveryMyBeaconKey
NewEpochRecoveryMyBeaconKey creates a new instance of EpochRecoveryMyBeaconKey. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EpochRecoveryMyBeaconKey) EXPECT ¶ added in v0.46.0
func (_m *EpochRecoveryMyBeaconKey) EXPECT() *EpochRecoveryMyBeaconKey_Expecter
func (*EpochRecoveryMyBeaconKey) GetDKGState ¶ added in v0.39.0
func (_mock *EpochRecoveryMyBeaconKey) GetDKGState(epochCounter uint64) (flow.DKGState, error)
GetDKGState provides a mock function for the type EpochRecoveryMyBeaconKey
func (*EpochRecoveryMyBeaconKey) IsDKGStarted ¶ added in v0.39.0
func (_mock *EpochRecoveryMyBeaconKey) IsDKGStarted(epochCounter uint64) (bool, error)
IsDKGStarted provides a mock function for the type EpochRecoveryMyBeaconKey
func (*EpochRecoveryMyBeaconKey) RetrieveMyBeaconPrivateKey ¶ added in v0.39.0
func (_mock *EpochRecoveryMyBeaconKey) RetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, bool, error)
RetrieveMyBeaconPrivateKey provides a mock function for the type EpochRecoveryMyBeaconKey
func (*EpochRecoveryMyBeaconKey) UnsafeRetrieveMyBeaconPrivateKey ¶ added in v0.39.0
func (_mock *EpochRecoveryMyBeaconKey) UnsafeRetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, error)
UnsafeRetrieveMyBeaconPrivateKey provides a mock function for the type EpochRecoveryMyBeaconKey
func (*EpochRecoveryMyBeaconKey) UpsertMyBeaconPrivateKey ¶ added in v0.39.0
func (_mock *EpochRecoveryMyBeaconKey) UpsertMyBeaconPrivateKey(epochCounter uint64, key crypto.PrivateKey, commit *flow.EpochCommit) error
UpsertMyBeaconPrivateKey provides a mock function for the type EpochRecoveryMyBeaconKey
type EpochRecoveryMyBeaconKey_Expecter ¶ added in v0.46.0
type EpochRecoveryMyBeaconKey_Expecter struct {
// contains filtered or unexported fields
}
func (*EpochRecoveryMyBeaconKey_Expecter) GetDKGState ¶ added in v0.46.0
func (_e *EpochRecoveryMyBeaconKey_Expecter) GetDKGState(epochCounter interface{}) *EpochRecoveryMyBeaconKey_GetDKGState_Call
GetDKGState is a helper method to define mock.On call
- epochCounter uint64
func (*EpochRecoveryMyBeaconKey_Expecter) IsDKGStarted ¶ added in v0.46.0
func (_e *EpochRecoveryMyBeaconKey_Expecter) IsDKGStarted(epochCounter interface{}) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
IsDKGStarted is a helper method to define mock.On call
- epochCounter uint64
func (*EpochRecoveryMyBeaconKey_Expecter) RetrieveMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *EpochRecoveryMyBeaconKey_Expecter) RetrieveMyBeaconPrivateKey(epochCounter interface{}) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
RetrieveMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
func (*EpochRecoveryMyBeaconKey_Expecter) UnsafeRetrieveMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *EpochRecoveryMyBeaconKey_Expecter) UnsafeRetrieveMyBeaconPrivateKey(epochCounter interface{}) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
UnsafeRetrieveMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
func (*EpochRecoveryMyBeaconKey_Expecter) UpsertMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *EpochRecoveryMyBeaconKey_Expecter) UpsertMyBeaconPrivateKey(epochCounter interface{}, key interface{}, commit interface{}) *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
UpsertMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
- key crypto.PrivateKey
- commit *flow.EpochCommit
type EpochRecoveryMyBeaconKey_GetDKGState_Call ¶ added in v0.46.0
EpochRecoveryMyBeaconKey_GetDKGState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDKGState'
func (*EpochRecoveryMyBeaconKey_GetDKGState_Call) Return ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_GetDKGState_Call) Return(dKGState flow.DKGState, err error) *EpochRecoveryMyBeaconKey_GetDKGState_Call
func (*EpochRecoveryMyBeaconKey_GetDKGState_Call) Run ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_GetDKGState_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_GetDKGState_Call
func (*EpochRecoveryMyBeaconKey_GetDKGState_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_GetDKGState_Call) RunAndReturn(run func(epochCounter uint64) (flow.DKGState, error)) *EpochRecoveryMyBeaconKey_GetDKGState_Call
type EpochRecoveryMyBeaconKey_IsDKGStarted_Call ¶ added in v0.46.0
EpochRecoveryMyBeaconKey_IsDKGStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDKGStarted'
func (*EpochRecoveryMyBeaconKey_IsDKGStarted_Call) Return ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_IsDKGStarted_Call) Return(b bool, err error) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
func (*EpochRecoveryMyBeaconKey_IsDKGStarted_Call) Run ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_IsDKGStarted_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
func (*EpochRecoveryMyBeaconKey_IsDKGStarted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_IsDKGStarted_Call) RunAndReturn(run func(epochCounter uint64) (bool, error)) *EpochRecoveryMyBeaconKey_IsDKGStarted_Call
type EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call ¶ added in v0.46.0
EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveMyBeaconPrivateKey'
func (*EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
func (*EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
func (*EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *EpochRecoveryMyBeaconKey_RetrieveMyBeaconPrivateKey_Call
type EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call ¶ added in v0.46.0
EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsafeRetrieveMyBeaconPrivateKey'
func (*EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) Return(privateKey crypto.PrivateKey, err error) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
func (*EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
func (*EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, error)) *EpochRecoveryMyBeaconKey_UnsafeRetrieveMyBeaconPrivateKey_Call
type EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call ¶ added in v0.46.0
EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertMyBeaconPrivateKey'
func (*EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64, key crypto.PrivateKey, commit *flow.EpochCommit)) *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
func (*EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64, key crypto.PrivateKey, commit *flow.EpochCommit) error) *EpochRecoveryMyBeaconKey_UpsertMyBeaconPrivateKey_Call
type EpochSetups ¶
EpochSetups is an autogenerated mock type for the EpochSetups type
func NewEpochSetups ¶ added in v0.26.1
func NewEpochSetups(t interface {
mock.TestingT
Cleanup(func())
}) *EpochSetups
NewEpochSetups creates a new instance of EpochSetups. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EpochSetups) BatchStore ¶ added in v0.43.0
func (_mock *EpochSetups) BatchStore(rw storage.ReaderBatchWriter, setup *flow.EpochSetup) error
BatchStore provides a mock function for the type EpochSetups
func (*EpochSetups) ByID ¶
func (_mock *EpochSetups) ByID(identifier flow.Identifier) (*flow.EpochSetup, error)
ByID provides a mock function for the type EpochSetups
func (*EpochSetups) EXPECT ¶ added in v0.46.0
func (_m *EpochSetups) EXPECT() *EpochSetups_Expecter
type EpochSetups_BatchStore_Call ¶ added in v0.46.0
EpochSetups_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*EpochSetups_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *EpochSetups_BatchStore_Call) Return(err error) *EpochSetups_BatchStore_Call
func (*EpochSetups_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *EpochSetups_BatchStore_Call) Run(run func(rw storage.ReaderBatchWriter, setup *flow.EpochSetup)) *EpochSetups_BatchStore_Call
func (*EpochSetups_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochSetups_BatchStore_Call) RunAndReturn(run func(rw storage.ReaderBatchWriter, setup *flow.EpochSetup) error) *EpochSetups_BatchStore_Call
type EpochSetups_ByID_Call ¶ added in v0.46.0
EpochSetups_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*EpochSetups_ByID_Call) Return ¶ added in v0.46.0
func (_c *EpochSetups_ByID_Call) Return(epochSetup *flow.EpochSetup, err error) *EpochSetups_ByID_Call
func (*EpochSetups_ByID_Call) Run ¶ added in v0.46.0
func (_c *EpochSetups_ByID_Call) Run(run func(identifier flow.Identifier)) *EpochSetups_ByID_Call
func (*EpochSetups_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EpochSetups_ByID_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.EpochSetup, error)) *EpochSetups_ByID_Call
type EpochSetups_Expecter ¶ added in v0.46.0
type EpochSetups_Expecter struct {
// contains filtered or unexported fields
}
func (*EpochSetups_Expecter) BatchStore ¶ added in v0.46.0
func (_e *EpochSetups_Expecter) BatchStore(rw interface{}, setup interface{}) *EpochSetups_BatchStore_Call
BatchStore is a helper method to define mock.On call
- rw storage.ReaderBatchWriter
- setup *flow.EpochSetup
func (*EpochSetups_Expecter) ByID ¶ added in v0.46.0
func (_e *EpochSetups_Expecter) ByID(identifier interface{}) *EpochSetups_ByID_Call
ByID is a helper method to define mock.On call
- identifier flow.Identifier
type Events ¶
Events is an autogenerated mock type for the Events type
func NewEvents ¶ added in v0.26.1
NewEvents creates a new instance of Events. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Events) BatchRemoveByBlockID ¶ added in v0.30.0
func (_mock *Events) BatchRemoveByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
BatchRemoveByBlockID provides a mock function for the type Events
func (*Events) BatchStore ¶ added in v0.15.0
func (_mock *Events) BatchStore(lctx lockctx.Proof, blockID flow.Identifier, events []flow.EventsList, batch storage.ReaderBatchWriter) error
BatchStore provides a mock function for the type Events
func (*Events) ByBlockIDEventType ¶
func (_mock *Events) ByBlockIDEventType(blockID flow.Identifier, eventType flow.EventType) ([]flow.Event, error)
ByBlockIDEventType provides a mock function for the type Events
func (*Events) ByBlockIDTransactionID ¶
func (_mock *Events) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) ([]flow.Event, error)
ByBlockIDTransactionID provides a mock function for the type Events
func (*Events) ByBlockIDTransactionIndex ¶ added in v0.24.8
func (_mock *Events) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)
ByBlockIDTransactionIndex provides a mock function for the type Events
func (*Events) EXPECT ¶ added in v0.46.0
func (_m *Events) EXPECT() *Events_Expecter
type EventsReader ¶ added in v0.41.0
EventsReader is an autogenerated mock type for the EventsReader type
func NewEventsReader ¶ added in v0.41.0
func NewEventsReader(t interface {
mock.TestingT
Cleanup(func())
}) *EventsReader
NewEventsReader creates a new instance of EventsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EventsReader) ByBlockID ¶ added in v0.41.0
func (_mock *EventsReader) ByBlockID(blockID flow.Identifier) ([]flow.Event, error)
ByBlockID provides a mock function for the type EventsReader
func (*EventsReader) ByBlockIDEventType ¶ added in v0.41.0
func (_mock *EventsReader) ByBlockIDEventType(blockID flow.Identifier, eventType flow.EventType) ([]flow.Event, error)
ByBlockIDEventType provides a mock function for the type EventsReader
func (*EventsReader) ByBlockIDTransactionID ¶ added in v0.41.0
func (_mock *EventsReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) ([]flow.Event, error)
ByBlockIDTransactionID provides a mock function for the type EventsReader
func (*EventsReader) ByBlockIDTransactionIndex ¶ added in v0.41.0
func (_mock *EventsReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)
ByBlockIDTransactionIndex provides a mock function for the type EventsReader
func (*EventsReader) EXPECT ¶ added in v0.46.0
func (_m *EventsReader) EXPECT() *EventsReader_Expecter
type EventsReader_ByBlockIDEventType_Call ¶ added in v0.46.0
EventsReader_ByBlockIDEventType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDEventType'
func (*EventsReader_ByBlockIDEventType_Call) Return ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDEventType_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockIDEventType_Call
func (*EventsReader_ByBlockIDEventType_Call) Run ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDEventType_Call) Run(run func(blockID flow.Identifier, eventType flow.EventType)) *EventsReader_ByBlockIDEventType_Call
func (*EventsReader_ByBlockIDEventType_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDEventType_Call) RunAndReturn(run func(blockID flow.Identifier, eventType flow.EventType) ([]flow.Event, error)) *EventsReader_ByBlockIDEventType_Call
type EventsReader_ByBlockIDTransactionID_Call ¶ added in v0.46.0
EventsReader_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*EventsReader_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDTransactionID_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockIDTransactionID_Call
func (*EventsReader_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *EventsReader_ByBlockIDTransactionID_Call
func (*EventsReader_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) ([]flow.Event, error)) *EventsReader_ByBlockIDTransactionID_Call
type EventsReader_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
EventsReader_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*EventsReader_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDTransactionIndex_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockIDTransactionIndex_Call
func (*EventsReader_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *EventsReader_ByBlockIDTransactionIndex_Call
func (*EventsReader_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventsReader_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)) *EventsReader_ByBlockIDTransactionIndex_Call
type EventsReader_ByBlockID_Call ¶ added in v0.46.0
EventsReader_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*EventsReader_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *EventsReader_ByBlockID_Call) Return(events []flow.Event, err error) *EventsReader_ByBlockID_Call
func (*EventsReader_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *EventsReader_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *EventsReader_ByBlockID_Call
func (*EventsReader_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventsReader_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) ([]flow.Event, error)) *EventsReader_ByBlockID_Call
type EventsReader_Expecter ¶ added in v0.46.0
type EventsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*EventsReader_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *EventsReader_Expecter) ByBlockID(blockID interface{}) *EventsReader_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*EventsReader_Expecter) ByBlockIDEventType ¶ added in v0.46.0
func (_e *EventsReader_Expecter) ByBlockIDEventType(blockID interface{}, eventType interface{}) *EventsReader_ByBlockIDEventType_Call
ByBlockIDEventType is a helper method to define mock.On call
- blockID flow.Identifier
- eventType flow.EventType
func (*EventsReader_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *EventsReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *EventsReader_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*EventsReader_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *EventsReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *EventsReader_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
type Events_BatchRemoveByBlockID_Call ¶ added in v0.46.0
Events_BatchRemoveByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemoveByBlockID'
func (*Events_BatchRemoveByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Events_BatchRemoveByBlockID_Call) Return(err error) *Events_BatchRemoveByBlockID_Call
func (*Events_BatchRemoveByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Events_BatchRemoveByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *Events_BatchRemoveByBlockID_Call
func (*Events_BatchRemoveByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Events_BatchRemoveByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *Events_BatchRemoveByBlockID_Call
type Events_BatchStore_Call ¶ added in v0.46.0
Events_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*Events_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *Events_BatchStore_Call) Return(err error) *Events_BatchStore_Call
func (*Events_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *Events_BatchStore_Call) Run(run func(lctx lockctx.Proof, blockID flow.Identifier, events []flow.EventsList, batch storage.ReaderBatchWriter)) *Events_BatchStore_Call
func (*Events_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Events_BatchStore_Call) RunAndReturn(run func(lctx lockctx.Proof, blockID flow.Identifier, events []flow.EventsList, batch storage.ReaderBatchWriter) error) *Events_BatchStore_Call
type Events_ByBlockIDEventType_Call ¶ added in v0.46.0
Events_ByBlockIDEventType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDEventType'
func (*Events_ByBlockIDEventType_Call) Return ¶ added in v0.46.0
func (_c *Events_ByBlockIDEventType_Call) Return(events []flow.Event, err error) *Events_ByBlockIDEventType_Call
func (*Events_ByBlockIDEventType_Call) Run ¶ added in v0.46.0
func (_c *Events_ByBlockIDEventType_Call) Run(run func(blockID flow.Identifier, eventType flow.EventType)) *Events_ByBlockIDEventType_Call
func (*Events_ByBlockIDEventType_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Events_ByBlockIDEventType_Call) RunAndReturn(run func(blockID flow.Identifier, eventType flow.EventType) ([]flow.Event, error)) *Events_ByBlockIDEventType_Call
type Events_ByBlockIDTransactionID_Call ¶ added in v0.46.0
Events_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*Events_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *Events_ByBlockIDTransactionID_Call) Return(events []flow.Event, err error) *Events_ByBlockIDTransactionID_Call
func (*Events_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *Events_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *Events_ByBlockIDTransactionID_Call
func (*Events_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Events_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) ([]flow.Event, error)) *Events_ByBlockIDTransactionID_Call
type Events_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
Events_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*Events_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *Events_ByBlockIDTransactionIndex_Call) Return(events []flow.Event, err error) *Events_ByBlockIDTransactionIndex_Call
func (*Events_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *Events_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *Events_ByBlockIDTransactionIndex_Call
func (*Events_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Events_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) ([]flow.Event, error)) *Events_ByBlockIDTransactionIndex_Call
type Events_ByBlockID_Call ¶ added in v0.46.0
Events_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*Events_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Events_ByBlockID_Call) Return(events []flow.Event, err error) *Events_ByBlockID_Call
func (*Events_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Events_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Events_ByBlockID_Call
func (*Events_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Events_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) ([]flow.Event, error)) *Events_ByBlockID_Call
type Events_Expecter ¶ added in v0.46.0
type Events_Expecter struct {
// contains filtered or unexported fields
}
func (*Events_Expecter) BatchRemoveByBlockID ¶ added in v0.46.0
func (_e *Events_Expecter) BatchRemoveByBlockID(blockID interface{}, batch interface{}) *Events_BatchRemoveByBlockID_Call
BatchRemoveByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
- batch storage.ReaderBatchWriter
func (*Events_Expecter) BatchStore ¶ added in v0.46.0
func (_e *Events_Expecter) BatchStore(lctx interface{}, blockID interface{}, events interface{}, batch interface{}) *Events_BatchStore_Call
BatchStore is a helper method to define mock.On call
- lctx lockctx.Proof
- blockID flow.Identifier
- events []flow.EventsList
- batch storage.ReaderBatchWriter
func (*Events_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *Events_Expecter) ByBlockID(blockID interface{}) *Events_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*Events_Expecter) ByBlockIDEventType ¶ added in v0.46.0
func (_e *Events_Expecter) ByBlockIDEventType(blockID interface{}, eventType interface{}) *Events_ByBlockIDEventType_Call
ByBlockIDEventType is a helper method to define mock.On call
- blockID flow.Identifier
- eventType flow.EventType
func (*Events_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *Events_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *Events_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*Events_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *Events_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *Events_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
type ExecutionForkEvidence ¶ added in v0.43.0
ExecutionForkEvidence is an autogenerated mock type for the ExecutionForkEvidence type
func NewExecutionForkEvidence ¶ added in v0.43.0
func NewExecutionForkEvidence(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionForkEvidence
NewExecutionForkEvidence creates a new instance of ExecutionForkEvidence. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ExecutionForkEvidence) EXPECT ¶ added in v0.46.0
func (_m *ExecutionForkEvidence) EXPECT() *ExecutionForkEvidence_Expecter
func (*ExecutionForkEvidence) Retrieve ¶ added in v0.43.0
func (_mock *ExecutionForkEvidence) Retrieve() ([]*flow.IncorporatedResultSeal, error)
Retrieve provides a mock function for the type ExecutionForkEvidence
func (*ExecutionForkEvidence) StoreIfNotExists ¶ added in v0.43.0
func (_mock *ExecutionForkEvidence) StoreIfNotExists(lctx lockctx.Proof, conflictingSeals []*flow.IncorporatedResultSeal) error
StoreIfNotExists provides a mock function for the type ExecutionForkEvidence
type ExecutionForkEvidence_Expecter ¶ added in v0.46.0
type ExecutionForkEvidence_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionForkEvidence_Expecter) Retrieve ¶ added in v0.46.0
func (_e *ExecutionForkEvidence_Expecter) Retrieve() *ExecutionForkEvidence_Retrieve_Call
Retrieve is a helper method to define mock.On call
func (*ExecutionForkEvidence_Expecter) StoreIfNotExists ¶ added in v0.46.0
func (_e *ExecutionForkEvidence_Expecter) StoreIfNotExists(lctx interface{}, conflictingSeals interface{}) *ExecutionForkEvidence_StoreIfNotExists_Call
StoreIfNotExists is a helper method to define mock.On call
- lctx lockctx.Proof
- conflictingSeals []*flow.IncorporatedResultSeal
type ExecutionForkEvidence_Retrieve_Call ¶ added in v0.46.0
ExecutionForkEvidence_Retrieve_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Retrieve'
func (*ExecutionForkEvidence_Retrieve_Call) Return ¶ added in v0.46.0
func (_c *ExecutionForkEvidence_Retrieve_Call) Return(incorporatedResultSeals []*flow.IncorporatedResultSeal, err error) *ExecutionForkEvidence_Retrieve_Call
func (*ExecutionForkEvidence_Retrieve_Call) Run ¶ added in v0.46.0
func (_c *ExecutionForkEvidence_Retrieve_Call) Run(run func()) *ExecutionForkEvidence_Retrieve_Call
func (*ExecutionForkEvidence_Retrieve_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionForkEvidence_Retrieve_Call) RunAndReturn(run func() ([]*flow.IncorporatedResultSeal, error)) *ExecutionForkEvidence_Retrieve_Call
type ExecutionForkEvidence_StoreIfNotExists_Call ¶ added in v0.46.0
ExecutionForkEvidence_StoreIfNotExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreIfNotExists'
func (*ExecutionForkEvidence_StoreIfNotExists_Call) Return ¶ added in v0.46.0
func (_c *ExecutionForkEvidence_StoreIfNotExists_Call) Return(err error) *ExecutionForkEvidence_StoreIfNotExists_Call
func (*ExecutionForkEvidence_StoreIfNotExists_Call) Run ¶ added in v0.46.0
func (_c *ExecutionForkEvidence_StoreIfNotExists_Call) Run(run func(lctx lockctx.Proof, conflictingSeals []*flow.IncorporatedResultSeal)) *ExecutionForkEvidence_StoreIfNotExists_Call
func (*ExecutionForkEvidence_StoreIfNotExists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionForkEvidence_StoreIfNotExists_Call) RunAndReturn(run func(lctx lockctx.Proof, conflictingSeals []*flow.IncorporatedResultSeal) error) *ExecutionForkEvidence_StoreIfNotExists_Call
type ExecutionReceipts ¶
ExecutionReceipts is an autogenerated mock type for the ExecutionReceipts type
func NewExecutionReceipts ¶ added in v0.26.1
func NewExecutionReceipts(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionReceipts
NewExecutionReceipts creates a new instance of ExecutionReceipts. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ExecutionReceipts) BatchStore ¶ added in v0.15.1
func (_mock *ExecutionReceipts) BatchStore(receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter) error
BatchStore provides a mock function for the type ExecutionReceipts
func (*ExecutionReceipts) ByBlockID ¶
func (_mock *ExecutionReceipts) ByBlockID(blockID flow.Identifier) (flow.ExecutionReceiptList, error)
ByBlockID provides a mock function for the type ExecutionReceipts
func (*ExecutionReceipts) ByID ¶
func (_mock *ExecutionReceipts) ByID(receiptID flow.Identifier) (*flow.ExecutionReceipt, error)
ByID provides a mock function for the type ExecutionReceipts
func (*ExecutionReceipts) EXPECT ¶ added in v0.46.0
func (_m *ExecutionReceipts) EXPECT() *ExecutionReceipts_Expecter
func (*ExecutionReceipts) Store ¶
func (_mock *ExecutionReceipts) Store(receipt *flow.ExecutionReceipt) error
Store provides a mock function for the type ExecutionReceipts
type ExecutionReceipts_BatchStore_Call ¶ added in v0.46.0
ExecutionReceipts_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*ExecutionReceipts_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *ExecutionReceipts_BatchStore_Call) Return(err error) *ExecutionReceipts_BatchStore_Call
func (*ExecutionReceipts_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *ExecutionReceipts_BatchStore_Call) Run(run func(receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter)) *ExecutionReceipts_BatchStore_Call
func (*ExecutionReceipts_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionReceipts_BatchStore_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter) error) *ExecutionReceipts_BatchStore_Call
type ExecutionReceipts_ByBlockID_Call ¶ added in v0.46.0
ExecutionReceipts_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*ExecutionReceipts_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionReceipts_ByBlockID_Call) Return(executionReceiptList flow.ExecutionReceiptList, err error) *ExecutionReceipts_ByBlockID_Call
func (*ExecutionReceipts_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionReceipts_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionReceipts_ByBlockID_Call
func (*ExecutionReceipts_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionReceipts_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.ExecutionReceiptList, error)) *ExecutionReceipts_ByBlockID_Call
type ExecutionReceipts_ByID_Call ¶ added in v0.46.0
ExecutionReceipts_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*ExecutionReceipts_ByID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionReceipts_ByID_Call) Return(executionReceipt *flow.ExecutionReceipt, err error) *ExecutionReceipts_ByID_Call
func (*ExecutionReceipts_ByID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionReceipts_ByID_Call) Run(run func(receiptID flow.Identifier)) *ExecutionReceipts_ByID_Call
func (*ExecutionReceipts_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionReceipts_ByID_Call) RunAndReturn(run func(receiptID flow.Identifier) (*flow.ExecutionReceipt, error)) *ExecutionReceipts_ByID_Call
type ExecutionReceipts_Expecter ¶ added in v0.46.0
type ExecutionReceipts_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionReceipts_Expecter) BatchStore ¶ added in v0.46.0
func (_e *ExecutionReceipts_Expecter) BatchStore(receipt interface{}, batch interface{}) *ExecutionReceipts_BatchStore_Call
BatchStore is a helper method to define mock.On call
- receipt *flow.ExecutionReceipt
- batch storage.ReaderBatchWriter
func (*ExecutionReceipts_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *ExecutionReceipts_Expecter) ByBlockID(blockID interface{}) *ExecutionReceipts_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*ExecutionReceipts_Expecter) ByID ¶ added in v0.46.0
func (_e *ExecutionReceipts_Expecter) ByID(receiptID interface{}) *ExecutionReceipts_ByID_Call
ByID is a helper method to define mock.On call
- receiptID flow.Identifier
func (*ExecutionReceipts_Expecter) Store ¶ added in v0.46.0
func (_e *ExecutionReceipts_Expecter) Store(receipt interface{}) *ExecutionReceipts_Store_Call
Store is a helper method to define mock.On call
- receipt *flow.ExecutionReceipt
type ExecutionReceipts_Store_Call ¶ added in v0.46.0
ExecutionReceipts_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*ExecutionReceipts_Store_Call) Return ¶ added in v0.46.0
func (_c *ExecutionReceipts_Store_Call) Return(err error) *ExecutionReceipts_Store_Call
func (*ExecutionReceipts_Store_Call) Run ¶ added in v0.46.0
func (_c *ExecutionReceipts_Store_Call) Run(run func(receipt *flow.ExecutionReceipt)) *ExecutionReceipts_Store_Call
func (*ExecutionReceipts_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionReceipts_Store_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) error) *ExecutionReceipts_Store_Call
type ExecutionResults ¶
ExecutionResults is an autogenerated mock type for the ExecutionResults type
func NewExecutionResults ¶ added in v0.26.1
func NewExecutionResults(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionResults
NewExecutionResults creates a new instance of ExecutionResults. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ExecutionResults) BatchIndex ¶ added in v0.15.0
func (_mock *ExecutionResults) BatchIndex(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, resultID flow.Identifier) error
BatchIndex provides a mock function for the type ExecutionResults
func (*ExecutionResults) BatchRemoveIndexByBlockID ¶ added in v0.30.0
func (_mock *ExecutionResults) BatchRemoveIndexByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
BatchRemoveIndexByBlockID provides a mock function for the type ExecutionResults
func (*ExecutionResults) BatchStore ¶ added in v0.15.0
func (_mock *ExecutionResults) BatchStore(result *flow.ExecutionResult, batch storage.ReaderBatchWriter) error
BatchStore provides a mock function for the type ExecutionResults
func (*ExecutionResults) ByBlockID ¶
func (_mock *ExecutionResults) ByBlockID(blockID flow.Identifier) (*flow.ExecutionResult, error)
ByBlockID provides a mock function for the type ExecutionResults
func (*ExecutionResults) ByID ¶
func (_mock *ExecutionResults) ByID(resultID flow.Identifier) (*flow.ExecutionResult, error)
ByID provides a mock function for the type ExecutionResults
func (*ExecutionResults) EXPECT ¶ added in v0.46.0
func (_m *ExecutionResults) EXPECT() *ExecutionResults_Expecter
func (*ExecutionResults) IDByBlockID ¶ added in v0.45.0
func (_mock *ExecutionResults) IDByBlockID(blockID flow.Identifier) (flow.Identifier, error)
IDByBlockID provides a mock function for the type ExecutionResults
type ExecutionResultsReader ¶ added in v0.41.0
ExecutionResultsReader is an autogenerated mock type for the ExecutionResultsReader type
func NewExecutionResultsReader ¶ added in v0.41.0
func NewExecutionResultsReader(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionResultsReader
NewExecutionResultsReader creates a new instance of ExecutionResultsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ExecutionResultsReader) ByBlockID ¶ added in v0.41.0
func (_mock *ExecutionResultsReader) ByBlockID(blockID flow.Identifier) (*flow.ExecutionResult, error)
ByBlockID provides a mock function for the type ExecutionResultsReader
func (*ExecutionResultsReader) ByID ¶ added in v0.41.0
func (_mock *ExecutionResultsReader) ByID(resultID flow.Identifier) (*flow.ExecutionResult, error)
ByID provides a mock function for the type ExecutionResultsReader
func (*ExecutionResultsReader) EXPECT ¶ added in v0.46.0
func (_m *ExecutionResultsReader) EXPECT() *ExecutionResultsReader_Expecter
func (*ExecutionResultsReader) IDByBlockID ¶ added in v0.45.0
func (_mock *ExecutionResultsReader) IDByBlockID(blockID flow.Identifier) (flow.Identifier, error)
IDByBlockID provides a mock function for the type ExecutionResultsReader
type ExecutionResultsReader_ByBlockID_Call ¶ added in v0.46.0
ExecutionResultsReader_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*ExecutionResultsReader_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResultsReader_ByBlockID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResultsReader_ByBlockID_Call
func (*ExecutionResultsReader_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResultsReader_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResultsReader_ByBlockID_Call
func (*ExecutionResultsReader_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResultsReader_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResultsReader_ByBlockID_Call
type ExecutionResultsReader_ByID_Call ¶ added in v0.46.0
ExecutionResultsReader_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*ExecutionResultsReader_ByID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResultsReader_ByID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResultsReader_ByID_Call
func (*ExecutionResultsReader_ByID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResultsReader_ByID_Call) Run(run func(resultID flow.Identifier)) *ExecutionResultsReader_ByID_Call
func (*ExecutionResultsReader_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResultsReader_ByID_Call) RunAndReturn(run func(resultID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResultsReader_ByID_Call
type ExecutionResultsReader_Expecter ¶ added in v0.46.0
type ExecutionResultsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionResultsReader_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *ExecutionResultsReader_Expecter) ByBlockID(blockID interface{}) *ExecutionResultsReader_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*ExecutionResultsReader_Expecter) ByID ¶ added in v0.46.0
func (_e *ExecutionResultsReader_Expecter) ByID(resultID interface{}) *ExecutionResultsReader_ByID_Call
ByID is a helper method to define mock.On call
- resultID flow.Identifier
func (*ExecutionResultsReader_Expecter) IDByBlockID ¶ added in v0.46.0
func (_e *ExecutionResultsReader_Expecter) IDByBlockID(blockID interface{}) *ExecutionResultsReader_IDByBlockID_Call
IDByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type ExecutionResultsReader_IDByBlockID_Call ¶ added in v0.46.0
ExecutionResultsReader_IDByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IDByBlockID'
func (*ExecutionResultsReader_IDByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResultsReader_IDByBlockID_Call) Return(identifier flow.Identifier, err error) *ExecutionResultsReader_IDByBlockID_Call
func (*ExecutionResultsReader_IDByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResultsReader_IDByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResultsReader_IDByBlockID_Call
func (*ExecutionResultsReader_IDByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResultsReader_IDByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Identifier, error)) *ExecutionResultsReader_IDByBlockID_Call
type ExecutionResults_BatchIndex_Call ¶ added in v0.46.0
ExecutionResults_BatchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchIndex'
func (*ExecutionResults_BatchIndex_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResults_BatchIndex_Call) Return(err error) *ExecutionResults_BatchIndex_Call
func (*ExecutionResults_BatchIndex_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResults_BatchIndex_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, resultID flow.Identifier)) *ExecutionResults_BatchIndex_Call
func (*ExecutionResults_BatchIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResults_BatchIndex_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, resultID flow.Identifier) error) *ExecutionResults_BatchIndex_Call
type ExecutionResults_BatchRemoveIndexByBlockID_Call ¶ added in v0.46.0
ExecutionResults_BatchRemoveIndexByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemoveIndexByBlockID'
func (*ExecutionResults_BatchRemoveIndexByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResults_BatchRemoveIndexByBlockID_Call) Return(err error) *ExecutionResults_BatchRemoveIndexByBlockID_Call
func (*ExecutionResults_BatchRemoveIndexByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResults_BatchRemoveIndexByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *ExecutionResults_BatchRemoveIndexByBlockID_Call
func (*ExecutionResults_BatchRemoveIndexByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResults_BatchRemoveIndexByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *ExecutionResults_BatchRemoveIndexByBlockID_Call
type ExecutionResults_BatchStore_Call ¶ added in v0.46.0
ExecutionResults_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*ExecutionResults_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResults_BatchStore_Call) Return(err error) *ExecutionResults_BatchStore_Call
func (*ExecutionResults_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResults_BatchStore_Call) Run(run func(result *flow.ExecutionResult, batch storage.ReaderBatchWriter)) *ExecutionResults_BatchStore_Call
func (*ExecutionResults_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResults_BatchStore_Call) RunAndReturn(run func(result *flow.ExecutionResult, batch storage.ReaderBatchWriter) error) *ExecutionResults_BatchStore_Call
type ExecutionResults_ByBlockID_Call ¶ added in v0.46.0
ExecutionResults_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*ExecutionResults_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResults_ByBlockID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResults_ByBlockID_Call
func (*ExecutionResults_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResults_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResults_ByBlockID_Call
func (*ExecutionResults_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResults_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResults_ByBlockID_Call
type ExecutionResults_ByID_Call ¶ added in v0.46.0
ExecutionResults_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*ExecutionResults_ByID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResults_ByID_Call) Return(executionResult *flow.ExecutionResult, err error) *ExecutionResults_ByID_Call
func (*ExecutionResults_ByID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResults_ByID_Call) Run(run func(resultID flow.Identifier)) *ExecutionResults_ByID_Call
func (*ExecutionResults_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResults_ByID_Call) RunAndReturn(run func(resultID flow.Identifier) (*flow.ExecutionResult, error)) *ExecutionResults_ByID_Call
type ExecutionResults_Expecter ¶ added in v0.46.0
type ExecutionResults_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionResults_Expecter) BatchIndex ¶ added in v0.46.0
func (_e *ExecutionResults_Expecter) BatchIndex(lctx interface{}, rw interface{}, blockID interface{}, resultID interface{}) *ExecutionResults_BatchIndex_Call
BatchIndex is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- blockID flow.Identifier
- resultID flow.Identifier
func (*ExecutionResults_Expecter) BatchRemoveIndexByBlockID ¶ added in v0.46.0
func (_e *ExecutionResults_Expecter) BatchRemoveIndexByBlockID(blockID interface{}, batch interface{}) *ExecutionResults_BatchRemoveIndexByBlockID_Call
BatchRemoveIndexByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
- batch storage.ReaderBatchWriter
func (*ExecutionResults_Expecter) BatchStore ¶ added in v0.46.0
func (_e *ExecutionResults_Expecter) BatchStore(result interface{}, batch interface{}) *ExecutionResults_BatchStore_Call
BatchStore is a helper method to define mock.On call
- result *flow.ExecutionResult
- batch storage.ReaderBatchWriter
func (*ExecutionResults_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *ExecutionResults_Expecter) ByBlockID(blockID interface{}) *ExecutionResults_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*ExecutionResults_Expecter) ByID ¶ added in v0.46.0
func (_e *ExecutionResults_Expecter) ByID(resultID interface{}) *ExecutionResults_ByID_Call
ByID is a helper method to define mock.On call
- resultID flow.Identifier
func (*ExecutionResults_Expecter) IDByBlockID ¶ added in v0.46.0
func (_e *ExecutionResults_Expecter) IDByBlockID(blockID interface{}) *ExecutionResults_IDByBlockID_Call
IDByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type ExecutionResults_IDByBlockID_Call ¶ added in v0.46.0
ExecutionResults_IDByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IDByBlockID'
func (*ExecutionResults_IDByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionResults_IDByBlockID_Call) Return(identifier flow.Identifier, err error) *ExecutionResults_IDByBlockID_Call
func (*ExecutionResults_IDByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionResults_IDByBlockID_Call) Run(run func(blockID flow.Identifier)) *ExecutionResults_IDByBlockID_Call
func (*ExecutionResults_IDByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionResults_IDByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Identifier, error)) *ExecutionResults_IDByBlockID_Call
type Guarantees ¶
Guarantees is an autogenerated mock type for the Guarantees type
func NewGuarantees ¶ added in v0.26.1
func NewGuarantees(t interface {
mock.TestingT
Cleanup(func())
}) *Guarantees
NewGuarantees creates a new instance of Guarantees. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Guarantees) ByCollectionID ¶
func (_mock *Guarantees) ByCollectionID(collID flow.Identifier) (*flow.CollectionGuarantee, error)
ByCollectionID provides a mock function for the type Guarantees
func (*Guarantees) ByID ¶ added in v0.43.0
func (_mock *Guarantees) ByID(guaranteeID flow.Identifier) (*flow.CollectionGuarantee, error)
ByID provides a mock function for the type Guarantees
func (*Guarantees) EXPECT ¶ added in v0.46.0
func (_m *Guarantees) EXPECT() *Guarantees_Expecter
type Guarantees_ByCollectionID_Call ¶ added in v0.46.0
Guarantees_ByCollectionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByCollectionID'
func (*Guarantees_ByCollectionID_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_ByCollectionID_Call) Return(collectionGuarantee *flow.CollectionGuarantee, err error) *Guarantees_ByCollectionID_Call
func (*Guarantees_ByCollectionID_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_ByCollectionID_Call) Run(run func(collID flow.Identifier)) *Guarantees_ByCollectionID_Call
func (*Guarantees_ByCollectionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_ByCollectionID_Call) RunAndReturn(run func(collID flow.Identifier) (*flow.CollectionGuarantee, error)) *Guarantees_ByCollectionID_Call
type Guarantees_ByID_Call ¶ added in v0.46.0
Guarantees_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*Guarantees_ByID_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_ByID_Call) Return(collectionGuarantee *flow.CollectionGuarantee, err error) *Guarantees_ByID_Call
func (*Guarantees_ByID_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_ByID_Call) Run(run func(guaranteeID flow.Identifier)) *Guarantees_ByID_Call
func (*Guarantees_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_ByID_Call) RunAndReturn(run func(guaranteeID flow.Identifier) (*flow.CollectionGuarantee, error)) *Guarantees_ByID_Call
type Guarantees_Expecter ¶ added in v0.46.0
type Guarantees_Expecter struct {
// contains filtered or unexported fields
}
func (*Guarantees_Expecter) ByCollectionID ¶ added in v0.46.0
func (_e *Guarantees_Expecter) ByCollectionID(collID interface{}) *Guarantees_ByCollectionID_Call
ByCollectionID is a helper method to define mock.On call
- collID flow.Identifier
func (*Guarantees_Expecter) ByID ¶ added in v0.46.0
func (_e *Guarantees_Expecter) ByID(guaranteeID interface{}) *Guarantees_ByID_Call
ByID is a helper method to define mock.On call
- guaranteeID flow.Identifier
type Headers ¶
Headers is an autogenerated mock type for the Headers type
func NewHeaders ¶ added in v0.26.1
NewHeaders creates a new instance of Headers. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Headers) BlockIDByHeight ¶ added in v0.30.0
func (_mock *Headers) BlockIDByHeight(height uint64) (flow.Identifier, error)
BlockIDByHeight provides a mock function for the type Headers
func (*Headers) ByParentID ¶
ByParentID provides a mock function for the type Headers
func (*Headers) EXPECT ¶ added in v0.46.0
func (_m *Headers) EXPECT() *Headers_Expecter
func (*Headers) Exists ¶ added in v0.31.0
func (_mock *Headers) Exists(blockID flow.Identifier) (bool, error)
Exists provides a mock function for the type Headers
func (*Headers) ProposalByBlockID ¶ added in v0.43.0
func (_mock *Headers) ProposalByBlockID(blockID flow.Identifier) (*flow.ProposalHeader, error)
ProposalByBlockID provides a mock function for the type Headers
type Headers_BlockIDByHeight_Call ¶ added in v0.46.0
Headers_BlockIDByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockIDByHeight'
func (*Headers_BlockIDByHeight_Call) Return ¶ added in v0.46.0
func (_c *Headers_BlockIDByHeight_Call) Return(identifier flow.Identifier, err error) *Headers_BlockIDByHeight_Call
func (*Headers_BlockIDByHeight_Call) Run ¶ added in v0.46.0
func (_c *Headers_BlockIDByHeight_Call) Run(run func(height uint64)) *Headers_BlockIDByHeight_Call
func (*Headers_BlockIDByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Headers_BlockIDByHeight_Call) RunAndReturn(run func(height uint64) (flow.Identifier, error)) *Headers_BlockIDByHeight_Call
type Headers_ByBlockID_Call ¶ added in v0.46.0
Headers_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*Headers_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Headers_ByBlockID_Call) Return(header *flow.Header, err error) *Headers_ByBlockID_Call
func (*Headers_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Headers_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Headers_ByBlockID_Call
func (*Headers_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Headers_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Header, error)) *Headers_ByBlockID_Call
type Headers_ByHeight_Call ¶ added in v0.46.0
Headers_ByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByHeight'
func (*Headers_ByHeight_Call) Return ¶ added in v0.46.0
func (_c *Headers_ByHeight_Call) Return(header *flow.Header, err error) *Headers_ByHeight_Call
func (*Headers_ByHeight_Call) Run ¶ added in v0.46.0
func (_c *Headers_ByHeight_Call) Run(run func(height uint64)) *Headers_ByHeight_Call
func (*Headers_ByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Headers_ByHeight_Call) RunAndReturn(run func(height uint64) (*flow.Header, error)) *Headers_ByHeight_Call
type Headers_ByParentID_Call ¶ added in v0.46.0
Headers_ByParentID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByParentID'
func (*Headers_ByParentID_Call) Return ¶ added in v0.46.0
func (_c *Headers_ByParentID_Call) Return(headers []*flow.Header, err error) *Headers_ByParentID_Call
func (*Headers_ByParentID_Call) Run ¶ added in v0.46.0
func (_c *Headers_ByParentID_Call) Run(run func(parentID flow.Identifier)) *Headers_ByParentID_Call
func (*Headers_ByParentID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Headers_ByParentID_Call) RunAndReturn(run func(parentID flow.Identifier) ([]*flow.Header, error)) *Headers_ByParentID_Call
type Headers_ByView_Call ¶ added in v0.46.0
Headers_ByView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByView'
func (*Headers_ByView_Call) Return ¶ added in v0.46.0
func (_c *Headers_ByView_Call) Return(header *flow.Header, err error) *Headers_ByView_Call
func (*Headers_ByView_Call) Run ¶ added in v0.46.0
func (_c *Headers_ByView_Call) Run(run func(view uint64)) *Headers_ByView_Call
func (*Headers_ByView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Headers_ByView_Call) RunAndReturn(run func(view uint64) (*flow.Header, error)) *Headers_ByView_Call
type Headers_Exists_Call ¶ added in v0.46.0
Headers_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*Headers_Exists_Call) Return ¶ added in v0.46.0
func (_c *Headers_Exists_Call) Return(b bool, err error) *Headers_Exists_Call
func (*Headers_Exists_Call) Run ¶ added in v0.46.0
func (_c *Headers_Exists_Call) Run(run func(blockID flow.Identifier)) *Headers_Exists_Call
func (*Headers_Exists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Headers_Exists_Call) RunAndReturn(run func(blockID flow.Identifier) (bool, error)) *Headers_Exists_Call
type Headers_Expecter ¶ added in v0.46.0
type Headers_Expecter struct {
// contains filtered or unexported fields
}
func (*Headers_Expecter) BlockIDByHeight ¶ added in v0.46.0
func (_e *Headers_Expecter) BlockIDByHeight(height interface{}) *Headers_BlockIDByHeight_Call
BlockIDByHeight is a helper method to define mock.On call
- height uint64
func (*Headers_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *Headers_Expecter) ByBlockID(blockID interface{}) *Headers_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*Headers_Expecter) ByHeight ¶ added in v0.46.0
func (_e *Headers_Expecter) ByHeight(height interface{}) *Headers_ByHeight_Call
ByHeight is a helper method to define mock.On call
- height uint64
func (*Headers_Expecter) ByParentID ¶ added in v0.46.0
func (_e *Headers_Expecter) ByParentID(parentID interface{}) *Headers_ByParentID_Call
ByParentID is a helper method to define mock.On call
- parentID flow.Identifier
func (*Headers_Expecter) ByView ¶ added in v0.46.0
func (_e *Headers_Expecter) ByView(view interface{}) *Headers_ByView_Call
ByView is a helper method to define mock.On call
- view uint64
func (*Headers_Expecter) Exists ¶ added in v0.46.0
func (_e *Headers_Expecter) Exists(blockID interface{}) *Headers_Exists_Call
Exists is a helper method to define mock.On call
- blockID flow.Identifier
func (*Headers_Expecter) ProposalByBlockID ¶ added in v0.46.0
func (_e *Headers_Expecter) ProposalByBlockID(blockID interface{}) *Headers_ProposalByBlockID_Call
ProposalByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type Headers_ProposalByBlockID_Call ¶ added in v0.46.0
Headers_ProposalByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProposalByBlockID'
func (*Headers_ProposalByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Headers_ProposalByBlockID_Call) Return(proposalHeader *flow.ProposalHeader, err error) *Headers_ProposalByBlockID_Call
func (*Headers_ProposalByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Headers_ProposalByBlockID_Call) Run(run func(blockID flow.Identifier)) *Headers_ProposalByBlockID_Call
func (*Headers_ProposalByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Headers_ProposalByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ProposalHeader, error)) *Headers_ProposalByBlockID_Call
type HeightIndex ¶ added in v0.32.0
HeightIndex is an autogenerated mock type for the HeightIndex type
func NewHeightIndex ¶ added in v0.32.0
func NewHeightIndex(t interface {
mock.TestingT
Cleanup(func())
}) *HeightIndex
NewHeightIndex creates a new instance of HeightIndex. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*HeightIndex) EXPECT ¶ added in v0.46.0
func (_m *HeightIndex) EXPECT() *HeightIndex_Expecter
func (*HeightIndex) FirstHeight ¶ added in v0.32.0
func (_mock *HeightIndex) FirstHeight() (uint64, error)
FirstHeight provides a mock function for the type HeightIndex
func (*HeightIndex) LatestHeight ¶ added in v0.32.0
func (_mock *HeightIndex) LatestHeight() (uint64, error)
LatestHeight provides a mock function for the type HeightIndex
func (*HeightIndex) SetLatestHeight ¶ added in v0.32.0
func (_mock *HeightIndex) SetLatestHeight(height uint64) error
SetLatestHeight provides a mock function for the type HeightIndex
type HeightIndex_Expecter ¶ added in v0.46.0
type HeightIndex_Expecter struct {
// contains filtered or unexported fields
}
func (*HeightIndex_Expecter) FirstHeight ¶ added in v0.46.0
func (_e *HeightIndex_Expecter) FirstHeight() *HeightIndex_FirstHeight_Call
FirstHeight is a helper method to define mock.On call
func (*HeightIndex_Expecter) LatestHeight ¶ added in v0.46.0
func (_e *HeightIndex_Expecter) LatestHeight() *HeightIndex_LatestHeight_Call
LatestHeight is a helper method to define mock.On call
func (*HeightIndex_Expecter) SetLatestHeight ¶ added in v0.46.0
func (_e *HeightIndex_Expecter) SetLatestHeight(height interface{}) *HeightIndex_SetLatestHeight_Call
SetLatestHeight is a helper method to define mock.On call
- height uint64
type HeightIndex_FirstHeight_Call ¶ added in v0.46.0
HeightIndex_FirstHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstHeight'
func (*HeightIndex_FirstHeight_Call) Return ¶ added in v0.46.0
func (_c *HeightIndex_FirstHeight_Call) Return(v uint64, err error) *HeightIndex_FirstHeight_Call
func (*HeightIndex_FirstHeight_Call) Run ¶ added in v0.46.0
func (_c *HeightIndex_FirstHeight_Call) Run(run func()) *HeightIndex_FirstHeight_Call
func (*HeightIndex_FirstHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeightIndex_FirstHeight_Call) RunAndReturn(run func() (uint64, error)) *HeightIndex_FirstHeight_Call
type HeightIndex_LatestHeight_Call ¶ added in v0.46.0
HeightIndex_LatestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestHeight'
func (*HeightIndex_LatestHeight_Call) Return ¶ added in v0.46.0
func (_c *HeightIndex_LatestHeight_Call) Return(v uint64, err error) *HeightIndex_LatestHeight_Call
func (*HeightIndex_LatestHeight_Call) Run ¶ added in v0.46.0
func (_c *HeightIndex_LatestHeight_Call) Run(run func()) *HeightIndex_LatestHeight_Call
func (*HeightIndex_LatestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeightIndex_LatestHeight_Call) RunAndReturn(run func() (uint64, error)) *HeightIndex_LatestHeight_Call
type HeightIndex_SetLatestHeight_Call ¶ added in v0.46.0
HeightIndex_SetLatestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLatestHeight'
func (*HeightIndex_SetLatestHeight_Call) Return ¶ added in v0.46.0
func (_c *HeightIndex_SetLatestHeight_Call) Return(err error) *HeightIndex_SetLatestHeight_Call
func (*HeightIndex_SetLatestHeight_Call) Run ¶ added in v0.46.0
func (_c *HeightIndex_SetLatestHeight_Call) Run(run func(height uint64)) *HeightIndex_SetLatestHeight_Call
func (*HeightIndex_SetLatestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *HeightIndex_SetLatestHeight_Call) RunAndReturn(run func(height uint64) error) *HeightIndex_SetLatestHeight_Call
type Index ¶
Index is an autogenerated mock type for the Index type
func NewIndex ¶ added in v0.26.1
NewIndex creates a new instance of Index. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Index) EXPECT ¶ added in v0.46.0
func (_m *Index) EXPECT() *Index_Expecter
type Index_ByBlockID_Call ¶ added in v0.46.0
Index_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*Index_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Index_ByBlockID_Call) Return(index *flow.Index, err error) *Index_ByBlockID_Call
func (*Index_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Index_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Index_ByBlockID_Call
func (*Index_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Index_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Index, error)) *Index_ByBlockID_Call
type Index_Expecter ¶ added in v0.46.0
type Index_Expecter struct {
// contains filtered or unexported fields
}
func (*Index_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *Index_Expecter) ByBlockID(blockID interface{}) *Index_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type IterItem ¶ added in v0.38.0
IterItem is an autogenerated mock type for the IterItem type
func NewIterItem ¶ added in v0.38.0
NewIterItem creates a new instance of IterItem. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IterItem) EXPECT ¶ added in v0.46.0
func (_m *IterItem) EXPECT() *IterItem_Expecter
type IterItem_Expecter ¶ added in v0.46.0
type IterItem_Expecter struct {
// contains filtered or unexported fields
}
func (*IterItem_Expecter) Key ¶ added in v0.46.0
func (_e *IterItem_Expecter) Key() *IterItem_Key_Call
Key is a helper method to define mock.On call
func (*IterItem_Expecter) KeyCopy ¶ added in v0.46.0
func (_e *IterItem_Expecter) KeyCopy(dst interface{}) *IterItem_KeyCopy_Call
KeyCopy is a helper method to define mock.On call
- dst []byte
func (*IterItem_Expecter) Value ¶ added in v0.46.0
func (_e *IterItem_Expecter) Value(fn interface{}) *IterItem_Value_Call
Value is a helper method to define mock.On call
- fn func(val []byte) error
type IterItem_KeyCopy_Call ¶ added in v0.46.0
IterItem_KeyCopy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KeyCopy'
func (*IterItem_KeyCopy_Call) Return ¶ added in v0.46.0
func (_c *IterItem_KeyCopy_Call) Return(bytes []byte) *IterItem_KeyCopy_Call
func (*IterItem_KeyCopy_Call) Run ¶ added in v0.46.0
func (_c *IterItem_KeyCopy_Call) Run(run func(dst []byte)) *IterItem_KeyCopy_Call
func (*IterItem_KeyCopy_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IterItem_KeyCopy_Call) RunAndReturn(run func(dst []byte) []byte) *IterItem_KeyCopy_Call
type IterItem_Key_Call ¶ added in v0.46.0
IterItem_Key_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Key'
func (*IterItem_Key_Call) Return ¶ added in v0.46.0
func (_c *IterItem_Key_Call) Return(bytes []byte) *IterItem_Key_Call
func (*IterItem_Key_Call) Run ¶ added in v0.46.0
func (_c *IterItem_Key_Call) Run(run func()) *IterItem_Key_Call
func (*IterItem_Key_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IterItem_Key_Call) RunAndReturn(run func() []byte) *IterItem_Key_Call
type IterItem_Value_Call ¶ added in v0.46.0
IterItem_Value_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Value'
func (*IterItem_Value_Call) Return ¶ added in v0.46.0
func (_c *IterItem_Value_Call) Return(err error) *IterItem_Value_Call
func (*IterItem_Value_Call) Run ¶ added in v0.46.0
func (_c *IterItem_Value_Call) Run(run func(fn func(val []byte) error)) *IterItem_Value_Call
func (*IterItem_Value_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IterItem_Value_Call) RunAndReturn(run func(fn func(val []byte) error) error) *IterItem_Value_Call
type Iterator ¶ added in v0.38.0
Iterator is an autogenerated mock type for the Iterator type
func NewIterator ¶ added in v0.38.0
NewIterator creates a new instance of Iterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Iterator) EXPECT ¶ added in v0.46.0
func (_m *Iterator) EXPECT() *Iterator_Expecter
func (*Iterator) IterItem ¶ added in v0.38.0
IterItem provides a mock function for the type Iterator
type Iterator_Close_Call ¶ added in v0.46.0
Iterator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Iterator_Close_Call) Return ¶ added in v0.46.0
func (_c *Iterator_Close_Call) Return(err error) *Iterator_Close_Call
func (*Iterator_Close_Call) Run ¶ added in v0.46.0
func (_c *Iterator_Close_Call) Run(run func()) *Iterator_Close_Call
func (*Iterator_Close_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Iterator_Close_Call) RunAndReturn(run func() error) *Iterator_Close_Call
type Iterator_Expecter ¶ added in v0.46.0
type Iterator_Expecter struct {
// contains filtered or unexported fields
}
func (*Iterator_Expecter) Close ¶ added in v0.46.0
func (_e *Iterator_Expecter) Close() *Iterator_Close_Call
Close is a helper method to define mock.On call
func (*Iterator_Expecter) First ¶ added in v0.46.0
func (_e *Iterator_Expecter) First() *Iterator_First_Call
First is a helper method to define mock.On call
func (*Iterator_Expecter) IterItem ¶ added in v0.46.0
func (_e *Iterator_Expecter) IterItem() *Iterator_IterItem_Call
IterItem is a helper method to define mock.On call
func (*Iterator_Expecter) Next ¶ added in v0.46.0
func (_e *Iterator_Expecter) Next() *Iterator_Next_Call
Next is a helper method to define mock.On call
func (*Iterator_Expecter) Valid ¶ added in v0.46.0
func (_e *Iterator_Expecter) Valid() *Iterator_Valid_Call
Valid is a helper method to define mock.On call
type Iterator_First_Call ¶ added in v0.46.0
Iterator_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'
func (*Iterator_First_Call) Return ¶ added in v0.46.0
func (_c *Iterator_First_Call) Return(b bool) *Iterator_First_Call
func (*Iterator_First_Call) Run ¶ added in v0.46.0
func (_c *Iterator_First_Call) Run(run func()) *Iterator_First_Call
func (*Iterator_First_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Iterator_First_Call) RunAndReturn(run func() bool) *Iterator_First_Call
type Iterator_IterItem_Call ¶ added in v0.46.0
Iterator_IterItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IterItem'
func (*Iterator_IterItem_Call) Return ¶ added in v0.46.0
func (_c *Iterator_IterItem_Call) Return(iterItem storage.IterItem) *Iterator_IterItem_Call
func (*Iterator_IterItem_Call) Run ¶ added in v0.46.0
func (_c *Iterator_IterItem_Call) Run(run func()) *Iterator_IterItem_Call
func (*Iterator_IterItem_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Iterator_IterItem_Call) RunAndReturn(run func() storage.IterItem) *Iterator_IterItem_Call
type Iterator_Next_Call ¶ added in v0.46.0
Iterator_Next_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Next'
func (*Iterator_Next_Call) Return ¶ added in v0.46.0
func (_c *Iterator_Next_Call) Return() *Iterator_Next_Call
func (*Iterator_Next_Call) Run ¶ added in v0.46.0
func (_c *Iterator_Next_Call) Run(run func()) *Iterator_Next_Call
func (*Iterator_Next_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Iterator_Next_Call) RunAndReturn(run func()) *Iterator_Next_Call
type Iterator_Valid_Call ¶ added in v0.46.0
Iterator_Valid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Valid'
func (*Iterator_Valid_Call) Return ¶ added in v0.46.0
func (_c *Iterator_Valid_Call) Return(b bool) *Iterator_Valid_Call
func (*Iterator_Valid_Call) Run ¶ added in v0.46.0
func (_c *Iterator_Valid_Call) Run(run func()) *Iterator_Valid_Call
func (*Iterator_Valid_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Iterator_Valid_Call) RunAndReturn(run func() bool) *Iterator_Valid_Call
type LatestPersistedSealedResult ¶ added in v0.43.0
LatestPersistedSealedResult is an autogenerated mock type for the LatestPersistedSealedResult type
func NewLatestPersistedSealedResult ¶ added in v0.43.0
func NewLatestPersistedSealedResult(t interface {
mock.TestingT
Cleanup(func())
}) *LatestPersistedSealedResult
NewLatestPersistedSealedResult creates a new instance of LatestPersistedSealedResult. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LatestPersistedSealedResult) BatchSet ¶ added in v0.43.0
func (_mock *LatestPersistedSealedResult) BatchSet(resultID flow.Identifier, height uint64, batch storage.ReaderBatchWriter) error
BatchSet provides a mock function for the type LatestPersistedSealedResult
func (*LatestPersistedSealedResult) EXPECT ¶ added in v0.46.0
func (_m *LatestPersistedSealedResult) EXPECT() *LatestPersistedSealedResult_Expecter
func (*LatestPersistedSealedResult) Latest ¶ added in v0.43.0
func (_mock *LatestPersistedSealedResult) Latest() (flow.Identifier, uint64)
Latest provides a mock function for the type LatestPersistedSealedResult
type LatestPersistedSealedResult_BatchSet_Call ¶ added in v0.46.0
LatestPersistedSealedResult_BatchSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchSet'
func (*LatestPersistedSealedResult_BatchSet_Call) Return ¶ added in v0.46.0
func (_c *LatestPersistedSealedResult_BatchSet_Call) Return(err error) *LatestPersistedSealedResult_BatchSet_Call
func (*LatestPersistedSealedResult_BatchSet_Call) Run ¶ added in v0.46.0
func (_c *LatestPersistedSealedResult_BatchSet_Call) Run(run func(resultID flow.Identifier, height uint64, batch storage.ReaderBatchWriter)) *LatestPersistedSealedResult_BatchSet_Call
func (*LatestPersistedSealedResult_BatchSet_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LatestPersistedSealedResult_BatchSet_Call) RunAndReturn(run func(resultID flow.Identifier, height uint64, batch storage.ReaderBatchWriter) error) *LatestPersistedSealedResult_BatchSet_Call
type LatestPersistedSealedResult_Expecter ¶ added in v0.46.0
type LatestPersistedSealedResult_Expecter struct {
// contains filtered or unexported fields
}
func (*LatestPersistedSealedResult_Expecter) BatchSet ¶ added in v0.46.0
func (_e *LatestPersistedSealedResult_Expecter) BatchSet(resultID interface{}, height interface{}, batch interface{}) *LatestPersistedSealedResult_BatchSet_Call
BatchSet is a helper method to define mock.On call
- resultID flow.Identifier
- height uint64
- batch storage.ReaderBatchWriter
func (*LatestPersistedSealedResult_Expecter) Latest ¶ added in v0.46.0
func (_e *LatestPersistedSealedResult_Expecter) Latest() *LatestPersistedSealedResult_Latest_Call
Latest is a helper method to define mock.On call
type LatestPersistedSealedResult_Latest_Call ¶ added in v0.46.0
LatestPersistedSealedResult_Latest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Latest'
func (*LatestPersistedSealedResult_Latest_Call) Return ¶ added in v0.46.0
func (_c *LatestPersistedSealedResult_Latest_Call) Return(identifier flow.Identifier, v uint64) *LatestPersistedSealedResult_Latest_Call
func (*LatestPersistedSealedResult_Latest_Call) Run ¶ added in v0.46.0
func (_c *LatestPersistedSealedResult_Latest_Call) Run(run func()) *LatestPersistedSealedResult_Latest_Call
func (*LatestPersistedSealedResult_Latest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LatestPersistedSealedResult_Latest_Call) RunAndReturn(run func() (flow.Identifier, uint64)) *LatestPersistedSealedResult_Latest_Call
type Ledger ¶
Ledger is an autogenerated mock type for the Ledger type
func NewLedger ¶ added in v0.26.1
NewLedger creates a new instance of Ledger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Ledger) EXPECT ¶ added in v0.46.0
func (_m *Ledger) EXPECT() *Ledger_Expecter
func (*Ledger) EmptyStateCommitment ¶
func (_mock *Ledger) EmptyStateCommitment() flow.StateCommitment
EmptyStateCommitment provides a mock function for the type Ledger
func (*Ledger) GetRegisters ¶
func (_mock *Ledger) GetRegisters(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment) ([]flow.RegisterValue, error)
GetRegisters provides a mock function for the type Ledger
func (*Ledger) GetRegistersWithProof ¶
func (_mock *Ledger) GetRegistersWithProof(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment) ([]flow.RegisterValue, []flow.StorageProof, error)
GetRegistersWithProof provides a mock function for the type Ledger
func (*Ledger) UpdateRegisters ¶
func (_mock *Ledger) UpdateRegisters(registerIDs []flow.RegisterID, values []flow.RegisterValue, stateCommitment flow.StateCommitment) (flow.StateCommitment, error)
UpdateRegisters provides a mock function for the type Ledger
func (*Ledger) UpdateRegistersWithProof ¶
func (_mock *Ledger) UpdateRegistersWithProof(registerIDs []flow.RegisterID, values []flow.RegisterValue, stateCommitment flow.StateCommitment) (flow.StateCommitment, []flow.StorageProof, error)
UpdateRegistersWithProof provides a mock function for the type Ledger
type LedgerVerifier ¶
LedgerVerifier is an autogenerated mock type for the LedgerVerifier type
func NewLedgerVerifier ¶ added in v0.26.1
func NewLedgerVerifier(t interface {
mock.TestingT
Cleanup(func())
}) *LedgerVerifier
NewLedgerVerifier creates a new instance of LedgerVerifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LedgerVerifier) EXPECT ¶ added in v0.46.0
func (_m *LedgerVerifier) EXPECT() *LedgerVerifier_Expecter
func (*LedgerVerifier) VerifyRegistersProof ¶
func (_mock *LedgerVerifier) VerifyRegistersProof(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment, values []flow.RegisterValue, proof []flow.StorageProof) (bool, error)
VerifyRegistersProof provides a mock function for the type LedgerVerifier
type LedgerVerifier_Expecter ¶ added in v0.46.0
type LedgerVerifier_Expecter struct {
// contains filtered or unexported fields
}
func (*LedgerVerifier_Expecter) VerifyRegistersProof ¶ added in v0.46.0
func (_e *LedgerVerifier_Expecter) VerifyRegistersProof(registerIDs interface{}, stateCommitment interface{}, values interface{}, proof interface{}) *LedgerVerifier_VerifyRegistersProof_Call
VerifyRegistersProof is a helper method to define mock.On call
- registerIDs []flow.RegisterID
- stateCommitment flow.StateCommitment
- values []flow.RegisterValue
- proof []flow.StorageProof
type LedgerVerifier_VerifyRegistersProof_Call ¶ added in v0.46.0
LedgerVerifier_VerifyRegistersProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyRegistersProof'
func (*LedgerVerifier_VerifyRegistersProof_Call) Return ¶ added in v0.46.0
func (_c *LedgerVerifier_VerifyRegistersProof_Call) Return(verified bool, err error) *LedgerVerifier_VerifyRegistersProof_Call
func (*LedgerVerifier_VerifyRegistersProof_Call) Run ¶ added in v0.46.0
func (_c *LedgerVerifier_VerifyRegistersProof_Call) Run(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment, values []flow.RegisterValue, proof []flow.StorageProof)) *LedgerVerifier_VerifyRegistersProof_Call
func (*LedgerVerifier_VerifyRegistersProof_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LedgerVerifier_VerifyRegistersProof_Call) RunAndReturn(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment, values []flow.RegisterValue, proof []flow.StorageProof) (bool, error)) *LedgerVerifier_VerifyRegistersProof_Call
type Ledger_EmptyStateCommitment_Call ¶ added in v0.46.0
Ledger_EmptyStateCommitment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmptyStateCommitment'
func (*Ledger_EmptyStateCommitment_Call) Return ¶ added in v0.46.0
func (_c *Ledger_EmptyStateCommitment_Call) Return(stateCommitment flow.StateCommitment) *Ledger_EmptyStateCommitment_Call
func (*Ledger_EmptyStateCommitment_Call) Run ¶ added in v0.46.0
func (_c *Ledger_EmptyStateCommitment_Call) Run(run func()) *Ledger_EmptyStateCommitment_Call
func (*Ledger_EmptyStateCommitment_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Ledger_EmptyStateCommitment_Call) RunAndReturn(run func() flow.StateCommitment) *Ledger_EmptyStateCommitment_Call
type Ledger_Expecter ¶ added in v0.46.0
type Ledger_Expecter struct {
// contains filtered or unexported fields
}
func (*Ledger_Expecter) EmptyStateCommitment ¶ added in v0.46.0
func (_e *Ledger_Expecter) EmptyStateCommitment() *Ledger_EmptyStateCommitment_Call
EmptyStateCommitment is a helper method to define mock.On call
func (*Ledger_Expecter) GetRegisters ¶ added in v0.46.0
func (_e *Ledger_Expecter) GetRegisters(registerIDs interface{}, stateCommitment interface{}) *Ledger_GetRegisters_Call
GetRegisters is a helper method to define mock.On call
- registerIDs []flow.RegisterID
- stateCommitment flow.StateCommitment
func (*Ledger_Expecter) GetRegistersWithProof ¶ added in v0.46.0
func (_e *Ledger_Expecter) GetRegistersWithProof(registerIDs interface{}, stateCommitment interface{}) *Ledger_GetRegistersWithProof_Call
GetRegistersWithProof is a helper method to define mock.On call
- registerIDs []flow.RegisterID
- stateCommitment flow.StateCommitment
func (*Ledger_Expecter) UpdateRegisters ¶ added in v0.46.0
func (_e *Ledger_Expecter) UpdateRegisters(registerIDs interface{}, values interface{}, stateCommitment interface{}) *Ledger_UpdateRegisters_Call
UpdateRegisters is a helper method to define mock.On call
- registerIDs []flow.RegisterID
- values []flow.RegisterValue
- stateCommitment flow.StateCommitment
func (*Ledger_Expecter) UpdateRegistersWithProof ¶ added in v0.46.0
func (_e *Ledger_Expecter) UpdateRegistersWithProof(registerIDs interface{}, values interface{}, stateCommitment interface{}) *Ledger_UpdateRegistersWithProof_Call
UpdateRegistersWithProof is a helper method to define mock.On call
- registerIDs []flow.RegisterID
- values []flow.RegisterValue
- stateCommitment flow.StateCommitment
type Ledger_GetRegistersWithProof_Call ¶ added in v0.46.0
Ledger_GetRegistersWithProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRegistersWithProof'
func (*Ledger_GetRegistersWithProof_Call) Return ¶ added in v0.46.0
func (_c *Ledger_GetRegistersWithProof_Call) Return(values []flow.RegisterValue, proofs []flow.StorageProof, err error) *Ledger_GetRegistersWithProof_Call
func (*Ledger_GetRegistersWithProof_Call) Run ¶ added in v0.46.0
func (_c *Ledger_GetRegistersWithProof_Call) Run(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment)) *Ledger_GetRegistersWithProof_Call
func (*Ledger_GetRegistersWithProof_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Ledger_GetRegistersWithProof_Call) RunAndReturn(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment) ([]flow.RegisterValue, []flow.StorageProof, error)) *Ledger_GetRegistersWithProof_Call
type Ledger_GetRegisters_Call ¶ added in v0.46.0
Ledger_GetRegisters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRegisters'
func (*Ledger_GetRegisters_Call) Return ¶ added in v0.46.0
func (_c *Ledger_GetRegisters_Call) Return(values []flow.RegisterValue, err error) *Ledger_GetRegisters_Call
func (*Ledger_GetRegisters_Call) Run ¶ added in v0.46.0
func (_c *Ledger_GetRegisters_Call) Run(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment)) *Ledger_GetRegisters_Call
func (*Ledger_GetRegisters_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Ledger_GetRegisters_Call) RunAndReturn(run func(registerIDs []flow.RegisterID, stateCommitment flow.StateCommitment) ([]flow.RegisterValue, error)) *Ledger_GetRegisters_Call
type Ledger_UpdateRegistersWithProof_Call ¶ added in v0.46.0
Ledger_UpdateRegistersWithProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRegistersWithProof'
func (*Ledger_UpdateRegistersWithProof_Call) Return ¶ added in v0.46.0
func (_c *Ledger_UpdateRegistersWithProof_Call) Return(newStateCommitment flow.StateCommitment, proofs []flow.StorageProof, err error) *Ledger_UpdateRegistersWithProof_Call
func (*Ledger_UpdateRegistersWithProof_Call) Run ¶ added in v0.46.0
func (_c *Ledger_UpdateRegistersWithProof_Call) Run(run func(registerIDs []flow.RegisterID, values []flow.RegisterValue, stateCommitment flow.StateCommitment)) *Ledger_UpdateRegistersWithProof_Call
func (*Ledger_UpdateRegistersWithProof_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Ledger_UpdateRegistersWithProof_Call) RunAndReturn(run func(registerIDs []flow.RegisterID, values []flow.RegisterValue, stateCommitment flow.StateCommitment) (flow.StateCommitment, []flow.StorageProof, error)) *Ledger_UpdateRegistersWithProof_Call
type Ledger_UpdateRegisters_Call ¶ added in v0.46.0
Ledger_UpdateRegisters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRegisters'
func (*Ledger_UpdateRegisters_Call) Return ¶ added in v0.46.0
func (_c *Ledger_UpdateRegisters_Call) Return(newStateCommitment flow.StateCommitment, err error) *Ledger_UpdateRegisters_Call
func (*Ledger_UpdateRegisters_Call) Run ¶ added in v0.46.0
func (_c *Ledger_UpdateRegisters_Call) Run(run func(registerIDs []flow.RegisterID, values []flow.RegisterValue, stateCommitment flow.StateCommitment)) *Ledger_UpdateRegisters_Call
func (*Ledger_UpdateRegisters_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Ledger_UpdateRegisters_Call) RunAndReturn(run func(registerIDs []flow.RegisterID, values []flow.RegisterValue, stateCommitment flow.StateCommitment) (flow.StateCommitment, error)) *Ledger_UpdateRegisters_Call
type LightTransactionResults ¶ added in v0.32.0
LightTransactionResults is an autogenerated mock type for the LightTransactionResults type
func NewLightTransactionResults ¶ added in v0.32.0
func NewLightTransactionResults(t interface {
mock.TestingT
Cleanup(func())
}) *LightTransactionResults
NewLightTransactionResults creates a new instance of LightTransactionResults. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LightTransactionResults) BatchStore ¶ added in v0.32.0
func (_mock *LightTransactionResults) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResults []flow.LightTransactionResult) error
BatchStore provides a mock function for the type LightTransactionResults
func (*LightTransactionResults) ByBlockID ¶ added in v0.32.0
func (_mock *LightTransactionResults) ByBlockID(id flow.Identifier) ([]flow.LightTransactionResult, error)
ByBlockID provides a mock function for the type LightTransactionResults
func (*LightTransactionResults) ByBlockIDTransactionID ¶ added in v0.32.0
func (_mock *LightTransactionResults) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.LightTransactionResult, error)
ByBlockIDTransactionID provides a mock function for the type LightTransactionResults
func (*LightTransactionResults) ByBlockIDTransactionIndex ¶ added in v0.32.0
func (_mock *LightTransactionResults) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.LightTransactionResult, error)
ByBlockIDTransactionIndex provides a mock function for the type LightTransactionResults
func (*LightTransactionResults) EXPECT ¶ added in v0.46.0
func (_m *LightTransactionResults) EXPECT() *LightTransactionResults_Expecter
type LightTransactionResultsReader ¶ added in v0.41.0
LightTransactionResultsReader is an autogenerated mock type for the LightTransactionResultsReader type
func NewLightTransactionResultsReader ¶ added in v0.41.0
func NewLightTransactionResultsReader(t interface {
mock.TestingT
Cleanup(func())
}) *LightTransactionResultsReader
NewLightTransactionResultsReader creates a new instance of LightTransactionResultsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LightTransactionResultsReader) ByBlockID ¶ added in v0.41.0
func (_mock *LightTransactionResultsReader) ByBlockID(id flow.Identifier) ([]flow.LightTransactionResult, error)
ByBlockID provides a mock function for the type LightTransactionResultsReader
func (*LightTransactionResultsReader) ByBlockIDTransactionID ¶ added in v0.41.0
func (_mock *LightTransactionResultsReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.LightTransactionResult, error)
ByBlockIDTransactionID provides a mock function for the type LightTransactionResultsReader
func (*LightTransactionResultsReader) ByBlockIDTransactionIndex ¶ added in v0.41.0
func (_mock *LightTransactionResultsReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.LightTransactionResult, error)
ByBlockIDTransactionIndex provides a mock function for the type LightTransactionResultsReader
func (*LightTransactionResultsReader) EXPECT ¶ added in v0.46.0
func (_m *LightTransactionResultsReader) EXPECT() *LightTransactionResultsReader_Expecter
type LightTransactionResultsReader_ByBlockIDTransactionID_Call ¶ added in v0.46.0
LightTransactionResultsReader_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*LightTransactionResultsReader_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockIDTransactionID_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
func (*LightTransactionResultsReader_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
func (*LightTransactionResultsReader_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) (*flow.LightTransactionResult, error)) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
type LightTransactionResultsReader_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
LightTransactionResultsReader_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
func (*LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
func (*LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) (*flow.LightTransactionResult, error)) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
type LightTransactionResultsReader_ByBlockID_Call ¶ added in v0.46.0
LightTransactionResultsReader_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*LightTransactionResultsReader_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockID_Call) Return(lightTransactionResults []flow.LightTransactionResult, err error) *LightTransactionResultsReader_ByBlockID_Call
func (*LightTransactionResultsReader_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockID_Call) Run(run func(id flow.Identifier)) *LightTransactionResultsReader_ByBlockID_Call
func (*LightTransactionResultsReader_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LightTransactionResultsReader_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.LightTransactionResult, error)) *LightTransactionResultsReader_ByBlockID_Call
type LightTransactionResultsReader_Expecter ¶ added in v0.46.0
type LightTransactionResultsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*LightTransactionResultsReader_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *LightTransactionResultsReader_Expecter) ByBlockID(id interface{}) *LightTransactionResultsReader_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- id flow.Identifier
func (*LightTransactionResultsReader_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *LightTransactionResultsReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *LightTransactionResultsReader_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*LightTransactionResultsReader_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *LightTransactionResultsReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *LightTransactionResultsReader_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
type LightTransactionResults_BatchStore_Call ¶ added in v0.46.0
LightTransactionResults_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*LightTransactionResults_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *LightTransactionResults_BatchStore_Call) Return(err error) *LightTransactionResults_BatchStore_Call
func (*LightTransactionResults_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *LightTransactionResults_BatchStore_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResults []flow.LightTransactionResult)) *LightTransactionResults_BatchStore_Call
func (*LightTransactionResults_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LightTransactionResults_BatchStore_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResults []flow.LightTransactionResult) error) *LightTransactionResults_BatchStore_Call
type LightTransactionResults_ByBlockIDTransactionID_Call ¶ added in v0.46.0
LightTransactionResults_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*LightTransactionResults_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockIDTransactionID_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResults_ByBlockIDTransactionID_Call
func (*LightTransactionResults_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *LightTransactionResults_ByBlockIDTransactionID_Call
func (*LightTransactionResults_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) (*flow.LightTransactionResult, error)) *LightTransactionResults_ByBlockIDTransactionID_Call
type LightTransactionResults_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
LightTransactionResults_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*LightTransactionResults_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockIDTransactionIndex_Call) Return(lightTransactionResult *flow.LightTransactionResult, err error) *LightTransactionResults_ByBlockIDTransactionIndex_Call
func (*LightTransactionResults_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *LightTransactionResults_ByBlockIDTransactionIndex_Call
func (*LightTransactionResults_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) (*flow.LightTransactionResult, error)) *LightTransactionResults_ByBlockIDTransactionIndex_Call
type LightTransactionResults_ByBlockID_Call ¶ added in v0.46.0
LightTransactionResults_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*LightTransactionResults_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockID_Call) Return(lightTransactionResults []flow.LightTransactionResult, err error) *LightTransactionResults_ByBlockID_Call
func (*LightTransactionResults_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockID_Call) Run(run func(id flow.Identifier)) *LightTransactionResults_ByBlockID_Call
func (*LightTransactionResults_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LightTransactionResults_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.LightTransactionResult, error)) *LightTransactionResults_ByBlockID_Call
type LightTransactionResults_Expecter ¶ added in v0.46.0
type LightTransactionResults_Expecter struct {
// contains filtered or unexported fields
}
func (*LightTransactionResults_Expecter) BatchStore ¶ added in v0.46.0
func (_e *LightTransactionResults_Expecter) BatchStore(lctx interface{}, rw interface{}, blockID interface{}, transactionResults interface{}) *LightTransactionResults_BatchStore_Call
BatchStore is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- blockID flow.Identifier
- transactionResults []flow.LightTransactionResult
func (*LightTransactionResults_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *LightTransactionResults_Expecter) ByBlockID(id interface{}) *LightTransactionResults_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- id flow.Identifier
func (*LightTransactionResults_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *LightTransactionResults_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *LightTransactionResults_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*LightTransactionResults_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *LightTransactionResults_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *LightTransactionResults_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
type LockManager ¶ added in v0.43.0
LockManager is an autogenerated mock type for the LockManager type
func NewLockManager ¶ added in v0.43.0
func NewLockManager(t interface {
mock.TestingT
Cleanup(func())
}) *LockManager
NewLockManager creates a new instance of LockManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LockManager) EXPECT ¶ added in v0.46.0
func (_m *LockManager) EXPECT() *LockManager_Expecter
func (*LockManager) NewContext ¶ added in v0.43.0
func (_mock *LockManager) NewContext() lockctx.Context
NewContext provides a mock function for the type LockManager
type LockManager_Expecter ¶ added in v0.46.0
type LockManager_Expecter struct {
// contains filtered or unexported fields
}
func (*LockManager_Expecter) NewContext ¶ added in v0.46.0
func (_e *LockManager_Expecter) NewContext() *LockManager_NewContext_Call
NewContext is a helper method to define mock.On call
type LockManager_NewContext_Call ¶ added in v0.46.0
LockManager_NewContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewContext'
func (*LockManager_NewContext_Call) Return ¶ added in v0.46.0
func (_c *LockManager_NewContext_Call) Return(context lockctx.Context) *LockManager_NewContext_Call
func (*LockManager_NewContext_Call) Run ¶ added in v0.46.0
func (_c *LockManager_NewContext_Call) Run(run func()) *LockManager_NewContext_Call
func (*LockManager_NewContext_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LockManager_NewContext_Call) RunAndReturn(run func() lockctx.Context) *LockManager_NewContext_Call
type MyExecutionReceipts ¶ added in v0.15.0
MyExecutionReceipts is an autogenerated mock type for the MyExecutionReceipts type
func NewMyExecutionReceipts ¶ added in v0.26.1
func NewMyExecutionReceipts(t interface {
mock.TestingT
Cleanup(func())
}) *MyExecutionReceipts
NewMyExecutionReceipts creates a new instance of MyExecutionReceipts. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MyExecutionReceipts) BatchRemoveIndexByBlockID ¶ added in v0.30.0
func (_mock *MyExecutionReceipts) BatchRemoveIndexByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
BatchRemoveIndexByBlockID provides a mock function for the type MyExecutionReceipts
func (*MyExecutionReceipts) BatchStoreMyReceipt ¶ added in v0.15.1
func (_mock *MyExecutionReceipts) BatchStoreMyReceipt(lctx lockctx.Proof, receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter) error
BatchStoreMyReceipt provides a mock function for the type MyExecutionReceipts
func (*MyExecutionReceipts) EXPECT ¶ added in v0.46.0
func (_m *MyExecutionReceipts) EXPECT() *MyExecutionReceipts_Expecter
func (*MyExecutionReceipts) MyReceipt ¶ added in v0.15.0
func (_mock *MyExecutionReceipts) MyReceipt(blockID flow.Identifier) (*flow.ExecutionReceipt, error)
MyReceipt provides a mock function for the type MyExecutionReceipts
type MyExecutionReceipts_BatchRemoveIndexByBlockID_Call ¶ added in v0.46.0
MyExecutionReceipts_BatchRemoveIndexByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemoveIndexByBlockID'
func (*MyExecutionReceipts_BatchRemoveIndexByBlockID_Call) Run ¶ added in v0.46.0
func (_c *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
func (*MyExecutionReceipts_BatchRemoveIndexByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
type MyExecutionReceipts_BatchStoreMyReceipt_Call ¶ added in v0.46.0
MyExecutionReceipts_BatchStoreMyReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStoreMyReceipt'
func (*MyExecutionReceipts_BatchStoreMyReceipt_Call) Return ¶ added in v0.46.0
func (_c *MyExecutionReceipts_BatchStoreMyReceipt_Call) Return(err error) *MyExecutionReceipts_BatchStoreMyReceipt_Call
func (*MyExecutionReceipts_BatchStoreMyReceipt_Call) Run ¶ added in v0.46.0
func (_c *MyExecutionReceipts_BatchStoreMyReceipt_Call) Run(run func(lctx lockctx.Proof, receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter)) *MyExecutionReceipts_BatchStoreMyReceipt_Call
func (*MyExecutionReceipts_BatchStoreMyReceipt_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MyExecutionReceipts_BatchStoreMyReceipt_Call) RunAndReturn(run func(lctx lockctx.Proof, receipt *flow.ExecutionReceipt, batch storage.ReaderBatchWriter) error) *MyExecutionReceipts_BatchStoreMyReceipt_Call
type MyExecutionReceipts_Expecter ¶ added in v0.46.0
type MyExecutionReceipts_Expecter struct {
// contains filtered or unexported fields
}
func (*MyExecutionReceipts_Expecter) BatchRemoveIndexByBlockID ¶ added in v0.46.0
func (_e *MyExecutionReceipts_Expecter) BatchRemoveIndexByBlockID(blockID interface{}, batch interface{}) *MyExecutionReceipts_BatchRemoveIndexByBlockID_Call
BatchRemoveIndexByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
- batch storage.ReaderBatchWriter
func (*MyExecutionReceipts_Expecter) BatchStoreMyReceipt ¶ added in v0.46.0
func (_e *MyExecutionReceipts_Expecter) BatchStoreMyReceipt(lctx interface{}, receipt interface{}, batch interface{}) *MyExecutionReceipts_BatchStoreMyReceipt_Call
BatchStoreMyReceipt is a helper method to define mock.On call
- lctx lockctx.Proof
- receipt *flow.ExecutionReceipt
- batch storage.ReaderBatchWriter
func (*MyExecutionReceipts_Expecter) MyReceipt ¶ added in v0.46.0
func (_e *MyExecutionReceipts_Expecter) MyReceipt(blockID interface{}) *MyExecutionReceipts_MyReceipt_Call
MyReceipt is a helper method to define mock.On call
- blockID flow.Identifier
type MyExecutionReceipts_MyReceipt_Call ¶ added in v0.46.0
MyExecutionReceipts_MyReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MyReceipt'
func (*MyExecutionReceipts_MyReceipt_Call) Return ¶ added in v0.46.0
func (_c *MyExecutionReceipts_MyReceipt_Call) Return(executionReceipt *flow.ExecutionReceipt, err error) *MyExecutionReceipts_MyReceipt_Call
func (*MyExecutionReceipts_MyReceipt_Call) Run ¶ added in v0.46.0
func (_c *MyExecutionReceipts_MyReceipt_Call) Run(run func(blockID flow.Identifier)) *MyExecutionReceipts_MyReceipt_Call
func (*MyExecutionReceipts_MyReceipt_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MyExecutionReceipts_MyReceipt_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.ExecutionReceipt, error)) *MyExecutionReceipts_MyReceipt_Call
type NodeDisallowList ¶ added in v0.42.1
NodeDisallowList is an autogenerated mock type for the NodeDisallowList type
func NewNodeDisallowList ¶ added in v0.42.1
func NewNodeDisallowList(t interface {
mock.TestingT
Cleanup(func())
}) *NodeDisallowList
NewNodeDisallowList creates a new instance of NodeDisallowList. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NodeDisallowList) EXPECT ¶ added in v0.46.0
func (_m *NodeDisallowList) EXPECT() *NodeDisallowList_Expecter
func (*NodeDisallowList) Retrieve ¶ added in v0.42.1
func (_mock *NodeDisallowList) Retrieve(disallowList *map[flow.Identifier]struct{}) error
Retrieve provides a mock function for the type NodeDisallowList
func (*NodeDisallowList) Store ¶ added in v0.42.1
func (_mock *NodeDisallowList) Store(disallowList map[flow.Identifier]struct{}) error
Store provides a mock function for the type NodeDisallowList
type NodeDisallowList_Expecter ¶ added in v0.46.0
type NodeDisallowList_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeDisallowList_Expecter) Retrieve ¶ added in v0.46.0
func (_e *NodeDisallowList_Expecter) Retrieve(disallowList interface{}) *NodeDisallowList_Retrieve_Call
Retrieve is a helper method to define mock.On call
- disallowList *map[flow.Identifier]struct{}
func (*NodeDisallowList_Expecter) Store ¶ added in v0.46.0
func (_e *NodeDisallowList_Expecter) Store(disallowList interface{}) *NodeDisallowList_Store_Call
Store is a helper method to define mock.On call
- disallowList map[flow.Identifier]struct{}
type NodeDisallowList_Retrieve_Call ¶ added in v0.46.0
NodeDisallowList_Retrieve_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Retrieve'
func (*NodeDisallowList_Retrieve_Call) Return ¶ added in v0.46.0
func (_c *NodeDisallowList_Retrieve_Call) Return(err error) *NodeDisallowList_Retrieve_Call
func (*NodeDisallowList_Retrieve_Call) Run ¶ added in v0.46.0
func (_c *NodeDisallowList_Retrieve_Call) Run(run func(disallowList *map[flow.Identifier]struct{})) *NodeDisallowList_Retrieve_Call
func (*NodeDisallowList_Retrieve_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NodeDisallowList_Retrieve_Call) RunAndReturn(run func(disallowList *map[flow.Identifier]struct{}) error) *NodeDisallowList_Retrieve_Call
type NodeDisallowList_Store_Call ¶ added in v0.46.0
NodeDisallowList_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*NodeDisallowList_Store_Call) Return ¶ added in v0.46.0
func (_c *NodeDisallowList_Store_Call) Return(err error) *NodeDisallowList_Store_Call
func (*NodeDisallowList_Store_Call) Run ¶ added in v0.46.0
func (_c *NodeDisallowList_Store_Call) Run(run func(disallowList map[flow.Identifier]struct{})) *NodeDisallowList_Store_Call
func (*NodeDisallowList_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *NodeDisallowList_Store_Call) RunAndReturn(run func(disallowList map[flow.Identifier]struct{}) error) *NodeDisallowList_Store_Call
type Payloads ¶
Payloads is an autogenerated mock type for the Payloads type
func NewPayloads ¶ added in v0.26.1
NewPayloads creates a new instance of Payloads. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Payloads) EXPECT ¶ added in v0.46.0
func (_m *Payloads) EXPECT() *Payloads_Expecter
type Payloads_ByBlockID_Call ¶ added in v0.46.0
Payloads_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*Payloads_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *Payloads_ByBlockID_Call) Return(payload *flow.Payload, err error) *Payloads_ByBlockID_Call
func (*Payloads_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *Payloads_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *Payloads_ByBlockID_Call
func (*Payloads_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Payloads_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Payload, error)) *Payloads_ByBlockID_Call
type Payloads_Expecter ¶ added in v0.46.0
type Payloads_Expecter struct {
// contains filtered or unexported fields
}
func (*Payloads_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *Payloads_Expecter) ByBlockID(blockID interface{}) *Payloads_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type ProtocolKVStore ¶ added in v0.33.30
ProtocolKVStore is an autogenerated mock type for the ProtocolKVStore type
func NewProtocolKVStore ¶ added in v0.33.30
func NewProtocolKVStore(t interface {
mock.TestingT
Cleanup(func())
}) *ProtocolKVStore
NewProtocolKVStore creates a new instance of ProtocolKVStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProtocolKVStore) BatchIndex ¶ added in v0.43.0
func (_mock *ProtocolKVStore) BatchIndex(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, stateID flow.Identifier) error
BatchIndex provides a mock function for the type ProtocolKVStore
func (*ProtocolKVStore) BatchStore ¶ added in v0.43.0
func (_mock *ProtocolKVStore) BatchStore(rw storage.ReaderBatchWriter, stateID flow.Identifier, data *flow.PSKeyValueStoreData) error
BatchStore provides a mock function for the type ProtocolKVStore
func (*ProtocolKVStore) ByBlockID ¶ added in v0.33.30
func (_mock *ProtocolKVStore) ByBlockID(blockID flow.Identifier) (*flow.PSKeyValueStoreData, error)
ByBlockID provides a mock function for the type ProtocolKVStore
func (*ProtocolKVStore) ByID ¶ added in v0.33.30
func (_mock *ProtocolKVStore) ByID(id flow.Identifier) (*flow.PSKeyValueStoreData, error)
ByID provides a mock function for the type ProtocolKVStore
func (*ProtocolKVStore) EXPECT ¶ added in v0.46.0
func (_m *ProtocolKVStore) EXPECT() *ProtocolKVStore_Expecter
type ProtocolKVStore_BatchIndex_Call ¶ added in v0.46.0
ProtocolKVStore_BatchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchIndex'
func (*ProtocolKVStore_BatchIndex_Call) Return ¶ added in v0.46.0
func (_c *ProtocolKVStore_BatchIndex_Call) Return(err error) *ProtocolKVStore_BatchIndex_Call
func (*ProtocolKVStore_BatchIndex_Call) Run ¶ added in v0.46.0
func (_c *ProtocolKVStore_BatchIndex_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, stateID flow.Identifier)) *ProtocolKVStore_BatchIndex_Call
func (*ProtocolKVStore_BatchIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ProtocolKVStore_BatchIndex_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, stateID flow.Identifier) error) *ProtocolKVStore_BatchIndex_Call
type ProtocolKVStore_BatchStore_Call ¶ added in v0.46.0
ProtocolKVStore_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*ProtocolKVStore_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *ProtocolKVStore_BatchStore_Call) Return(err error) *ProtocolKVStore_BatchStore_Call
func (*ProtocolKVStore_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *ProtocolKVStore_BatchStore_Call) Run(run func(rw storage.ReaderBatchWriter, stateID flow.Identifier, data *flow.PSKeyValueStoreData)) *ProtocolKVStore_BatchStore_Call
func (*ProtocolKVStore_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ProtocolKVStore_BatchStore_Call) RunAndReturn(run func(rw storage.ReaderBatchWriter, stateID flow.Identifier, data *flow.PSKeyValueStoreData) error) *ProtocolKVStore_BatchStore_Call
type ProtocolKVStore_ByBlockID_Call ¶ added in v0.46.0
ProtocolKVStore_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*ProtocolKVStore_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ProtocolKVStore_ByBlockID_Call) Return(pSKeyValueStoreData *flow.PSKeyValueStoreData, err error) *ProtocolKVStore_ByBlockID_Call
func (*ProtocolKVStore_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ProtocolKVStore_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ProtocolKVStore_ByBlockID_Call
func (*ProtocolKVStore_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ProtocolKVStore_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.PSKeyValueStoreData, error)) *ProtocolKVStore_ByBlockID_Call
type ProtocolKVStore_ByID_Call ¶ added in v0.46.0
ProtocolKVStore_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*ProtocolKVStore_ByID_Call) Return ¶ added in v0.46.0
func (_c *ProtocolKVStore_ByID_Call) Return(pSKeyValueStoreData *flow.PSKeyValueStoreData, err error) *ProtocolKVStore_ByID_Call
func (*ProtocolKVStore_ByID_Call) Run ¶ added in v0.46.0
func (_c *ProtocolKVStore_ByID_Call) Run(run func(id flow.Identifier)) *ProtocolKVStore_ByID_Call
func (*ProtocolKVStore_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ProtocolKVStore_ByID_Call) RunAndReturn(run func(id flow.Identifier) (*flow.PSKeyValueStoreData, error)) *ProtocolKVStore_ByID_Call
type ProtocolKVStore_Expecter ¶ added in v0.46.0
type ProtocolKVStore_Expecter struct {
// contains filtered or unexported fields
}
func (*ProtocolKVStore_Expecter) BatchIndex ¶ added in v0.46.0
func (_e *ProtocolKVStore_Expecter) BatchIndex(lctx interface{}, rw interface{}, blockID interface{}, stateID interface{}) *ProtocolKVStore_BatchIndex_Call
BatchIndex is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- blockID flow.Identifier
- stateID flow.Identifier
func (*ProtocolKVStore_Expecter) BatchStore ¶ added in v0.46.0
func (_e *ProtocolKVStore_Expecter) BatchStore(rw interface{}, stateID interface{}, data interface{}) *ProtocolKVStore_BatchStore_Call
BatchStore is a helper method to define mock.On call
- rw storage.ReaderBatchWriter
- stateID flow.Identifier
- data *flow.PSKeyValueStoreData
func (*ProtocolKVStore_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *ProtocolKVStore_Expecter) ByBlockID(blockID interface{}) *ProtocolKVStore_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
func (*ProtocolKVStore_Expecter) ByID ¶ added in v0.46.0
func (_e *ProtocolKVStore_Expecter) ByID(id interface{}) *ProtocolKVStore_ByID_Call
ByID is a helper method to define mock.On call
- id flow.Identifier
type QuorumCertificates ¶ added in v0.30.0
QuorumCertificates is an autogenerated mock type for the QuorumCertificates type
func NewQuorumCertificates ¶ added in v0.30.0
func NewQuorumCertificates(t interface {
mock.TestingT
Cleanup(func())
}) *QuorumCertificates
NewQuorumCertificates creates a new instance of QuorumCertificates. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*QuorumCertificates) BatchStore ¶ added in v0.43.0
func (_mock *QuorumCertificates) BatchStore(proof lockctx.Proof, readerBatchWriter storage.ReaderBatchWriter, quorumCertificate *flow.QuorumCertificate) error
BatchStore provides a mock function for the type QuorumCertificates
func (*QuorumCertificates) ByBlockID ¶ added in v0.30.0
func (_mock *QuorumCertificates) ByBlockID(blockID flow.Identifier) (*flow.QuorumCertificate, error)
ByBlockID provides a mock function for the type QuorumCertificates
func (*QuorumCertificates) EXPECT ¶ added in v0.46.0
func (_m *QuorumCertificates) EXPECT() *QuorumCertificates_Expecter
type QuorumCertificates_BatchStore_Call ¶ added in v0.46.0
QuorumCertificates_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*QuorumCertificates_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *QuorumCertificates_BatchStore_Call) Return(err error) *QuorumCertificates_BatchStore_Call
func (*QuorumCertificates_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *QuorumCertificates_BatchStore_Call) Run(run func(proof lockctx.Proof, readerBatchWriter storage.ReaderBatchWriter, quorumCertificate *flow.QuorumCertificate)) *QuorumCertificates_BatchStore_Call
func (*QuorumCertificates_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *QuorumCertificates_BatchStore_Call) RunAndReturn(run func(proof lockctx.Proof, readerBatchWriter storage.ReaderBatchWriter, quorumCertificate *flow.QuorumCertificate) error) *QuorumCertificates_BatchStore_Call
type QuorumCertificates_ByBlockID_Call ¶ added in v0.46.0
QuorumCertificates_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*QuorumCertificates_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *QuorumCertificates_ByBlockID_Call) Return(quorumCertificate *flow.QuorumCertificate, err error) *QuorumCertificates_ByBlockID_Call
func (*QuorumCertificates_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *QuorumCertificates_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *QuorumCertificates_ByBlockID_Call
func (*QuorumCertificates_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *QuorumCertificates_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.QuorumCertificate, error)) *QuorumCertificates_ByBlockID_Call
type QuorumCertificates_Expecter ¶ added in v0.46.0
type QuorumCertificates_Expecter struct {
// contains filtered or unexported fields
}
func (*QuorumCertificates_Expecter) BatchStore ¶ added in v0.46.0
func (_e *QuorumCertificates_Expecter) BatchStore(proof interface{}, readerBatchWriter interface{}, quorumCertificate interface{}) *QuorumCertificates_BatchStore_Call
BatchStore is a helper method to define mock.On call
- proof lockctx.Proof
- readerBatchWriter storage.ReaderBatchWriter
- quorumCertificate *flow.QuorumCertificate
func (*QuorumCertificates_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *QuorumCertificates_Expecter) ByBlockID(blockID interface{}) *QuorumCertificates_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type Reader ¶ added in v0.38.0
Reader is an autogenerated mock type for the Reader type
func NewReader ¶ added in v0.38.0
NewReader creates a new instance of Reader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Reader) EXPECT ¶ added in v0.46.0
func (_m *Reader) EXPECT() *Reader_Expecter
type ReaderBatchWriter ¶ added in v0.38.0
ReaderBatchWriter is an autogenerated mock type for the ReaderBatchWriter type
func NewReaderBatchWriter ¶ added in v0.38.0
func NewReaderBatchWriter(t interface {
mock.TestingT
Cleanup(func())
}) *ReaderBatchWriter
NewReaderBatchWriter creates a new instance of ReaderBatchWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReaderBatchWriter) AddCallback ¶ added in v0.38.0
func (_mock *ReaderBatchWriter) AddCallback(fn func(error))
AddCallback provides a mock function for the type ReaderBatchWriter
func (*ReaderBatchWriter) EXPECT ¶ added in v0.46.0
func (_m *ReaderBatchWriter) EXPECT() *ReaderBatchWriter_Expecter
func (*ReaderBatchWriter) GlobalReader ¶ added in v0.38.0
func (_mock *ReaderBatchWriter) GlobalReader() storage.Reader
GlobalReader provides a mock function for the type ReaderBatchWriter
func (*ReaderBatchWriter) ScopedValue ¶ added in v0.43.2
func (_mock *ReaderBatchWriter) ScopedValue(key string) (any, bool)
ScopedValue provides a mock function for the type ReaderBatchWriter
func (*ReaderBatchWriter) SetScopedValue ¶ added in v0.43.2
func (_mock *ReaderBatchWriter) SetScopedValue(key string, value any)
SetScopedValue provides a mock function for the type ReaderBatchWriter
func (*ReaderBatchWriter) Writer ¶ added in v0.38.0
func (_mock *ReaderBatchWriter) Writer() storage.Writer
Writer provides a mock function for the type ReaderBatchWriter
type ReaderBatchWriter_AddCallback_Call ¶ added in v0.46.0
ReaderBatchWriter_AddCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCallback'
func (*ReaderBatchWriter_AddCallback_Call) Return ¶ added in v0.46.0
func (_c *ReaderBatchWriter_AddCallback_Call) Return() *ReaderBatchWriter_AddCallback_Call
func (*ReaderBatchWriter_AddCallback_Call) Run ¶ added in v0.46.0
func (_c *ReaderBatchWriter_AddCallback_Call) Run(run func(fn func(error))) *ReaderBatchWriter_AddCallback_Call
func (*ReaderBatchWriter_AddCallback_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReaderBatchWriter_AddCallback_Call) RunAndReturn(run func(fn func(error))) *ReaderBatchWriter_AddCallback_Call
type ReaderBatchWriter_Expecter ¶ added in v0.46.0
type ReaderBatchWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*ReaderBatchWriter_Expecter) AddCallback ¶ added in v0.46.0
func (_e *ReaderBatchWriter_Expecter) AddCallback(fn interface{}) *ReaderBatchWriter_AddCallback_Call
AddCallback is a helper method to define mock.On call
- fn func(error)
func (*ReaderBatchWriter_Expecter) GlobalReader ¶ added in v0.46.0
func (_e *ReaderBatchWriter_Expecter) GlobalReader() *ReaderBatchWriter_GlobalReader_Call
GlobalReader is a helper method to define mock.On call
func (*ReaderBatchWriter_Expecter) ScopedValue ¶ added in v0.46.0
func (_e *ReaderBatchWriter_Expecter) ScopedValue(key interface{}) *ReaderBatchWriter_ScopedValue_Call
ScopedValue is a helper method to define mock.On call
- key string
func (*ReaderBatchWriter_Expecter) SetScopedValue ¶ added in v0.46.0
func (_e *ReaderBatchWriter_Expecter) SetScopedValue(key interface{}, value interface{}) *ReaderBatchWriter_SetScopedValue_Call
SetScopedValue is a helper method to define mock.On call
- key string
- value any
func (*ReaderBatchWriter_Expecter) Writer ¶ added in v0.46.0
func (_e *ReaderBatchWriter_Expecter) Writer() *ReaderBatchWriter_Writer_Call
Writer is a helper method to define mock.On call
type ReaderBatchWriter_GlobalReader_Call ¶ added in v0.46.0
ReaderBatchWriter_GlobalReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalReader'
func (*ReaderBatchWriter_GlobalReader_Call) Return ¶ added in v0.46.0
func (_c *ReaderBatchWriter_GlobalReader_Call) Return(reader storage.Reader) *ReaderBatchWriter_GlobalReader_Call
func (*ReaderBatchWriter_GlobalReader_Call) Run ¶ added in v0.46.0
func (_c *ReaderBatchWriter_GlobalReader_Call) Run(run func()) *ReaderBatchWriter_GlobalReader_Call
func (*ReaderBatchWriter_GlobalReader_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReaderBatchWriter_GlobalReader_Call) RunAndReturn(run func() storage.Reader) *ReaderBatchWriter_GlobalReader_Call
type ReaderBatchWriter_ScopedValue_Call ¶ added in v0.46.0
ReaderBatchWriter_ScopedValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScopedValue'
func (*ReaderBatchWriter_ScopedValue_Call) Return ¶ added in v0.46.0
func (_c *ReaderBatchWriter_ScopedValue_Call) Return(v any, b bool) *ReaderBatchWriter_ScopedValue_Call
func (*ReaderBatchWriter_ScopedValue_Call) Run ¶ added in v0.46.0
func (_c *ReaderBatchWriter_ScopedValue_Call) Run(run func(key string)) *ReaderBatchWriter_ScopedValue_Call
func (*ReaderBatchWriter_ScopedValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReaderBatchWriter_ScopedValue_Call) RunAndReturn(run func(key string) (any, bool)) *ReaderBatchWriter_ScopedValue_Call
type ReaderBatchWriter_SetScopedValue_Call ¶ added in v0.46.0
ReaderBatchWriter_SetScopedValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetScopedValue'
func (*ReaderBatchWriter_SetScopedValue_Call) Return ¶ added in v0.46.0
func (_c *ReaderBatchWriter_SetScopedValue_Call) Return() *ReaderBatchWriter_SetScopedValue_Call
func (*ReaderBatchWriter_SetScopedValue_Call) Run ¶ added in v0.46.0
func (_c *ReaderBatchWriter_SetScopedValue_Call) Run(run func(key string, value any)) *ReaderBatchWriter_SetScopedValue_Call
func (*ReaderBatchWriter_SetScopedValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReaderBatchWriter_SetScopedValue_Call) RunAndReturn(run func(key string, value any)) *ReaderBatchWriter_SetScopedValue_Call
type ReaderBatchWriter_Writer_Call ¶ added in v0.46.0
ReaderBatchWriter_Writer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Writer'
func (*ReaderBatchWriter_Writer_Call) Return ¶ added in v0.46.0
func (_c *ReaderBatchWriter_Writer_Call) Return(writer storage.Writer) *ReaderBatchWriter_Writer_Call
func (*ReaderBatchWriter_Writer_Call) Run ¶ added in v0.46.0
func (_c *ReaderBatchWriter_Writer_Call) Run(run func()) *ReaderBatchWriter_Writer_Call
func (*ReaderBatchWriter_Writer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReaderBatchWriter_Writer_Call) RunAndReturn(run func() storage.Writer) *ReaderBatchWriter_Writer_Call
type Reader_Expecter ¶ added in v0.46.0
type Reader_Expecter struct {
// contains filtered or unexported fields
}
func (*Reader_Expecter) Get ¶ added in v0.46.0
func (_e *Reader_Expecter) Get(key interface{}) *Reader_Get_Call
Get is a helper method to define mock.On call
- key []byte
func (*Reader_Expecter) NewIter ¶ added in v0.46.0
func (_e *Reader_Expecter) NewIter(startPrefix interface{}, endPrefix interface{}, ops interface{}) *Reader_NewIter_Call
NewIter is a helper method to define mock.On call
- startPrefix []byte
- endPrefix []byte
- ops storage.IteratorOption
func (*Reader_Expecter) NewSeeker ¶ added in v0.46.0
func (_e *Reader_Expecter) NewSeeker() *Reader_NewSeeker_Call
NewSeeker is a helper method to define mock.On call
type Reader_Get_Call ¶ added in v0.46.0
Reader_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Reader_Get_Call) Return ¶ added in v0.46.0
func (_c *Reader_Get_Call) Return(value []byte, closer io.Closer, err error) *Reader_Get_Call
func (*Reader_Get_Call) Run ¶ added in v0.46.0
func (_c *Reader_Get_Call) Run(run func(key []byte)) *Reader_Get_Call
func (*Reader_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Reader_Get_Call) RunAndReturn(run func(key []byte) ([]byte, io.Closer, error)) *Reader_Get_Call
type Reader_NewIter_Call ¶ added in v0.46.0
Reader_NewIter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewIter'
func (*Reader_NewIter_Call) Return ¶ added in v0.46.0
func (_c *Reader_NewIter_Call) Return(iterator storage.Iterator, err error) *Reader_NewIter_Call
func (*Reader_NewIter_Call) Run ¶ added in v0.46.0
func (_c *Reader_NewIter_Call) Run(run func(startPrefix []byte, endPrefix []byte, ops storage.IteratorOption)) *Reader_NewIter_Call
func (*Reader_NewIter_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Reader_NewIter_Call) RunAndReturn(run func(startPrefix []byte, endPrefix []byte, ops storage.IteratorOption) (storage.Iterator, error)) *Reader_NewIter_Call
type Reader_NewSeeker_Call ¶ added in v0.46.0
Reader_NewSeeker_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewSeeker'
func (*Reader_NewSeeker_Call) Return ¶ added in v0.46.0
func (_c *Reader_NewSeeker_Call) Return(seeker storage.Seeker) *Reader_NewSeeker_Call
func (*Reader_NewSeeker_Call) Run ¶ added in v0.46.0
func (_c *Reader_NewSeeker_Call) Run(run func()) *Reader_NewSeeker_Call
func (*Reader_NewSeeker_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Reader_NewSeeker_Call) RunAndReturn(run func() storage.Seeker) *Reader_NewSeeker_Call
type RegisterIndex ¶ added in v0.32.0
RegisterIndex is an autogenerated mock type for the RegisterIndex type
func NewRegisterIndex ¶ added in v0.32.0
func NewRegisterIndex(t interface {
mock.TestingT
Cleanup(func())
}) *RegisterIndex
NewRegisterIndex creates a new instance of RegisterIndex. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RegisterIndex) EXPECT ¶ added in v0.46.0
func (_m *RegisterIndex) EXPECT() *RegisterIndex_Expecter
func (*RegisterIndex) FirstHeight ¶ added in v0.32.0
func (_mock *RegisterIndex) FirstHeight() uint64
FirstHeight provides a mock function for the type RegisterIndex
func (*RegisterIndex) Get ¶ added in v0.32.0
func (_mock *RegisterIndex) Get(ID flow.RegisterID, height uint64) (flow.RegisterValue, error)
Get provides a mock function for the type RegisterIndex
func (*RegisterIndex) LatestHeight ¶ added in v0.32.0
func (_mock *RegisterIndex) LatestHeight() uint64
LatestHeight provides a mock function for the type RegisterIndex
func (*RegisterIndex) Store ¶ added in v0.32.0
func (_mock *RegisterIndex) Store(entries flow.RegisterEntries, height uint64) error
Store provides a mock function for the type RegisterIndex
type RegisterIndexReader ¶ added in v0.41.0
RegisterIndexReader is an autogenerated mock type for the RegisterIndexReader type
func NewRegisterIndexReader ¶ added in v0.41.0
func NewRegisterIndexReader(t interface {
mock.TestingT
Cleanup(func())
}) *RegisterIndexReader
NewRegisterIndexReader creates a new instance of RegisterIndexReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RegisterIndexReader) EXPECT ¶ added in v0.46.0
func (_m *RegisterIndexReader) EXPECT() *RegisterIndexReader_Expecter
func (*RegisterIndexReader) FirstHeight ¶ added in v0.41.0
func (_mock *RegisterIndexReader) FirstHeight() uint64
FirstHeight provides a mock function for the type RegisterIndexReader
func (*RegisterIndexReader) Get ¶ added in v0.41.0
func (_mock *RegisterIndexReader) Get(ID flow.RegisterID, height uint64) (flow.RegisterValue, error)
Get provides a mock function for the type RegisterIndexReader
func (*RegisterIndexReader) LatestHeight ¶ added in v0.41.0
func (_mock *RegisterIndexReader) LatestHeight() uint64
LatestHeight provides a mock function for the type RegisterIndexReader
type RegisterIndexReader_Expecter ¶ added in v0.46.0
type RegisterIndexReader_Expecter struct {
// contains filtered or unexported fields
}
func (*RegisterIndexReader_Expecter) FirstHeight ¶ added in v0.46.0
func (_e *RegisterIndexReader_Expecter) FirstHeight() *RegisterIndexReader_FirstHeight_Call
FirstHeight is a helper method to define mock.On call
func (*RegisterIndexReader_Expecter) Get ¶ added in v0.46.0
func (_e *RegisterIndexReader_Expecter) Get(ID interface{}, height interface{}) *RegisterIndexReader_Get_Call
Get is a helper method to define mock.On call
- ID flow.RegisterID
- height uint64
func (*RegisterIndexReader_Expecter) LatestHeight ¶ added in v0.46.0
func (_e *RegisterIndexReader_Expecter) LatestHeight() *RegisterIndexReader_LatestHeight_Call
LatestHeight is a helper method to define mock.On call
type RegisterIndexReader_FirstHeight_Call ¶ added in v0.46.0
RegisterIndexReader_FirstHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstHeight'
func (*RegisterIndexReader_FirstHeight_Call) Return ¶ added in v0.46.0
func (_c *RegisterIndexReader_FirstHeight_Call) Return(v uint64) *RegisterIndexReader_FirstHeight_Call
func (*RegisterIndexReader_FirstHeight_Call) Run ¶ added in v0.46.0
func (_c *RegisterIndexReader_FirstHeight_Call) Run(run func()) *RegisterIndexReader_FirstHeight_Call
func (*RegisterIndexReader_FirstHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RegisterIndexReader_FirstHeight_Call) RunAndReturn(run func() uint64) *RegisterIndexReader_FirstHeight_Call
type RegisterIndexReader_Get_Call ¶ added in v0.46.0
RegisterIndexReader_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*RegisterIndexReader_Get_Call) Return ¶ added in v0.46.0
func (_c *RegisterIndexReader_Get_Call) Return(v flow.RegisterValue, err error) *RegisterIndexReader_Get_Call
func (*RegisterIndexReader_Get_Call) Run ¶ added in v0.46.0
func (_c *RegisterIndexReader_Get_Call) Run(run func(ID flow.RegisterID, height uint64)) *RegisterIndexReader_Get_Call
func (*RegisterIndexReader_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RegisterIndexReader_Get_Call) RunAndReturn(run func(ID flow.RegisterID, height uint64) (flow.RegisterValue, error)) *RegisterIndexReader_Get_Call
type RegisterIndexReader_LatestHeight_Call ¶ added in v0.46.0
RegisterIndexReader_LatestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestHeight'
func (*RegisterIndexReader_LatestHeight_Call) Return ¶ added in v0.46.0
func (_c *RegisterIndexReader_LatestHeight_Call) Return(v uint64) *RegisterIndexReader_LatestHeight_Call
func (*RegisterIndexReader_LatestHeight_Call) Run ¶ added in v0.46.0
func (_c *RegisterIndexReader_LatestHeight_Call) Run(run func()) *RegisterIndexReader_LatestHeight_Call
func (*RegisterIndexReader_LatestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RegisterIndexReader_LatestHeight_Call) RunAndReturn(run func() uint64) *RegisterIndexReader_LatestHeight_Call
type RegisterIndex_Expecter ¶ added in v0.46.0
type RegisterIndex_Expecter struct {
// contains filtered or unexported fields
}
func (*RegisterIndex_Expecter) FirstHeight ¶ added in v0.46.0
func (_e *RegisterIndex_Expecter) FirstHeight() *RegisterIndex_FirstHeight_Call
FirstHeight is a helper method to define mock.On call
func (*RegisterIndex_Expecter) Get ¶ added in v0.46.0
func (_e *RegisterIndex_Expecter) Get(ID interface{}, height interface{}) *RegisterIndex_Get_Call
Get is a helper method to define mock.On call
- ID flow.RegisterID
- height uint64
func (*RegisterIndex_Expecter) LatestHeight ¶ added in v0.46.0
func (_e *RegisterIndex_Expecter) LatestHeight() *RegisterIndex_LatestHeight_Call
LatestHeight is a helper method to define mock.On call
func (*RegisterIndex_Expecter) Store ¶ added in v0.46.0
func (_e *RegisterIndex_Expecter) Store(entries interface{}, height interface{}) *RegisterIndex_Store_Call
Store is a helper method to define mock.On call
- entries flow.RegisterEntries
- height uint64
type RegisterIndex_FirstHeight_Call ¶ added in v0.46.0
RegisterIndex_FirstHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstHeight'
func (*RegisterIndex_FirstHeight_Call) Return ¶ added in v0.46.0
func (_c *RegisterIndex_FirstHeight_Call) Return(v uint64) *RegisterIndex_FirstHeight_Call
func (*RegisterIndex_FirstHeight_Call) Run ¶ added in v0.46.0
func (_c *RegisterIndex_FirstHeight_Call) Run(run func()) *RegisterIndex_FirstHeight_Call
func (*RegisterIndex_FirstHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RegisterIndex_FirstHeight_Call) RunAndReturn(run func() uint64) *RegisterIndex_FirstHeight_Call
type RegisterIndex_Get_Call ¶ added in v0.46.0
RegisterIndex_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*RegisterIndex_Get_Call) Return ¶ added in v0.46.0
func (_c *RegisterIndex_Get_Call) Return(v flow.RegisterValue, err error) *RegisterIndex_Get_Call
func (*RegisterIndex_Get_Call) Run ¶ added in v0.46.0
func (_c *RegisterIndex_Get_Call) Run(run func(ID flow.RegisterID, height uint64)) *RegisterIndex_Get_Call
func (*RegisterIndex_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RegisterIndex_Get_Call) RunAndReturn(run func(ID flow.RegisterID, height uint64) (flow.RegisterValue, error)) *RegisterIndex_Get_Call
type RegisterIndex_LatestHeight_Call ¶ added in v0.46.0
RegisterIndex_LatestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestHeight'
func (*RegisterIndex_LatestHeight_Call) Return ¶ added in v0.46.0
func (_c *RegisterIndex_LatestHeight_Call) Return(v uint64) *RegisterIndex_LatestHeight_Call
func (*RegisterIndex_LatestHeight_Call) Run ¶ added in v0.46.0
func (_c *RegisterIndex_LatestHeight_Call) Run(run func()) *RegisterIndex_LatestHeight_Call
func (*RegisterIndex_LatestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RegisterIndex_LatestHeight_Call) RunAndReturn(run func() uint64) *RegisterIndex_LatestHeight_Call
type RegisterIndex_Store_Call ¶ added in v0.46.0
RegisterIndex_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*RegisterIndex_Store_Call) Return ¶ added in v0.46.0
func (_c *RegisterIndex_Store_Call) Return(err error) *RegisterIndex_Store_Call
func (*RegisterIndex_Store_Call) Run ¶ added in v0.46.0
func (_c *RegisterIndex_Store_Call) Run(run func(entries flow.RegisterEntries, height uint64)) *RegisterIndex_Store_Call
func (*RegisterIndex_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RegisterIndex_Store_Call) RunAndReturn(run func(entries flow.RegisterEntries, height uint64) error) *RegisterIndex_Store_Call
type ResultApprovals ¶ added in v0.14.0
ResultApprovals is an autogenerated mock type for the ResultApprovals type
func NewResultApprovals ¶ added in v0.26.1
func NewResultApprovals(t interface {
mock.TestingT
Cleanup(func())
}) *ResultApprovals
NewResultApprovals creates a new instance of ResultApprovals. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ResultApprovals) ByChunk ¶ added in v0.14.0
func (_mock *ResultApprovals) ByChunk(resultID flow.Identifier, chunkIndex uint64) (*flow.ResultApproval, error)
ByChunk provides a mock function for the type ResultApprovals
func (*ResultApprovals) ByID ¶ added in v0.14.0
func (_mock *ResultApprovals) ByID(approvalID flow.Identifier) (*flow.ResultApproval, error)
ByID provides a mock function for the type ResultApprovals
func (*ResultApprovals) EXPECT ¶ added in v0.46.0
func (_m *ResultApprovals) EXPECT() *ResultApprovals_Expecter
func (*ResultApprovals) StoreMyApproval ¶ added in v0.43.0
func (_mock *ResultApprovals) StoreMyApproval(approval *flow.ResultApproval) func(lctx lockctx.Proof) error
StoreMyApproval provides a mock function for the type ResultApprovals
type ResultApprovals_ByChunk_Call ¶ added in v0.46.0
ResultApprovals_ByChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByChunk'
func (*ResultApprovals_ByChunk_Call) Return ¶ added in v0.46.0
func (_c *ResultApprovals_ByChunk_Call) Return(resultApproval *flow.ResultApproval, err error) *ResultApprovals_ByChunk_Call
func (*ResultApprovals_ByChunk_Call) Run ¶ added in v0.46.0
func (_c *ResultApprovals_ByChunk_Call) Run(run func(resultID flow.Identifier, chunkIndex uint64)) *ResultApprovals_ByChunk_Call
func (*ResultApprovals_ByChunk_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResultApprovals_ByChunk_Call) RunAndReturn(run func(resultID flow.Identifier, chunkIndex uint64) (*flow.ResultApproval, error)) *ResultApprovals_ByChunk_Call
type ResultApprovals_ByID_Call ¶ added in v0.46.0
ResultApprovals_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*ResultApprovals_ByID_Call) Return ¶ added in v0.46.0
func (_c *ResultApprovals_ByID_Call) Return(resultApproval *flow.ResultApproval, err error) *ResultApprovals_ByID_Call
func (*ResultApprovals_ByID_Call) Run ¶ added in v0.46.0
func (_c *ResultApprovals_ByID_Call) Run(run func(approvalID flow.Identifier)) *ResultApprovals_ByID_Call
func (*ResultApprovals_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResultApprovals_ByID_Call) RunAndReturn(run func(approvalID flow.Identifier) (*flow.ResultApproval, error)) *ResultApprovals_ByID_Call
type ResultApprovals_Expecter ¶ added in v0.46.0
type ResultApprovals_Expecter struct {
// contains filtered or unexported fields
}
func (*ResultApprovals_Expecter) ByChunk ¶ added in v0.46.0
func (_e *ResultApprovals_Expecter) ByChunk(resultID interface{}, chunkIndex interface{}) *ResultApprovals_ByChunk_Call
ByChunk is a helper method to define mock.On call
- resultID flow.Identifier
- chunkIndex uint64
func (*ResultApprovals_Expecter) ByID ¶ added in v0.46.0
func (_e *ResultApprovals_Expecter) ByID(approvalID interface{}) *ResultApprovals_ByID_Call
ByID is a helper method to define mock.On call
- approvalID flow.Identifier
func (*ResultApprovals_Expecter) StoreMyApproval ¶ added in v0.46.0
func (_e *ResultApprovals_Expecter) StoreMyApproval(approval interface{}) *ResultApprovals_StoreMyApproval_Call
StoreMyApproval is a helper method to define mock.On call
- approval *flow.ResultApproval
type ResultApprovals_StoreMyApproval_Call ¶ added in v0.46.0
ResultApprovals_StoreMyApproval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreMyApproval'
func (*ResultApprovals_StoreMyApproval_Call) Return ¶ added in v0.46.0
func (_c *ResultApprovals_StoreMyApproval_Call) Return(fn func(lctx lockctx.Proof) error) *ResultApprovals_StoreMyApproval_Call
func (*ResultApprovals_StoreMyApproval_Call) Run ¶ added in v0.46.0
func (_c *ResultApprovals_StoreMyApproval_Call) Run(run func(approval *flow.ResultApproval)) *ResultApprovals_StoreMyApproval_Call
func (*ResultApprovals_StoreMyApproval_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ResultApprovals_StoreMyApproval_Call) RunAndReturn(run func(approval *flow.ResultApproval) func(lctx lockctx.Proof) error) *ResultApprovals_StoreMyApproval_Call
type SafeBeaconKeys ¶ added in v0.23.9
SafeBeaconKeys is an autogenerated mock type for the SafeBeaconKeys type
func NewSafeBeaconKeys ¶ added in v0.26.1
func NewSafeBeaconKeys(t interface {
mock.TestingT
Cleanup(func())
}) *SafeBeaconKeys
NewSafeBeaconKeys creates a new instance of SafeBeaconKeys. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SafeBeaconKeys) EXPECT ¶ added in v0.46.0
func (_m *SafeBeaconKeys) EXPECT() *SafeBeaconKeys_Expecter
func (*SafeBeaconKeys) RetrieveMyBeaconPrivateKey ¶ added in v0.23.9
func (_mock *SafeBeaconKeys) RetrieveMyBeaconPrivateKey(epochCounter uint64) (crypto.PrivateKey, bool, error)
RetrieveMyBeaconPrivateKey provides a mock function for the type SafeBeaconKeys
type SafeBeaconKeys_Expecter ¶ added in v0.46.0
type SafeBeaconKeys_Expecter struct {
// contains filtered or unexported fields
}
func (*SafeBeaconKeys_Expecter) RetrieveMyBeaconPrivateKey ¶ added in v0.46.0
func (_e *SafeBeaconKeys_Expecter) RetrieveMyBeaconPrivateKey(epochCounter interface{}) *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
RetrieveMyBeaconPrivateKey is a helper method to define mock.On call
- epochCounter uint64
type SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call ¶ added in v0.46.0
SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveMyBeaconPrivateKey'
func (*SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) Return ¶ added in v0.46.0
func (_c *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) Return(key crypto.PrivateKey, safe bool, err error) *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
func (*SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) Run ¶ added in v0.46.0
func (_c *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) Run(run func(epochCounter uint64)) *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
func (*SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call) RunAndReturn(run func(epochCounter uint64) (crypto.PrivateKey, bool, error)) *SafeBeaconKeys_RetrieveMyBeaconPrivateKey_Call
type ScheduledTransactions ¶ added in v0.43.2
ScheduledTransactions is an autogenerated mock type for the ScheduledTransactions type
func NewScheduledTransactions ¶ added in v0.43.2
func NewScheduledTransactions(t interface {
mock.TestingT
Cleanup(func())
}) *ScheduledTransactions
NewScheduledTransactions creates a new instance of ScheduledTransactions. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScheduledTransactions) BatchIndex ¶ added in v0.43.2
func (_mock *ScheduledTransactions) BatchIndex(lctx lockctx.Proof, blockID flow.Identifier, txID flow.Identifier, scheduledTxID uint64, batch storage.ReaderBatchWriter) error
BatchIndex provides a mock function for the type ScheduledTransactions
func (*ScheduledTransactions) BlockIDByTransactionID ¶ added in v0.43.2
func (_mock *ScheduledTransactions) BlockIDByTransactionID(txID flow.Identifier) (flow.Identifier, error)
BlockIDByTransactionID provides a mock function for the type ScheduledTransactions
func (*ScheduledTransactions) EXPECT ¶ added in v0.46.0
func (_m *ScheduledTransactions) EXPECT() *ScheduledTransactions_Expecter
func (*ScheduledTransactions) TransactionIDByID ¶ added in v0.43.2
func (_mock *ScheduledTransactions) TransactionIDByID(scheduledTxID uint64) (flow.Identifier, error)
TransactionIDByID provides a mock function for the type ScheduledTransactions
type ScheduledTransactionsReader ¶ added in v0.43.2
ScheduledTransactionsReader is an autogenerated mock type for the ScheduledTransactionsReader type
func NewScheduledTransactionsReader ¶ added in v0.43.2
func NewScheduledTransactionsReader(t interface {
mock.TestingT
Cleanup(func())
}) *ScheduledTransactionsReader
NewScheduledTransactionsReader creates a new instance of ScheduledTransactionsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScheduledTransactionsReader) BlockIDByTransactionID ¶ added in v0.43.2
func (_mock *ScheduledTransactionsReader) BlockIDByTransactionID(txID flow.Identifier) (flow.Identifier, error)
BlockIDByTransactionID provides a mock function for the type ScheduledTransactionsReader
func (*ScheduledTransactionsReader) EXPECT ¶ added in v0.46.0
func (_m *ScheduledTransactionsReader) EXPECT() *ScheduledTransactionsReader_Expecter
func (*ScheduledTransactionsReader) TransactionIDByID ¶ added in v0.43.2
func (_mock *ScheduledTransactionsReader) TransactionIDByID(scheduledTxID uint64) (flow.Identifier, error)
TransactionIDByID provides a mock function for the type ScheduledTransactionsReader
type ScheduledTransactionsReader_BlockIDByTransactionID_Call ¶ added in v0.46.0
ScheduledTransactionsReader_BlockIDByTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockIDByTransactionID'
func (*ScheduledTransactionsReader_BlockIDByTransactionID_Call) Return ¶ added in v0.46.0
func (_c *ScheduledTransactionsReader_BlockIDByTransactionID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactionsReader_BlockIDByTransactionID_Call
func (*ScheduledTransactionsReader_BlockIDByTransactionID_Call) Run ¶ added in v0.46.0
func (_c *ScheduledTransactionsReader_BlockIDByTransactionID_Call) Run(run func(txID flow.Identifier)) *ScheduledTransactionsReader_BlockIDByTransactionID_Call
func (*ScheduledTransactionsReader_BlockIDByTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScheduledTransactionsReader_BlockIDByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (flow.Identifier, error)) *ScheduledTransactionsReader_BlockIDByTransactionID_Call
type ScheduledTransactionsReader_Expecter ¶ added in v0.46.0
type ScheduledTransactionsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ScheduledTransactionsReader_Expecter) BlockIDByTransactionID ¶ added in v0.46.0
func (_e *ScheduledTransactionsReader_Expecter) BlockIDByTransactionID(txID interface{}) *ScheduledTransactionsReader_BlockIDByTransactionID_Call
BlockIDByTransactionID is a helper method to define mock.On call
- txID flow.Identifier
func (*ScheduledTransactionsReader_Expecter) TransactionIDByID ¶ added in v0.46.0
func (_e *ScheduledTransactionsReader_Expecter) TransactionIDByID(scheduledTxID interface{}) *ScheduledTransactionsReader_TransactionIDByID_Call
TransactionIDByID is a helper method to define mock.On call
- scheduledTxID uint64
type ScheduledTransactionsReader_TransactionIDByID_Call ¶ added in v0.46.0
ScheduledTransactionsReader_TransactionIDByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionIDByID'
func (*ScheduledTransactionsReader_TransactionIDByID_Call) Return ¶ added in v0.46.0
func (_c *ScheduledTransactionsReader_TransactionIDByID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactionsReader_TransactionIDByID_Call
func (*ScheduledTransactionsReader_TransactionIDByID_Call) Run ¶ added in v0.46.0
func (_c *ScheduledTransactionsReader_TransactionIDByID_Call) Run(run func(scheduledTxID uint64)) *ScheduledTransactionsReader_TransactionIDByID_Call
func (*ScheduledTransactionsReader_TransactionIDByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScheduledTransactionsReader_TransactionIDByID_Call) RunAndReturn(run func(scheduledTxID uint64) (flow.Identifier, error)) *ScheduledTransactionsReader_TransactionIDByID_Call
type ScheduledTransactions_BatchIndex_Call ¶ added in v0.46.0
ScheduledTransactions_BatchIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchIndex'
func (*ScheduledTransactions_BatchIndex_Call) Return ¶ added in v0.46.0
func (_c *ScheduledTransactions_BatchIndex_Call) Return(err error) *ScheduledTransactions_BatchIndex_Call
func (*ScheduledTransactions_BatchIndex_Call) Run ¶ added in v0.46.0
func (_c *ScheduledTransactions_BatchIndex_Call) Run(run func(lctx lockctx.Proof, blockID flow.Identifier, txID flow.Identifier, scheduledTxID uint64, batch storage.ReaderBatchWriter)) *ScheduledTransactions_BatchIndex_Call
func (*ScheduledTransactions_BatchIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScheduledTransactions_BatchIndex_Call) RunAndReturn(run func(lctx lockctx.Proof, blockID flow.Identifier, txID flow.Identifier, scheduledTxID uint64, batch storage.ReaderBatchWriter) error) *ScheduledTransactions_BatchIndex_Call
type ScheduledTransactions_BlockIDByTransactionID_Call ¶ added in v0.46.0
ScheduledTransactions_BlockIDByTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockIDByTransactionID'
func (*ScheduledTransactions_BlockIDByTransactionID_Call) Return ¶ added in v0.46.0
func (_c *ScheduledTransactions_BlockIDByTransactionID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactions_BlockIDByTransactionID_Call
func (*ScheduledTransactions_BlockIDByTransactionID_Call) Run ¶ added in v0.46.0
func (_c *ScheduledTransactions_BlockIDByTransactionID_Call) Run(run func(txID flow.Identifier)) *ScheduledTransactions_BlockIDByTransactionID_Call
func (*ScheduledTransactions_BlockIDByTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScheduledTransactions_BlockIDByTransactionID_Call) RunAndReturn(run func(txID flow.Identifier) (flow.Identifier, error)) *ScheduledTransactions_BlockIDByTransactionID_Call
type ScheduledTransactions_Expecter ¶ added in v0.46.0
type ScheduledTransactions_Expecter struct {
// contains filtered or unexported fields
}
func (*ScheduledTransactions_Expecter) BatchIndex ¶ added in v0.46.0
func (_e *ScheduledTransactions_Expecter) BatchIndex(lctx interface{}, blockID interface{}, txID interface{}, scheduledTxID interface{}, batch interface{}) *ScheduledTransactions_BatchIndex_Call
BatchIndex is a helper method to define mock.On call
- lctx lockctx.Proof
- blockID flow.Identifier
- txID flow.Identifier
- scheduledTxID uint64
- batch storage.ReaderBatchWriter
func (*ScheduledTransactions_Expecter) BlockIDByTransactionID ¶ added in v0.46.0
func (_e *ScheduledTransactions_Expecter) BlockIDByTransactionID(txID interface{}) *ScheduledTransactions_BlockIDByTransactionID_Call
BlockIDByTransactionID is a helper method to define mock.On call
- txID flow.Identifier
func (*ScheduledTransactions_Expecter) TransactionIDByID ¶ added in v0.46.0
func (_e *ScheduledTransactions_Expecter) TransactionIDByID(scheduledTxID interface{}) *ScheduledTransactions_TransactionIDByID_Call
TransactionIDByID is a helper method to define mock.On call
- scheduledTxID uint64
type ScheduledTransactions_TransactionIDByID_Call ¶ added in v0.46.0
ScheduledTransactions_TransactionIDByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionIDByID'
func (*ScheduledTransactions_TransactionIDByID_Call) Return ¶ added in v0.46.0
func (_c *ScheduledTransactions_TransactionIDByID_Call) Return(identifier flow.Identifier, err error) *ScheduledTransactions_TransactionIDByID_Call
func (*ScheduledTransactions_TransactionIDByID_Call) Run ¶ added in v0.46.0
func (_c *ScheduledTransactions_TransactionIDByID_Call) Run(run func(scheduledTxID uint64)) *ScheduledTransactions_TransactionIDByID_Call
func (*ScheduledTransactions_TransactionIDByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScheduledTransactions_TransactionIDByID_Call) RunAndReturn(run func(scheduledTxID uint64) (flow.Identifier, error)) *ScheduledTransactions_TransactionIDByID_Call
type Seals ¶
Seals is an autogenerated mock type for the Seals type
func NewSeals ¶ added in v0.26.1
NewSeals creates a new instance of Seals. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Seals) EXPECT ¶ added in v0.46.0
func (_m *Seals) EXPECT() *Seals_Expecter
func (*Seals) FinalizedSealForBlock ¶ added in v0.26.6
FinalizedSealForBlock provides a mock function for the type Seals
func (*Seals) HighestInFork ¶ added in v0.26.6
HighestInFork provides a mock function for the type Seals
type Seals_ByID_Call ¶ added in v0.46.0
Seals_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*Seals_ByID_Call) Return ¶ added in v0.46.0
func (_c *Seals_ByID_Call) Return(seal *flow.Seal, err error) *Seals_ByID_Call
func (*Seals_ByID_Call) Run ¶ added in v0.46.0
func (_c *Seals_ByID_Call) Run(run func(sealID flow.Identifier)) *Seals_ByID_Call
func (*Seals_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Seals_ByID_Call) RunAndReturn(run func(sealID flow.Identifier) (*flow.Seal, error)) *Seals_ByID_Call
type Seals_Expecter ¶ added in v0.46.0
type Seals_Expecter struct {
// contains filtered or unexported fields
}
func (*Seals_Expecter) ByID ¶ added in v0.46.0
func (_e *Seals_Expecter) ByID(sealID interface{}) *Seals_ByID_Call
ByID is a helper method to define mock.On call
- sealID flow.Identifier
func (*Seals_Expecter) FinalizedSealForBlock ¶ added in v0.46.0
func (_e *Seals_Expecter) FinalizedSealForBlock(blockID interface{}) *Seals_FinalizedSealForBlock_Call
FinalizedSealForBlock is a helper method to define mock.On call
- blockID flow.Identifier
func (*Seals_Expecter) HighestInFork ¶ added in v0.46.0
func (_e *Seals_Expecter) HighestInFork(blockID interface{}) *Seals_HighestInFork_Call
HighestInFork is a helper method to define mock.On call
- blockID flow.Identifier
func (*Seals_Expecter) Store ¶ added in v0.46.0
func (_e *Seals_Expecter) Store(seal interface{}) *Seals_Store_Call
Store is a helper method to define mock.On call
- seal *flow.Seal
type Seals_FinalizedSealForBlock_Call ¶ added in v0.46.0
Seals_FinalizedSealForBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalizedSealForBlock'
func (*Seals_FinalizedSealForBlock_Call) Return ¶ added in v0.46.0
func (_c *Seals_FinalizedSealForBlock_Call) Return(seal *flow.Seal, err error) *Seals_FinalizedSealForBlock_Call
func (*Seals_FinalizedSealForBlock_Call) Run ¶ added in v0.46.0
func (_c *Seals_FinalizedSealForBlock_Call) Run(run func(blockID flow.Identifier)) *Seals_FinalizedSealForBlock_Call
func (*Seals_FinalizedSealForBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Seals_FinalizedSealForBlock_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Seal, error)) *Seals_FinalizedSealForBlock_Call
type Seals_HighestInFork_Call ¶ added in v0.46.0
Seals_HighestInFork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HighestInFork'
func (*Seals_HighestInFork_Call) Return ¶ added in v0.46.0
func (_c *Seals_HighestInFork_Call) Return(seal *flow.Seal, err error) *Seals_HighestInFork_Call
func (*Seals_HighestInFork_Call) Run ¶ added in v0.46.0
func (_c *Seals_HighestInFork_Call) Run(run func(blockID flow.Identifier)) *Seals_HighestInFork_Call
func (*Seals_HighestInFork_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Seals_HighestInFork_Call) RunAndReturn(run func(blockID flow.Identifier) (*flow.Seal, error)) *Seals_HighestInFork_Call
type Seals_Store_Call ¶ added in v0.46.0
Seals_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*Seals_Store_Call) Return ¶ added in v0.46.0
func (_c *Seals_Store_Call) Return(err error) *Seals_Store_Call
func (*Seals_Store_Call) Run ¶ added in v0.46.0
func (_c *Seals_Store_Call) Run(run func(seal *flow.Seal)) *Seals_Store_Call
func (*Seals_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Seals_Store_Call) RunAndReturn(run func(seal *flow.Seal) error) *Seals_Store_Call
type Seeker ¶ added in v0.41.0
Seeker is an autogenerated mock type for the Seeker type
func NewSeeker ¶ added in v0.41.0
NewSeeker creates a new instance of Seeker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Seeker) EXPECT ¶ added in v0.46.0
func (_m *Seeker) EXPECT() *Seeker_Expecter
type Seeker_Expecter ¶ added in v0.46.0
type Seeker_Expecter struct {
// contains filtered or unexported fields
}
func (*Seeker_Expecter) SeekLE ¶ added in v0.46.0
func (_e *Seeker_Expecter) SeekLE(startPrefix interface{}, key interface{}) *Seeker_SeekLE_Call
SeekLE is a helper method to define mock.On call
- startPrefix []byte
- key []byte
type Seeker_SeekLE_Call ¶ added in v0.46.0
Seeker_SeekLE_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SeekLE'
func (*Seeker_SeekLE_Call) Return ¶ added in v0.46.0
func (_c *Seeker_SeekLE_Call) Return(bytes []byte, err error) *Seeker_SeekLE_Call
func (*Seeker_SeekLE_Call) Run ¶ added in v0.46.0
func (_c *Seeker_SeekLE_Call) Run(run func(startPrefix []byte, key []byte)) *Seeker_SeekLE_Call
func (*Seeker_SeekLE_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Seeker_SeekLE_Call) RunAndReturn(run func(startPrefix []byte, key []byte) ([]byte, error)) *Seeker_SeekLE_Call
type ServiceEvents ¶ added in v0.14.0
ServiceEvents is an autogenerated mock type for the ServiceEvents type
func NewServiceEvents ¶ added in v0.26.1
func NewServiceEvents(t interface {
mock.TestingT
Cleanup(func())
}) *ServiceEvents
NewServiceEvents creates a new instance of ServiceEvents. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceEvents) BatchRemoveByBlockID ¶ added in v0.30.0
func (_mock *ServiceEvents) BatchRemoveByBlockID(blockID flow.Identifier, batch storage.ReaderBatchWriter) error
BatchRemoveByBlockID provides a mock function for the type ServiceEvents
func (*ServiceEvents) BatchStore ¶ added in v0.15.0
func (_mock *ServiceEvents) BatchStore(lctx lockctx.Proof, blockID flow.Identifier, events []flow.Event, batch storage.ReaderBatchWriter) error
BatchStore provides a mock function for the type ServiceEvents
func (*ServiceEvents) ByBlockID ¶ added in v0.14.0
func (_mock *ServiceEvents) ByBlockID(blockID flow.Identifier) ([]flow.Event, error)
ByBlockID provides a mock function for the type ServiceEvents
func (*ServiceEvents) EXPECT ¶ added in v0.46.0
func (_m *ServiceEvents) EXPECT() *ServiceEvents_Expecter
type ServiceEvents_BatchRemoveByBlockID_Call ¶ added in v0.46.0
ServiceEvents_BatchRemoveByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemoveByBlockID'
func (*ServiceEvents_BatchRemoveByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ServiceEvents_BatchRemoveByBlockID_Call) Return(err error) *ServiceEvents_BatchRemoveByBlockID_Call
func (*ServiceEvents_BatchRemoveByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ServiceEvents_BatchRemoveByBlockID_Call) Run(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter)) *ServiceEvents_BatchRemoveByBlockID_Call
func (*ServiceEvents_BatchRemoveByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ServiceEvents_BatchRemoveByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier, batch storage.ReaderBatchWriter) error) *ServiceEvents_BatchRemoveByBlockID_Call
type ServiceEvents_BatchStore_Call ¶ added in v0.46.0
ServiceEvents_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*ServiceEvents_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *ServiceEvents_BatchStore_Call) Return(err error) *ServiceEvents_BatchStore_Call
func (*ServiceEvents_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *ServiceEvents_BatchStore_Call) Run(run func(lctx lockctx.Proof, blockID flow.Identifier, events []flow.Event, batch storage.ReaderBatchWriter)) *ServiceEvents_BatchStore_Call
func (*ServiceEvents_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ServiceEvents_BatchStore_Call) RunAndReturn(run func(lctx lockctx.Proof, blockID flow.Identifier, events []flow.Event, batch storage.ReaderBatchWriter) error) *ServiceEvents_BatchStore_Call
type ServiceEvents_ByBlockID_Call ¶ added in v0.46.0
ServiceEvents_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*ServiceEvents_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *ServiceEvents_ByBlockID_Call) Return(events []flow.Event, err error) *ServiceEvents_ByBlockID_Call
func (*ServiceEvents_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *ServiceEvents_ByBlockID_Call) Run(run func(blockID flow.Identifier)) *ServiceEvents_ByBlockID_Call
func (*ServiceEvents_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ServiceEvents_ByBlockID_Call) RunAndReturn(run func(blockID flow.Identifier) ([]flow.Event, error)) *ServiceEvents_ByBlockID_Call
type ServiceEvents_Expecter ¶ added in v0.46.0
type ServiceEvents_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceEvents_Expecter) BatchRemoveByBlockID ¶ added in v0.46.0
func (_e *ServiceEvents_Expecter) BatchRemoveByBlockID(blockID interface{}, batch interface{}) *ServiceEvents_BatchRemoveByBlockID_Call
BatchRemoveByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
- batch storage.ReaderBatchWriter
func (*ServiceEvents_Expecter) BatchStore ¶ added in v0.46.0
func (_e *ServiceEvents_Expecter) BatchStore(lctx interface{}, blockID interface{}, events interface{}, batch interface{}) *ServiceEvents_BatchStore_Call
BatchStore is a helper method to define mock.On call
- lctx lockctx.Proof
- blockID flow.Identifier
- events []flow.Event
- batch storage.ReaderBatchWriter
func (*ServiceEvents_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *ServiceEvents_Expecter) ByBlockID(blockID interface{}) *ServiceEvents_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- blockID flow.Identifier
type StoredChunkDataPacks ¶ added in v0.43.2
StoredChunkDataPacks is an autogenerated mock type for the StoredChunkDataPacks type
func NewStoredChunkDataPacks ¶ added in v0.43.2
func NewStoredChunkDataPacks(t interface {
mock.TestingT
Cleanup(func())
}) *StoredChunkDataPacks
NewStoredChunkDataPacks creates a new instance of StoredChunkDataPacks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StoredChunkDataPacks) BatchRemove ¶ added in v0.43.2
func (_mock *StoredChunkDataPacks) BatchRemove(chunkDataPackIDs []flow.Identifier, rw storage.ReaderBatchWriter) error
BatchRemove provides a mock function for the type StoredChunkDataPacks
func (*StoredChunkDataPacks) ByID ¶ added in v0.43.2
func (_mock *StoredChunkDataPacks) ByID(id flow.Identifier) (*storage.StoredChunkDataPack, error)
ByID provides a mock function for the type StoredChunkDataPacks
func (*StoredChunkDataPacks) EXPECT ¶ added in v0.46.0
func (_m *StoredChunkDataPacks) EXPECT() *StoredChunkDataPacks_Expecter
func (*StoredChunkDataPacks) Remove ¶ added in v0.43.2
func (_mock *StoredChunkDataPacks) Remove(chunkDataPackIDs []flow.Identifier) error
Remove provides a mock function for the type StoredChunkDataPacks
func (*StoredChunkDataPacks) StoreChunkDataPacks ¶ added in v0.43.2
func (_mock *StoredChunkDataPacks) StoreChunkDataPacks(cs []*storage.StoredChunkDataPack) ([]flow.Identifier, error)
StoreChunkDataPacks provides a mock function for the type StoredChunkDataPacks
type StoredChunkDataPacks_BatchRemove_Call ¶ added in v0.46.0
StoredChunkDataPacks_BatchRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemove'
func (*StoredChunkDataPacks_BatchRemove_Call) Return ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_BatchRemove_Call) Return(err error) *StoredChunkDataPacks_BatchRemove_Call
func (*StoredChunkDataPacks_BatchRemove_Call) Run ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_BatchRemove_Call) Run(run func(chunkDataPackIDs []flow.Identifier, rw storage.ReaderBatchWriter)) *StoredChunkDataPacks_BatchRemove_Call
func (*StoredChunkDataPacks_BatchRemove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_BatchRemove_Call) RunAndReturn(run func(chunkDataPackIDs []flow.Identifier, rw storage.ReaderBatchWriter) error) *StoredChunkDataPacks_BatchRemove_Call
type StoredChunkDataPacks_ByID_Call ¶ added in v0.46.0
StoredChunkDataPacks_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*StoredChunkDataPacks_ByID_Call) Return ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_ByID_Call) Return(storedChunkDataPack *storage.StoredChunkDataPack, err error) *StoredChunkDataPacks_ByID_Call
func (*StoredChunkDataPacks_ByID_Call) Run ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_ByID_Call) Run(run func(id flow.Identifier)) *StoredChunkDataPacks_ByID_Call
func (*StoredChunkDataPacks_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_ByID_Call) RunAndReturn(run func(id flow.Identifier) (*storage.StoredChunkDataPack, error)) *StoredChunkDataPacks_ByID_Call
type StoredChunkDataPacks_Expecter ¶ added in v0.46.0
type StoredChunkDataPacks_Expecter struct {
// contains filtered or unexported fields
}
func (*StoredChunkDataPacks_Expecter) BatchRemove ¶ added in v0.46.0
func (_e *StoredChunkDataPacks_Expecter) BatchRemove(chunkDataPackIDs interface{}, rw interface{}) *StoredChunkDataPacks_BatchRemove_Call
BatchRemove is a helper method to define mock.On call
- chunkDataPackIDs []flow.Identifier
- rw storage.ReaderBatchWriter
func (*StoredChunkDataPacks_Expecter) ByID ¶ added in v0.46.0
func (_e *StoredChunkDataPacks_Expecter) ByID(id interface{}) *StoredChunkDataPacks_ByID_Call
ByID is a helper method to define mock.On call
- id flow.Identifier
func (*StoredChunkDataPacks_Expecter) Remove ¶ added in v0.46.0
func (_e *StoredChunkDataPacks_Expecter) Remove(chunkDataPackIDs interface{}) *StoredChunkDataPacks_Remove_Call
Remove is a helper method to define mock.On call
- chunkDataPackIDs []flow.Identifier
func (*StoredChunkDataPacks_Expecter) StoreChunkDataPacks ¶ added in v0.46.0
func (_e *StoredChunkDataPacks_Expecter) StoreChunkDataPacks(cs interface{}) *StoredChunkDataPacks_StoreChunkDataPacks_Call
StoreChunkDataPacks is a helper method to define mock.On call
- cs []*storage.StoredChunkDataPack
type StoredChunkDataPacks_Remove_Call ¶ added in v0.46.0
StoredChunkDataPacks_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*StoredChunkDataPacks_Remove_Call) Return ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_Remove_Call) Return(err error) *StoredChunkDataPacks_Remove_Call
func (*StoredChunkDataPacks_Remove_Call) Run ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_Remove_Call) Run(run func(chunkDataPackIDs []flow.Identifier)) *StoredChunkDataPacks_Remove_Call
func (*StoredChunkDataPacks_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_Remove_Call) RunAndReturn(run func(chunkDataPackIDs []flow.Identifier) error) *StoredChunkDataPacks_Remove_Call
type StoredChunkDataPacks_StoreChunkDataPacks_Call ¶ added in v0.46.0
StoredChunkDataPacks_StoreChunkDataPacks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreChunkDataPacks'
func (*StoredChunkDataPacks_StoreChunkDataPacks_Call) Return ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_StoreChunkDataPacks_Call) Return(identifiers []flow.Identifier, err error) *StoredChunkDataPacks_StoreChunkDataPacks_Call
func (*StoredChunkDataPacks_StoreChunkDataPacks_Call) Run ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_StoreChunkDataPacks_Call) Run(run func(cs []*storage.StoredChunkDataPack)) *StoredChunkDataPacks_StoreChunkDataPacks_Call
func (*StoredChunkDataPacks_StoreChunkDataPacks_Call) RunAndReturn ¶ added in v0.46.0
func (_c *StoredChunkDataPacks_StoreChunkDataPacks_Call) RunAndReturn(run func(cs []*storage.StoredChunkDataPack) ([]flow.Identifier, error)) *StoredChunkDataPacks_StoreChunkDataPacks_Call
type Transaction ¶ added in v0.15.2
Transaction is an autogenerated mock type for the Transaction type
func NewTransaction ¶ added in v0.26.1
func NewTransaction(t interface {
mock.TestingT
Cleanup(func())
}) *Transaction
NewTransaction creates a new instance of Transaction. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Transaction) EXPECT ¶ added in v0.46.0
func (_m *Transaction) EXPECT() *Transaction_Expecter
type TransactionResultErrorMessages ¶ added in v0.38.0
TransactionResultErrorMessages is an autogenerated mock type for the TransactionResultErrorMessages type
func NewTransactionResultErrorMessages ¶ added in v0.38.0
func NewTransactionResultErrorMessages(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionResultErrorMessages
NewTransactionResultErrorMessages creates a new instance of TransactionResultErrorMessages. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionResultErrorMessages) BatchStore ¶ added in v0.43.0
func (_mock *TransactionResultErrorMessages) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResultErrorMessages []flow.TransactionResultErrorMessage) error
BatchStore provides a mock function for the type TransactionResultErrorMessages
func (*TransactionResultErrorMessages) ByBlockID ¶ added in v0.38.0
func (_mock *TransactionResultErrorMessages) ByBlockID(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)
ByBlockID provides a mock function for the type TransactionResultErrorMessages
func (*TransactionResultErrorMessages) ByBlockIDTransactionID ¶ added in v0.38.0
func (_mock *TransactionResultErrorMessages) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResultErrorMessage, error)
ByBlockIDTransactionID provides a mock function for the type TransactionResultErrorMessages
func (*TransactionResultErrorMessages) ByBlockIDTransactionIndex ¶ added in v0.38.0
func (_mock *TransactionResultErrorMessages) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResultErrorMessage, error)
ByBlockIDTransactionIndex provides a mock function for the type TransactionResultErrorMessages
func (*TransactionResultErrorMessages) EXPECT ¶ added in v0.46.0
func (_m *TransactionResultErrorMessages) EXPECT() *TransactionResultErrorMessages_Expecter
func (*TransactionResultErrorMessages) Exists ¶ added in v0.38.0
func (_mock *TransactionResultErrorMessages) Exists(blockID flow.Identifier) (bool, error)
Exists provides a mock function for the type TransactionResultErrorMessages
func (*TransactionResultErrorMessages) Store ¶ added in v0.38.0
func (_mock *TransactionResultErrorMessages) Store(lctx lockctx.Proof, blockID flow.Identifier, transactionResultErrorMessages []flow.TransactionResultErrorMessage) error
Store provides a mock function for the type TransactionResultErrorMessages
type TransactionResultErrorMessagesReader ¶ added in v0.41.0
TransactionResultErrorMessagesReader is an autogenerated mock type for the TransactionResultErrorMessagesReader type
func NewTransactionResultErrorMessagesReader ¶ added in v0.41.0
func NewTransactionResultErrorMessagesReader(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionResultErrorMessagesReader
NewTransactionResultErrorMessagesReader creates a new instance of TransactionResultErrorMessagesReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionResultErrorMessagesReader) ByBlockID ¶ added in v0.41.0
func (_mock *TransactionResultErrorMessagesReader) ByBlockID(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)
ByBlockID provides a mock function for the type TransactionResultErrorMessagesReader
func (*TransactionResultErrorMessagesReader) ByBlockIDTransactionID ¶ added in v0.41.0
func (_mock *TransactionResultErrorMessagesReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResultErrorMessage, error)
ByBlockIDTransactionID provides a mock function for the type TransactionResultErrorMessagesReader
func (*TransactionResultErrorMessagesReader) ByBlockIDTransactionIndex ¶ added in v0.41.0
func (_mock *TransactionResultErrorMessagesReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResultErrorMessage, error)
ByBlockIDTransactionIndex provides a mock function for the type TransactionResultErrorMessagesReader
func (*TransactionResultErrorMessagesReader) EXPECT ¶ added in v0.46.0
func (_m *TransactionResultErrorMessagesReader) EXPECT() *TransactionResultErrorMessagesReader_Expecter
func (*TransactionResultErrorMessagesReader) Exists ¶ added in v0.41.0
func (_mock *TransactionResultErrorMessagesReader) Exists(blockID flow.Identifier) (bool, error)
Exists provides a mock function for the type TransactionResultErrorMessagesReader
type TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call ¶ added in v0.46.0
TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
func (*TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
func (*TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
type TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
func (*TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
func (*TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
type TransactionResultErrorMessagesReader_ByBlockID_Call ¶ added in v0.46.0
TransactionResultErrorMessagesReader_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*TransactionResultErrorMessagesReader_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockID_Call) Return(transactionResultErrorMessages []flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessagesReader_ByBlockID_Call
func (*TransactionResultErrorMessagesReader_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResultErrorMessagesReader_ByBlockID_Call
func (*TransactionResultErrorMessagesReader_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessagesReader_ByBlockID_Call
type TransactionResultErrorMessagesReader_Exists_Call ¶ added in v0.46.0
TransactionResultErrorMessagesReader_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*TransactionResultErrorMessagesReader_Exists_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_Exists_Call) Return(b bool, err error) *TransactionResultErrorMessagesReader_Exists_Call
func (*TransactionResultErrorMessagesReader_Exists_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_Exists_Call) Run(run func(blockID flow.Identifier)) *TransactionResultErrorMessagesReader_Exists_Call
func (*TransactionResultErrorMessagesReader_Exists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessagesReader_Exists_Call) RunAndReturn(run func(blockID flow.Identifier) (bool, error)) *TransactionResultErrorMessagesReader_Exists_Call
type TransactionResultErrorMessagesReader_Expecter ¶ added in v0.46.0
type TransactionResultErrorMessagesReader_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionResultErrorMessagesReader_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *TransactionResultErrorMessagesReader_Expecter) ByBlockID(id interface{}) *TransactionResultErrorMessagesReader_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- id flow.Identifier
func (*TransactionResultErrorMessagesReader_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *TransactionResultErrorMessagesReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResultErrorMessagesReader_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*TransactionResultErrorMessagesReader_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *TransactionResultErrorMessagesReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResultErrorMessagesReader_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
func (*TransactionResultErrorMessagesReader_Expecter) Exists ¶ added in v0.46.0
func (_e *TransactionResultErrorMessagesReader_Expecter) Exists(blockID interface{}) *TransactionResultErrorMessagesReader_Exists_Call
Exists is a helper method to define mock.On call
- blockID flow.Identifier
type TransactionResultErrorMessages_BatchStore_Call ¶ added in v0.46.0
TransactionResultErrorMessages_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*TransactionResultErrorMessages_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_BatchStore_Call) Return(err error) *TransactionResultErrorMessages_BatchStore_Call
func (*TransactionResultErrorMessages_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_BatchStore_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResultErrorMessages []flow.TransactionResultErrorMessage)) *TransactionResultErrorMessages_BatchStore_Call
func (*TransactionResultErrorMessages_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_BatchStore_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResultErrorMessages []flow.TransactionResultErrorMessage) error) *TransactionResultErrorMessages_BatchStore_Call
type TransactionResultErrorMessages_ByBlockIDTransactionID_Call ¶ added in v0.46.0
TransactionResultErrorMessages_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*TransactionResultErrorMessages_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockIDTransactionID_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
func (*TransactionResultErrorMessages_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
func (*TransactionResultErrorMessages_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
type TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) Return(transactionResultErrorMessage *flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
func (*TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
func (*TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
type TransactionResultErrorMessages_ByBlockID_Call ¶ added in v0.46.0
TransactionResultErrorMessages_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*TransactionResultErrorMessages_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockID_Call) Return(transactionResultErrorMessages []flow.TransactionResultErrorMessage, err error) *TransactionResultErrorMessages_ByBlockID_Call
func (*TransactionResultErrorMessages_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResultErrorMessages_ByBlockID_Call
func (*TransactionResultErrorMessages_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResultErrorMessage, error)) *TransactionResultErrorMessages_ByBlockID_Call
type TransactionResultErrorMessages_Exists_Call ¶ added in v0.46.0
TransactionResultErrorMessages_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*TransactionResultErrorMessages_Exists_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_Exists_Call) Return(b bool, err error) *TransactionResultErrorMessages_Exists_Call
func (*TransactionResultErrorMessages_Exists_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_Exists_Call) Run(run func(blockID flow.Identifier)) *TransactionResultErrorMessages_Exists_Call
func (*TransactionResultErrorMessages_Exists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_Exists_Call) RunAndReturn(run func(blockID flow.Identifier) (bool, error)) *TransactionResultErrorMessages_Exists_Call
type TransactionResultErrorMessages_Expecter ¶ added in v0.46.0
type TransactionResultErrorMessages_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionResultErrorMessages_Expecter) BatchStore ¶ added in v0.46.0
func (_e *TransactionResultErrorMessages_Expecter) BatchStore(lctx interface{}, rw interface{}, blockID interface{}, transactionResultErrorMessages interface{}) *TransactionResultErrorMessages_BatchStore_Call
BatchStore is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- blockID flow.Identifier
- transactionResultErrorMessages []flow.TransactionResultErrorMessage
func (*TransactionResultErrorMessages_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *TransactionResultErrorMessages_Expecter) ByBlockID(id interface{}) *TransactionResultErrorMessages_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- id flow.Identifier
func (*TransactionResultErrorMessages_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *TransactionResultErrorMessages_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResultErrorMessages_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*TransactionResultErrorMessages_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *TransactionResultErrorMessages_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResultErrorMessages_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
func (*TransactionResultErrorMessages_Expecter) Exists ¶ added in v0.46.0
func (_e *TransactionResultErrorMessages_Expecter) Exists(blockID interface{}) *TransactionResultErrorMessages_Exists_Call
Exists is a helper method to define mock.On call
- blockID flow.Identifier
func (*TransactionResultErrorMessages_Expecter) Store ¶ added in v0.46.0
func (_e *TransactionResultErrorMessages_Expecter) Store(lctx interface{}, blockID interface{}, transactionResultErrorMessages interface{}) *TransactionResultErrorMessages_Store_Call
Store is a helper method to define mock.On call
- lctx lockctx.Proof
- blockID flow.Identifier
- transactionResultErrorMessages []flow.TransactionResultErrorMessage
type TransactionResultErrorMessages_Store_Call ¶ added in v0.46.0
TransactionResultErrorMessages_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*TransactionResultErrorMessages_Store_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_Store_Call) Return(err error) *TransactionResultErrorMessages_Store_Call
func (*TransactionResultErrorMessages_Store_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_Store_Call) Run(run func(lctx lockctx.Proof, blockID flow.Identifier, transactionResultErrorMessages []flow.TransactionResultErrorMessage)) *TransactionResultErrorMessages_Store_Call
func (*TransactionResultErrorMessages_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultErrorMessages_Store_Call) RunAndReturn(run func(lctx lockctx.Proof, blockID flow.Identifier, transactionResultErrorMessages []flow.TransactionResultErrorMessage) error) *TransactionResultErrorMessages_Store_Call
type TransactionResults ¶
TransactionResults is an autogenerated mock type for the TransactionResults type
func NewTransactionResults ¶ added in v0.26.1
func NewTransactionResults(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionResults
NewTransactionResults creates a new instance of TransactionResults. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionResults) BatchRemoveByBlockID ¶ added in v0.39.4
func (_mock *TransactionResults) BatchRemoveByBlockID(id flow.Identifier, batch storage.ReaderBatchWriter) error
BatchRemoveByBlockID provides a mock function for the type TransactionResults
func (*TransactionResults) BatchStore ¶
func (_mock *TransactionResults) BatchStore(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResults []flow.TransactionResult) error
BatchStore provides a mock function for the type TransactionResults
func (*TransactionResults) ByBlockID ¶ added in v0.24.11
func (_mock *TransactionResults) ByBlockID(id flow.Identifier) ([]flow.TransactionResult, error)
ByBlockID provides a mock function for the type TransactionResults
func (*TransactionResults) ByBlockIDTransactionID ¶
func (_mock *TransactionResults) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResult, error)
ByBlockIDTransactionID provides a mock function for the type TransactionResults
func (*TransactionResults) ByBlockIDTransactionIndex ¶ added in v0.24.8
func (_mock *TransactionResults) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResult, error)
ByBlockIDTransactionIndex provides a mock function for the type TransactionResults
func (*TransactionResults) EXPECT ¶ added in v0.46.0
func (_m *TransactionResults) EXPECT() *TransactionResults_Expecter
type TransactionResultsReader ¶ added in v0.41.0
TransactionResultsReader is an autogenerated mock type for the TransactionResultsReader type
func NewTransactionResultsReader ¶ added in v0.41.0
func NewTransactionResultsReader(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionResultsReader
NewTransactionResultsReader creates a new instance of TransactionResultsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionResultsReader) ByBlockID ¶ added in v0.41.0
func (_mock *TransactionResultsReader) ByBlockID(id flow.Identifier) ([]flow.TransactionResult, error)
ByBlockID provides a mock function for the type TransactionResultsReader
func (*TransactionResultsReader) ByBlockIDTransactionID ¶ added in v0.41.0
func (_mock *TransactionResultsReader) ByBlockIDTransactionID(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResult, error)
ByBlockIDTransactionID provides a mock function for the type TransactionResultsReader
func (*TransactionResultsReader) ByBlockIDTransactionIndex ¶ added in v0.41.0
func (_mock *TransactionResultsReader) ByBlockIDTransactionIndex(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResult, error)
ByBlockIDTransactionIndex provides a mock function for the type TransactionResultsReader
func (*TransactionResultsReader) EXPECT ¶ added in v0.46.0
func (_m *TransactionResultsReader) EXPECT() *TransactionResultsReader_Expecter
type TransactionResultsReader_ByBlockIDTransactionID_Call ¶ added in v0.46.0
TransactionResultsReader_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*TransactionResultsReader_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockIDTransactionID_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResultsReader_ByBlockIDTransactionID_Call
func (*TransactionResultsReader_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResultsReader_ByBlockIDTransactionID_Call
func (*TransactionResultsReader_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResult, error)) *TransactionResultsReader_ByBlockIDTransactionID_Call
type TransactionResultsReader_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
TransactionResultsReader_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*TransactionResultsReader_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockIDTransactionIndex_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
func (*TransactionResultsReader_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
func (*TransactionResultsReader_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResult, error)) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
type TransactionResultsReader_ByBlockID_Call ¶ added in v0.46.0
TransactionResultsReader_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*TransactionResultsReader_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockID_Call) Return(transactionResults []flow.TransactionResult, err error) *TransactionResultsReader_ByBlockID_Call
func (*TransactionResultsReader_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResultsReader_ByBlockID_Call
func (*TransactionResultsReader_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResultsReader_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResult, error)) *TransactionResultsReader_ByBlockID_Call
type TransactionResultsReader_Expecter ¶ added in v0.46.0
type TransactionResultsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionResultsReader_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *TransactionResultsReader_Expecter) ByBlockID(id interface{}) *TransactionResultsReader_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- id flow.Identifier
func (*TransactionResultsReader_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *TransactionResultsReader_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResultsReader_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*TransactionResultsReader_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *TransactionResultsReader_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResultsReader_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
type TransactionResults_BatchRemoveByBlockID_Call ¶ added in v0.46.0
TransactionResults_BatchRemoveByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchRemoveByBlockID'
func (*TransactionResults_BatchRemoveByBlockID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResults_BatchRemoveByBlockID_Call) Return(err error) *TransactionResults_BatchRemoveByBlockID_Call
func (*TransactionResults_BatchRemoveByBlockID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResults_BatchRemoveByBlockID_Call) Run(run func(id flow.Identifier, batch storage.ReaderBatchWriter)) *TransactionResults_BatchRemoveByBlockID_Call
func (*TransactionResults_BatchRemoveByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResults_BatchRemoveByBlockID_Call) RunAndReturn(run func(id flow.Identifier, batch storage.ReaderBatchWriter) error) *TransactionResults_BatchRemoveByBlockID_Call
type TransactionResults_BatchStore_Call ¶ added in v0.46.0
TransactionResults_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*TransactionResults_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *TransactionResults_BatchStore_Call) Return(err error) *TransactionResults_BatchStore_Call
func (*TransactionResults_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *TransactionResults_BatchStore_Call) Run(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResults []flow.TransactionResult)) *TransactionResults_BatchStore_Call
func (*TransactionResults_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResults_BatchStore_Call) RunAndReturn(run func(lctx lockctx.Proof, rw storage.ReaderBatchWriter, blockID flow.Identifier, transactionResults []flow.TransactionResult) error) *TransactionResults_BatchStore_Call
type TransactionResults_ByBlockIDTransactionID_Call ¶ added in v0.46.0
TransactionResults_ByBlockIDTransactionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionID'
func (*TransactionResults_ByBlockIDTransactionID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockIDTransactionID_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResults_ByBlockIDTransactionID_Call
func (*TransactionResults_ByBlockIDTransactionID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockIDTransactionID_Call) Run(run func(blockID flow.Identifier, transactionID flow.Identifier)) *TransactionResults_ByBlockIDTransactionID_Call
func (*TransactionResults_ByBlockIDTransactionID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockIDTransactionID_Call) RunAndReturn(run func(blockID flow.Identifier, transactionID flow.Identifier) (*flow.TransactionResult, error)) *TransactionResults_ByBlockIDTransactionID_Call
type TransactionResults_ByBlockIDTransactionIndex_Call ¶ added in v0.46.0
TransactionResults_ByBlockIDTransactionIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockIDTransactionIndex'
func (*TransactionResults_ByBlockIDTransactionIndex_Call) Return ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockIDTransactionIndex_Call) Return(transactionResult *flow.TransactionResult, err error) *TransactionResults_ByBlockIDTransactionIndex_Call
func (*TransactionResults_ByBlockIDTransactionIndex_Call) Run ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockIDTransactionIndex_Call) Run(run func(blockID flow.Identifier, txIndex uint32)) *TransactionResults_ByBlockIDTransactionIndex_Call
func (*TransactionResults_ByBlockIDTransactionIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockIDTransactionIndex_Call) RunAndReturn(run func(blockID flow.Identifier, txIndex uint32) (*flow.TransactionResult, error)) *TransactionResults_ByBlockIDTransactionIndex_Call
type TransactionResults_ByBlockID_Call ¶ added in v0.46.0
TransactionResults_ByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'
func (*TransactionResults_ByBlockID_Call) Return ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockID_Call) Return(transactionResults []flow.TransactionResult, err error) *TransactionResults_ByBlockID_Call
func (*TransactionResults_ByBlockID_Call) Run ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockID_Call) Run(run func(id flow.Identifier)) *TransactionResults_ByBlockID_Call
func (*TransactionResults_ByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionResults_ByBlockID_Call) RunAndReturn(run func(id flow.Identifier) ([]flow.TransactionResult, error)) *TransactionResults_ByBlockID_Call
type TransactionResults_Expecter ¶ added in v0.46.0
type TransactionResults_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionResults_Expecter) BatchRemoveByBlockID ¶ added in v0.46.0
func (_e *TransactionResults_Expecter) BatchRemoveByBlockID(id interface{}, batch interface{}) *TransactionResults_BatchRemoveByBlockID_Call
BatchRemoveByBlockID is a helper method to define mock.On call
- id flow.Identifier
- batch storage.ReaderBatchWriter
func (*TransactionResults_Expecter) BatchStore ¶ added in v0.46.0
func (_e *TransactionResults_Expecter) BatchStore(lctx interface{}, rw interface{}, blockID interface{}, transactionResults interface{}) *TransactionResults_BatchStore_Call
BatchStore is a helper method to define mock.On call
- lctx lockctx.Proof
- rw storage.ReaderBatchWriter
- blockID flow.Identifier
- transactionResults []flow.TransactionResult
func (*TransactionResults_Expecter) ByBlockID ¶ added in v0.46.0
func (_e *TransactionResults_Expecter) ByBlockID(id interface{}) *TransactionResults_ByBlockID_Call
ByBlockID is a helper method to define mock.On call
- id flow.Identifier
func (*TransactionResults_Expecter) ByBlockIDTransactionID ¶ added in v0.46.0
func (_e *TransactionResults_Expecter) ByBlockIDTransactionID(blockID interface{}, transactionID interface{}) *TransactionResults_ByBlockIDTransactionID_Call
ByBlockIDTransactionID is a helper method to define mock.On call
- blockID flow.Identifier
- transactionID flow.Identifier
func (*TransactionResults_Expecter) ByBlockIDTransactionIndex ¶ added in v0.46.0
func (_e *TransactionResults_Expecter) ByBlockIDTransactionIndex(blockID interface{}, txIndex interface{}) *TransactionResults_ByBlockIDTransactionIndex_Call
ByBlockIDTransactionIndex is a helper method to define mock.On call
- blockID flow.Identifier
- txIndex uint32
type Transaction_Expecter ¶ added in v0.46.0
type Transaction_Expecter struct {
// contains filtered or unexported fields
}
func (*Transaction_Expecter) Set ¶ added in v0.46.0
func (_e *Transaction_Expecter) Set(key interface{}, val interface{}) *Transaction_Set_Call
Set is a helper method to define mock.On call
- key []byte
- val []byte
type Transaction_Set_Call ¶ added in v0.46.0
Transaction_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*Transaction_Set_Call) Return ¶ added in v0.46.0
func (_c *Transaction_Set_Call) Return(err error) *Transaction_Set_Call
func (*Transaction_Set_Call) Run ¶ added in v0.46.0
func (_c *Transaction_Set_Call) Run(run func(key []byte, val []byte)) *Transaction_Set_Call
func (*Transaction_Set_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transaction_Set_Call) RunAndReturn(run func(key []byte, val []byte) error) *Transaction_Set_Call
type Transactions ¶
Transactions is an autogenerated mock type for the Transactions type
func NewTransactions ¶ added in v0.26.1
func NewTransactions(t interface {
mock.TestingT
Cleanup(func())
}) *Transactions
NewTransactions creates a new instance of Transactions. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Transactions) BatchStore ¶ added in v0.43.0
func (_mock *Transactions) BatchStore(tx *flow.TransactionBody, batch storage.ReaderBatchWriter) error
BatchStore provides a mock function for the type Transactions
func (*Transactions) ByID ¶
func (_mock *Transactions) ByID(txID flow.Identifier) (*flow.TransactionBody, error)
ByID provides a mock function for the type Transactions
func (*Transactions) EXPECT ¶ added in v0.46.0
func (_m *Transactions) EXPECT() *Transactions_Expecter
func (*Transactions) Store ¶
func (_mock *Transactions) Store(tx *flow.TransactionBody) error
Store provides a mock function for the type Transactions
type TransactionsReader ¶ added in v0.41.0
TransactionsReader is an autogenerated mock type for the TransactionsReader type
func NewTransactionsReader ¶ added in v0.41.0
func NewTransactionsReader(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionsReader
NewTransactionsReader creates a new instance of TransactionsReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionsReader) ByID ¶ added in v0.41.0
func (_mock *TransactionsReader) ByID(txID flow.Identifier) (*flow.TransactionBody, error)
ByID provides a mock function for the type TransactionsReader
func (*TransactionsReader) EXPECT ¶ added in v0.46.0
func (_m *TransactionsReader) EXPECT() *TransactionsReader_Expecter
type TransactionsReader_ByID_Call ¶ added in v0.46.0
TransactionsReader_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*TransactionsReader_ByID_Call) Return ¶ added in v0.46.0
func (_c *TransactionsReader_ByID_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsReader_ByID_Call
func (*TransactionsReader_ByID_Call) Run ¶ added in v0.46.0
func (_c *TransactionsReader_ByID_Call) Run(run func(txID flow.Identifier)) *TransactionsReader_ByID_Call
func (*TransactionsReader_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsReader_ByID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.TransactionBody, error)) *TransactionsReader_ByID_Call
type TransactionsReader_Expecter ¶ added in v0.46.0
type TransactionsReader_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionsReader_Expecter) ByID ¶ added in v0.46.0
func (_e *TransactionsReader_Expecter) ByID(txID interface{}) *TransactionsReader_ByID_Call
ByID is a helper method to define mock.On call
- txID flow.Identifier
type Transactions_BatchStore_Call ¶ added in v0.46.0
Transactions_BatchStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchStore'
func (*Transactions_BatchStore_Call) Return ¶ added in v0.46.0
func (_c *Transactions_BatchStore_Call) Return(err error) *Transactions_BatchStore_Call
func (*Transactions_BatchStore_Call) Run ¶ added in v0.46.0
func (_c *Transactions_BatchStore_Call) Run(run func(tx *flow.TransactionBody, batch storage.ReaderBatchWriter)) *Transactions_BatchStore_Call
func (*Transactions_BatchStore_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_BatchStore_Call) RunAndReturn(run func(tx *flow.TransactionBody, batch storage.ReaderBatchWriter) error) *Transactions_BatchStore_Call
type Transactions_ByID_Call ¶ added in v0.46.0
Transactions_ByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'
func (*Transactions_ByID_Call) Return ¶ added in v0.46.0
func (_c *Transactions_ByID_Call) Return(transactionBody *flow.TransactionBody, err error) *Transactions_ByID_Call
func (*Transactions_ByID_Call) Run ¶ added in v0.46.0
func (_c *Transactions_ByID_Call) Run(run func(txID flow.Identifier)) *Transactions_ByID_Call
func (*Transactions_ByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_ByID_Call) RunAndReturn(run func(txID flow.Identifier) (*flow.TransactionBody, error)) *Transactions_ByID_Call
type Transactions_Expecter ¶ added in v0.46.0
type Transactions_Expecter struct {
// contains filtered or unexported fields
}
func (*Transactions_Expecter) BatchStore ¶ added in v0.46.0
func (_e *Transactions_Expecter) BatchStore(tx interface{}, batch interface{}) *Transactions_BatchStore_Call
BatchStore is a helper method to define mock.On call
- tx *flow.TransactionBody
- batch storage.ReaderBatchWriter
func (*Transactions_Expecter) ByID ¶ added in v0.46.0
func (_e *Transactions_Expecter) ByID(txID interface{}) *Transactions_ByID_Call
ByID is a helper method to define mock.On call
- txID flow.Identifier
func (*Transactions_Expecter) Store ¶ added in v0.46.0
func (_e *Transactions_Expecter) Store(tx interface{}) *Transactions_Store_Call
Store is a helper method to define mock.On call
- tx *flow.TransactionBody
type Transactions_Store_Call ¶ added in v0.46.0
Transactions_Store_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Store'
func (*Transactions_Store_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Store_Call) Return(err error) *Transactions_Store_Call
func (*Transactions_Store_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Store_Call) Run(run func(tx *flow.TransactionBody)) *Transactions_Store_Call
func (*Transactions_Store_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Store_Call) RunAndReturn(run func(tx *flow.TransactionBody) error) *Transactions_Store_Call
type VersionBeacons ¶ added in v0.31.0
VersionBeacons is an autogenerated mock type for the VersionBeacons type
func NewVersionBeacons ¶ added in v0.31.0
func NewVersionBeacons(t interface {
mock.TestingT
Cleanup(func())
}) *VersionBeacons
NewVersionBeacons creates a new instance of VersionBeacons. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VersionBeacons) EXPECT ¶ added in v0.46.0
func (_m *VersionBeacons) EXPECT() *VersionBeacons_Expecter
func (*VersionBeacons) Highest ¶ added in v0.31.0
func (_mock *VersionBeacons) Highest(belowOrEqualTo uint64) (*flow.SealedVersionBeacon, error)
Highest provides a mock function for the type VersionBeacons
type VersionBeacons_Expecter ¶ added in v0.46.0
type VersionBeacons_Expecter struct {
// contains filtered or unexported fields
}
func (*VersionBeacons_Expecter) Highest ¶ added in v0.46.0
func (_e *VersionBeacons_Expecter) Highest(belowOrEqualTo interface{}) *VersionBeacons_Highest_Call
Highest is a helper method to define mock.On call
- belowOrEqualTo uint64
type VersionBeacons_Highest_Call ¶ added in v0.46.0
VersionBeacons_Highest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Highest'
func (*VersionBeacons_Highest_Call) Return ¶ added in v0.46.0
func (_c *VersionBeacons_Highest_Call) Return(sealedVersionBeacon *flow.SealedVersionBeacon, err error) *VersionBeacons_Highest_Call
func (*VersionBeacons_Highest_Call) Run ¶ added in v0.46.0
func (_c *VersionBeacons_Highest_Call) Run(run func(belowOrEqualTo uint64)) *VersionBeacons_Highest_Call
func (*VersionBeacons_Highest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *VersionBeacons_Highest_Call) RunAndReturn(run func(belowOrEqualTo uint64) (*flow.SealedVersionBeacon, error)) *VersionBeacons_Highest_Call
type Writer ¶ added in v0.38.0
Writer is an autogenerated mock type for the Writer type
func NewWriter ¶ added in v0.38.0
NewWriter creates a new instance of Writer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Writer) DeleteByRange ¶ added in v0.38.0
func (_mock *Writer) DeleteByRange(globalReader storage.Reader, startPrefix []byte, endPrefix []byte) error
DeleteByRange provides a mock function for the type Writer
func (*Writer) EXPECT ¶ added in v0.46.0
func (_m *Writer) EXPECT() *Writer_Expecter
type Writer_DeleteByRange_Call ¶ added in v0.46.0
Writer_DeleteByRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByRange'
func (*Writer_DeleteByRange_Call) Return ¶ added in v0.46.0
func (_c *Writer_DeleteByRange_Call) Return(err error) *Writer_DeleteByRange_Call
func (*Writer_DeleteByRange_Call) Run ¶ added in v0.46.0
func (_c *Writer_DeleteByRange_Call) Run(run func(globalReader storage.Reader, startPrefix []byte, endPrefix []byte)) *Writer_DeleteByRange_Call
func (*Writer_DeleteByRange_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Writer_DeleteByRange_Call) RunAndReturn(run func(globalReader storage.Reader, startPrefix []byte, endPrefix []byte) error) *Writer_DeleteByRange_Call
type Writer_Delete_Call ¶ added in v0.46.0
Writer_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Writer_Delete_Call) Return ¶ added in v0.46.0
func (_c *Writer_Delete_Call) Return(err error) *Writer_Delete_Call
func (*Writer_Delete_Call) Run ¶ added in v0.46.0
func (_c *Writer_Delete_Call) Run(run func(key []byte)) *Writer_Delete_Call
func (*Writer_Delete_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Writer_Delete_Call) RunAndReturn(run func(key []byte) error) *Writer_Delete_Call
type Writer_Expecter ¶ added in v0.46.0
type Writer_Expecter struct {
// contains filtered or unexported fields
}
func (*Writer_Expecter) Delete ¶ added in v0.46.0
func (_e *Writer_Expecter) Delete(key interface{}) *Writer_Delete_Call
Delete is a helper method to define mock.On call
- key []byte
func (*Writer_Expecter) DeleteByRange ¶ added in v0.46.0
func (_e *Writer_Expecter) DeleteByRange(globalReader interface{}, startPrefix interface{}, endPrefix interface{}) *Writer_DeleteByRange_Call
DeleteByRange is a helper method to define mock.On call
- globalReader storage.Reader
- startPrefix []byte
- endPrefix []byte
func (*Writer_Expecter) Set ¶ added in v0.46.0
func (_e *Writer_Expecter) Set(k interface{}, v interface{}) *Writer_Set_Call
Set is a helper method to define mock.On call
- k []byte
- v []byte
type Writer_Set_Call ¶ added in v0.46.0
Writer_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*Writer_Set_Call) Return ¶ added in v0.46.0
func (_c *Writer_Set_Call) Return(err error) *Writer_Set_Call
func (*Writer_Set_Call) Run ¶ added in v0.46.0
func (_c *Writer_Set_Call) Run(run func(k []byte, v []byte)) *Writer_Set_Call
func (*Writer_Set_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Writer_Set_Call) RunAndReturn(run func(k []byte, v []byte) error) *Writer_Set_Call
Source Files
¶
- batch.go
- batch_storage.go
- blocks.go
- chunk_data_packs.go
- chunks_queue.go
- cluster_blocks.go
- cluster_payloads.go
- collections.go
- collections_reader.go
- commits.go
- commits_reader.go
- computation_result_upload_status.go
- consumer_progress.go
- consumer_progress_initializer.go
- db.go
- dkg_state.go
- dkg_state_reader.go
- epoch_commits.go
- epoch_protocol_state_entries.go
- epoch_recovery_my_beacon_key.go
- epoch_setups.go
- events.go
- events_reader.go
- execution_fork_evidence.go
- execution_receipts.go
- execution_results.go
- execution_results_reader.go
- guarantees.go
- headers.go
- height_index.go
- index.go
- iter_item.go
- iterator.go
- latest_persisted_sealed_result.go
- ledger.go
- ledger_verifier.go
- light_transaction_results.go
- light_transaction_results_reader.go
- lock_manager.go
- my_execution_receipts.go
- node_disallow_list.go
- payloads.go
- protocol_kv_store.go
- quorum_certificates.go
- reader.go
- reader_batch_writer.go
- register_index.go
- register_index_reader.go
- result_approvals.go
- safe_beacon_keys.go
- scheduled_transactions.go
- scheduled_transactions_reader.go
- seals.go
- seeker.go
- service_events.go
- stored_chunk_data_packs.go
- transaction.go
- transaction_result_error_messages.go
- transaction_result_error_messages_reader.go
- transaction_results.go
- transaction_results_reader.go
- transactions.go
- transactions_reader.go
- version_beacons.go
- writer.go