Documentation
¶
Index ¶
- type Assignments
- func (_m *Assignments) Add(assignmentFingerprint flow.Identifier, assignment *chunks.Assignment) bool
- func (_m *Assignments) All() []*chunks.Assignment
- func (_m *Assignments) ByID(assignmentID flow.Identifier) (*chunks.Assignment, bool)
- func (_m *Assignments) Has(assignmentID flow.Identifier) bool
- func (_m *Assignments) Remove(assignmentID flow.Identifier) bool
- func (_m *Assignments) Size() uint
- type BackData
- func (_m *BackData) Add(entityID flow.Identifier, entity flow.Entity) bool
- func (_m *BackData) Adjust(entityID flow.Identifier, f func(flow.Entity) flow.Entity) (flow.Entity, bool)
- func (_m *BackData) All() map[flow.Identifier]flow.Entity
- func (_m *BackData) ByID(entityID flow.Identifier) (flow.Entity, bool)
- func (_m *BackData) Clear()
- func (_m *BackData) Entities() []flow.Entity
- func (_m *BackData) Has(entityID flow.Identifier) bool
- func (_m *BackData) Identifiers() flow.IdentifierList
- func (_m *BackData) Remove(entityID flow.Identifier) (flow.Entity, bool)
- func (_m *BackData) Size() uint
- type BlockFilter
- type Blocks
- func (_m *Blocks) Add(block *flow.Block) bool
- func (_m *Blocks) All() []*flow.Block
- func (_m *Blocks) ByID(blockID flow.Identifier) (*flow.Block, bool)
- func (_m *Blocks) Has(blockID flow.Identifier) bool
- func (_m *Blocks) Hash() flow.Identifier
- func (_m *Blocks) Remove(blockID flow.Identifier) bool
- func (_m *Blocks) Size() uint
- type ChunkDataPackMessageStore
- type ChunkDataPacks
- func (_m *ChunkDataPacks) Add(cdp *flow.ChunkDataPack) bool
- func (_m *ChunkDataPacks) All() []*flow.ChunkDataPack
- func (_m *ChunkDataPacks) ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, bool)
- func (_m *ChunkDataPacks) Has(chunkID flow.Identifier) bool
- func (_m *ChunkDataPacks) Remove(chunkID flow.Identifier) bool
- func (_m *ChunkDataPacks) Size() uint
- type ChunkRequestHistoryUpdaterFunc
- type ChunkRequests
- func (_m *ChunkRequests) Add(request *verification.ChunkDataPackRequest) bool
- func (_m *ChunkRequests) All() verification.ChunkDataPackRequestInfoList
- func (_m *ChunkRequests) IncrementAttempt(chunkID flow.Identifier) bool
- func (_m *ChunkRequests) PopAll(chunkID flow.Identifier) (chunks.LocatorMap, bool)
- func (_m *ChunkRequests) Remove(chunkID flow.Identifier) bool
- func (_m *ChunkRequests) RequestHistory(chunkID flow.Identifier) (uint64, time.Time, time.Duration, bool)
- func (_m *ChunkRequests) Size() uint
- func (_m *ChunkRequests) UpdateRequestHistory(chunkID flow.Identifier, updater mempool.ChunkRequestHistoryUpdaterFunc) (uint64, time.Time, time.Duration, bool)
- type ChunkStatuses
- func (_m *ChunkStatuses) Add(status *verification.ChunkStatus) bool
- func (_m *ChunkStatuses) All() []*verification.ChunkStatus
- func (_m *ChunkStatuses) Get(chunkIndex uint64, resultID flow.Identifier) (*verification.ChunkStatus, bool)
- func (_m *ChunkStatuses) Remove(chunkIndex uint64, resultID flow.Identifier) bool
- func (_m *ChunkStatuses) Size() uint
- type Collections
- func (_m *Collections) Add(coll *flow.Collection) bool
- func (_m *Collections) All() []*flow.Collection
- func (_m *Collections) ByID(collID flow.Identifier) (*flow.Collection, bool)
- func (_m *Collections) Has(collID flow.Identifier) bool
- func (_m *Collections) Remove(collID flow.Identifier) bool
- func (_m *Collections) Size() uint
- type DNSCache
- func (_m *DNSCache) GetDomainIp(_a0 string) (*mempool.IpRecord, bool)
- func (_m *DNSCache) GetTxtRecord(_a0 string) (*mempool.TxtRecord, bool)
- func (_m *DNSCache) LockIPDomain(_a0 string) (bool, error)
- func (_m *DNSCache) LockTxtRecord(_a0 string) (bool, error)
- func (_m *DNSCache) PutIpDomain(_a0 string, _a1 []net.IPAddr, _a2 int64) bool
- func (_m *DNSCache) PutTxtRecord(_a0 string, _a1 []string, _a2 int64) bool
- func (_m *DNSCache) RemoveIp(_a0 string) bool
- func (_m *DNSCache) RemoveTxt(_a0 string) bool
- func (_m *DNSCache) Size() (uint, uint)
- func (_m *DNSCache) UpdateIPDomain(_a0 string, _a1 []net.IPAddr, _a2 int64) error
- func (_m *DNSCache) UpdateTxtRecord(_a0 string, _a1 []string, _a2 int64) error
- type Deltas
- func (_m *Deltas) Add(delta *messages.ExecutionStateDelta) bool
- func (_m *Deltas) All() []*messages.ExecutionStateDelta
- func (_m *Deltas) ByBlockID(blockID flow.Identifier) (*messages.ExecutionStateDelta, bool)
- func (_m *Deltas) Has(blockID flow.Identifier) bool
- func (_m *Deltas) Limit() uint
- func (_m *Deltas) Remove(blockID flow.Identifier) bool
- func (_m *Deltas) Size() uint
- type ExecutionTree
- func (_m *ExecutionTree) AddReceipt(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)
- func (_m *ExecutionTree) AddResult(result *flow.ExecutionResult, block *flow.Header) error
- func (_m *ExecutionTree) HasReceipt(receipt *flow.ExecutionReceipt) bool
- func (_m *ExecutionTree) LowestHeight() uint64
- func (_m *ExecutionTree) PruneUpToHeight(newLowestHeight uint64) error
- func (_m *ExecutionTree) ReachableReceipts(resultID flow.Identifier, blockFilter mempool.BlockFilter, ...) ([]*flow.ExecutionReceipt, error)
- func (_m *ExecutionTree) Size() uint
- type Guarantees
- func (_m *Guarantees) Add(guarantee *flow.CollectionGuarantee) bool
- func (_m *Guarantees) All() []*flow.CollectionGuarantee
- func (_m *Guarantees) ByID(collID flow.Identifier) (*flow.CollectionGuarantee, bool)
- func (_m *Guarantees) Has(collID flow.Identifier) bool
- func (_m *Guarantees) Remove(collID flow.Identifier) bool
- func (_m *Guarantees) Size() uint
- type IdentifierMap
- func (_m *IdentifierMap) Append(key flow.Identifier, id flow.Identifier) error
- func (_m *IdentifierMap) Get(key flow.Identifier) ([]flow.Identifier, bool)
- func (_m *IdentifierMap) Has(key flow.Identifier) bool
- func (_m *IdentifierMap) Keys() ([]flow.Identifier, bool)
- func (_m *IdentifierMap) Remove(key flow.Identifier) bool
- func (_m *IdentifierMap) RemoveIdFromKey(key flow.Identifier, id flow.Identifier) error
- func (_m *IdentifierMap) Size() uint
- type IncorporatedResultSeals
- func (_m *IncorporatedResultSeals) Add(irSeal *flow.IncorporatedResultSeal) (bool, error)
- func (_m *IncorporatedResultSeals) All() []*flow.IncorporatedResultSeal
- func (_m *IncorporatedResultSeals) ByID(_a0 flow.Identifier) (*flow.IncorporatedResultSeal, bool)
- func (_m *IncorporatedResultSeals) Clear()
- func (_m *IncorporatedResultSeals) Limit() uint
- func (_m *IncorporatedResultSeals) PruneUpToHeight(height uint64) error
- func (_m *IncorporatedResultSeals) Remove(incorporatedResultID flow.Identifier) bool
- func (_m *IncorporatedResultSeals) Size() uint
- type OnEjection
- type PendingReceipts
- func (_m *PendingReceipts) Add(receipt *flow.ExecutionReceipt) bool
- func (_m *PendingReceipts) ByPreviousResultID(previousReusltID flow.Identifier) []*flow.ExecutionReceipt
- func (_m *PendingReceipts) PruneUpToHeight(height uint64) error
- func (_m *PendingReceipts) Remove(receiptID flow.Identifier) bool
- type ReceiptFilter
- type Results
- func (_m *Results) Add(result *flow.ExecutionResult) bool
- func (_m *Results) All() []*flow.ExecutionResult
- func (_m *Results) ByID(resultID flow.Identifier) (*flow.ExecutionResult, bool)
- func (_m *Results) Has(resultID flow.Identifier) bool
- func (_m *Results) Remove(resultID flow.Identifier) bool
- func (_m *Results) Size() uint
- type TransactionTimings
- func (_m *TransactionTimings) Add(tx *flow.TransactionTiming) bool
- func (_m *TransactionTimings) Adjust(txID flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming) (*flow.TransactionTiming, bool)
- func (_m *TransactionTimings) All() []*flow.TransactionTiming
- func (_m *TransactionTimings) ByID(txID flow.Identifier) (*flow.TransactionTiming, bool)
- func (_m *TransactionTimings) Remove(txID flow.Identifier) bool
- type Transactions
- func (_m *Transactions) Add(tx *flow.TransactionBody) bool
- func (_m *Transactions) All() []*flow.TransactionBody
- func (_m *Transactions) ByID(txID flow.Identifier) (*flow.TransactionBody, bool)
- func (_m *Transactions) Clear()
- func (_m *Transactions) Has(txID flow.Identifier) bool
- func (_m *Transactions) Remove(txID flow.Identifier) bool
- func (_m *Transactions) Size() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignments ¶
Assignments is an autogenerated mock type for the Assignments type
func NewAssignments ¶
func NewAssignments(t mockConstructorTestingTNewAssignments) *Assignments
NewAssignments creates a new instance of Assignments. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Assignments) Add ¶
func (_m *Assignments) Add(assignmentFingerprint flow.Identifier, assignment *chunks.Assignment) bool
Add provides a mock function with given fields: assignmentFingerprint, assignment
func (*Assignments) All ¶
func (_m *Assignments) All() []*chunks.Assignment
All provides a mock function with given fields:
func (*Assignments) ByID ¶
func (_m *Assignments) ByID(assignmentID flow.Identifier) (*chunks.Assignment, bool)
ByID provides a mock function with given fields: assignmentID
func (*Assignments) Has ¶
func (_m *Assignments) Has(assignmentID flow.Identifier) bool
Has provides a mock function with given fields: assignmentID
func (*Assignments) Remove ¶
func (_m *Assignments) Remove(assignmentID flow.Identifier) bool
Remove provides a mock function with given fields: assignmentID
func (*Assignments) Size ¶
func (_m *Assignments) Size() uint
Size provides a mock function with given fields:
type BackData ¶
BackData is an autogenerated mock type for the BackData type
func NewBackData ¶
func NewBackData(t mockConstructorTestingTNewBackData) *BackData
NewBackData creates a new instance of BackData. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BackData) Adjust ¶
func (_m *BackData) Adjust(entityID flow.Identifier, f func(flow.Entity) flow.Entity) (flow.Entity, bool)
Adjust provides a mock function with given fields: entityID, f
func (*BackData) All ¶
func (_m *BackData) All() map[flow.Identifier]flow.Entity
All provides a mock function with given fields:
func (*BackData) Clear ¶
func (_m *BackData) Clear()
Clear provides a mock function with given fields:
func (*BackData) Has ¶
func (_m *BackData) Has(entityID flow.Identifier) bool
Has provides a mock function with given fields: entityID
func (*BackData) Identifiers ¶
func (_m *BackData) Identifiers() flow.IdentifierList
Identifiers provides a mock function with given fields:
type BlockFilter ¶
BlockFilter is an autogenerated mock type for the BlockFilter type
func NewBlockFilter ¶
func NewBlockFilter(t mockConstructorTestingTNewBlockFilter) *BlockFilter
NewBlockFilter creates a new instance of BlockFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Blocks ¶
Blocks is an autogenerated mock type for the Blocks type
func NewBlocks ¶
func NewBlocks(t mockConstructorTestingTNewBlocks) *Blocks
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.
func (*Blocks) Has ¶
func (_m *Blocks) Has(blockID flow.Identifier) bool
Has provides a mock function with given fields: blockID
func (*Blocks) Hash ¶
func (_m *Blocks) Hash() flow.Identifier
Hash provides a mock function with given fields:
type ChunkDataPackMessageStore ¶
ChunkDataPackMessageStore is an autogenerated mock type for the ChunkDataPackMessageStore type
func NewChunkDataPackMessageStore ¶
func NewChunkDataPackMessageStore(t mockConstructorTestingTNewChunkDataPackMessageStore) *ChunkDataPackMessageStore
NewChunkDataPackMessageStore creates a new instance of ChunkDataPackMessageStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChunkDataPackMessageStore) Get ¶
func (_m *ChunkDataPackMessageStore) Get() (*engine.Message, bool)
Get provides a mock function with given fields:
func (*ChunkDataPackMessageStore) Put ¶
func (_m *ChunkDataPackMessageStore) Put(_a0 *engine.Message) bool
Put provides a mock function with given fields: _a0
func (*ChunkDataPackMessageStore) Size ¶
func (_m *ChunkDataPackMessageStore) Size() uint
Size provides a mock function with given fields:
type ChunkDataPacks ¶
ChunkDataPacks is an autogenerated mock type for the ChunkDataPacks type
func NewChunkDataPacks ¶
func NewChunkDataPacks(t mockConstructorTestingTNewChunkDataPacks) *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.
func (*ChunkDataPacks) Add ¶
func (_m *ChunkDataPacks) Add(cdp *flow.ChunkDataPack) bool
Add provides a mock function with given fields: cdp
func (*ChunkDataPacks) All ¶
func (_m *ChunkDataPacks) All() []*flow.ChunkDataPack
All provides a mock function with given fields:
func (*ChunkDataPacks) ByChunkID ¶
func (_m *ChunkDataPacks) ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, bool)
ByChunkID provides a mock function with given fields: chunkID
func (*ChunkDataPacks) Has ¶
func (_m *ChunkDataPacks) Has(chunkID flow.Identifier) bool
Has provides a mock function with given fields: chunkID
func (*ChunkDataPacks) Remove ¶
func (_m *ChunkDataPacks) Remove(chunkID flow.Identifier) bool
Remove provides a mock function with given fields: chunkID
func (*ChunkDataPacks) Size ¶
func (_m *ChunkDataPacks) Size() uint
Size provides a mock function with given fields:
type ChunkRequestHistoryUpdaterFunc ¶
ChunkRequestHistoryUpdaterFunc is an autogenerated mock type for the ChunkRequestHistoryUpdaterFunc type
func NewChunkRequestHistoryUpdaterFunc ¶
func NewChunkRequestHistoryUpdaterFunc(t mockConstructorTestingTNewChunkRequestHistoryUpdaterFunc) *ChunkRequestHistoryUpdaterFunc
NewChunkRequestHistoryUpdaterFunc creates a new instance of ChunkRequestHistoryUpdaterFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type ChunkRequests ¶
ChunkRequests is an autogenerated mock type for the ChunkRequests type
func NewChunkRequests ¶
func NewChunkRequests(t mockConstructorTestingTNewChunkRequests) *ChunkRequests
NewChunkRequests creates a new instance of ChunkRequests. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChunkRequests) Add ¶
func (_m *ChunkRequests) Add(request *verification.ChunkDataPackRequest) bool
Add provides a mock function with given fields: request
func (*ChunkRequests) All ¶
func (_m *ChunkRequests) All() verification.ChunkDataPackRequestInfoList
All provides a mock function with given fields:
func (*ChunkRequests) IncrementAttempt ¶
func (_m *ChunkRequests) IncrementAttempt(chunkID flow.Identifier) bool
IncrementAttempt provides a mock function with given fields: chunkID
func (*ChunkRequests) PopAll ¶
func (_m *ChunkRequests) PopAll(chunkID flow.Identifier) (chunks.LocatorMap, bool)
PopAll provides a mock function with given fields: chunkID
func (*ChunkRequests) Remove ¶
func (_m *ChunkRequests) Remove(chunkID flow.Identifier) bool
Remove provides a mock function with given fields: chunkID
func (*ChunkRequests) RequestHistory ¶
func (_m *ChunkRequests) RequestHistory(chunkID flow.Identifier) (uint64, time.Time, time.Duration, bool)
RequestHistory provides a mock function with given fields: chunkID
func (*ChunkRequests) Size ¶
func (_m *ChunkRequests) Size() uint
Size provides a mock function with given fields:
func (*ChunkRequests) UpdateRequestHistory ¶
func (_m *ChunkRequests) UpdateRequestHistory(chunkID flow.Identifier, updater mempool.ChunkRequestHistoryUpdaterFunc) (uint64, time.Time, time.Duration, bool)
UpdateRequestHistory provides a mock function with given fields: chunkID, updater
type ChunkStatuses ¶
ChunkStatuses is an autogenerated mock type for the ChunkStatuses type
func NewChunkStatuses ¶
func NewChunkStatuses(t mockConstructorTestingTNewChunkStatuses) *ChunkStatuses
NewChunkStatuses creates a new instance of ChunkStatuses. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChunkStatuses) Add ¶
func (_m *ChunkStatuses) Add(status *verification.ChunkStatus) bool
Add provides a mock function with given fields: status
func (*ChunkStatuses) All ¶
func (_m *ChunkStatuses) All() []*verification.ChunkStatus
All provides a mock function with given fields:
func (*ChunkStatuses) Get ¶
func (_m *ChunkStatuses) Get(chunkIndex uint64, resultID flow.Identifier) (*verification.ChunkStatus, bool)
Get provides a mock function with given fields: chunkIndex, resultID
func (*ChunkStatuses) Remove ¶
func (_m *ChunkStatuses) Remove(chunkIndex uint64, resultID flow.Identifier) bool
Remove provides a mock function with given fields: chunkIndex, resultID
func (*ChunkStatuses) Size ¶
func (_m *ChunkStatuses) Size() uint
Size provides a mock function with given fields:
type Collections ¶
Collections is an autogenerated mock type for the Collections type
func NewCollections ¶
func NewCollections(t mockConstructorTestingTNewCollections) *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.
func (*Collections) Add ¶
func (_m *Collections) Add(coll *flow.Collection) bool
Add provides a mock function with given fields: coll
func (*Collections) All ¶
func (_m *Collections) All() []*flow.Collection
All provides a mock function with given fields:
func (*Collections) ByID ¶
func (_m *Collections) ByID(collID flow.Identifier) (*flow.Collection, bool)
ByID provides a mock function with given fields: collID
func (*Collections) Has ¶
func (_m *Collections) Has(collID flow.Identifier) bool
Has provides a mock function with given fields: collID
func (*Collections) Remove ¶
func (_m *Collections) Remove(collID flow.Identifier) bool
Remove provides a mock function with given fields: collID
func (*Collections) Size ¶
func (_m *Collections) Size() uint
Size provides a mock function with given fields:
type DNSCache ¶
DNSCache is an autogenerated mock type for the DNSCache type
func NewDNSCache ¶
func NewDNSCache(t mockConstructorTestingTNewDNSCache) *DNSCache
NewDNSCache creates a new instance of DNSCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DNSCache) GetDomainIp ¶
GetDomainIp provides a mock function with given fields: _a0
func (*DNSCache) GetTxtRecord ¶
GetTxtRecord provides a mock function with given fields: _a0
func (*DNSCache) LockIPDomain ¶
LockIPDomain provides a mock function with given fields: _a0
func (*DNSCache) LockTxtRecord ¶
LockTxtRecord provides a mock function with given fields: _a0
func (*DNSCache) PutIpDomain ¶
PutIpDomain provides a mock function with given fields: _a0, _a1, _a2
func (*DNSCache) PutTxtRecord ¶
PutTxtRecord provides a mock function with given fields: _a0, _a1, _a2
func (*DNSCache) UpdateIPDomain ¶
UpdateIPDomain provides a mock function with given fields: _a0, _a1, _a2
type Deltas ¶
Deltas is an autogenerated mock type for the Deltas type
func NewDeltas ¶
func NewDeltas(t mockConstructorTestingTNewDeltas) *Deltas
NewDeltas creates a new instance of Deltas. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Deltas) Add ¶
func (_m *Deltas) Add(delta *messages.ExecutionStateDelta) bool
Add provides a mock function with given fields: delta
func (*Deltas) All ¶
func (_m *Deltas) All() []*messages.ExecutionStateDelta
All provides a mock function with given fields:
func (*Deltas) ByBlockID ¶
func (_m *Deltas) ByBlockID(blockID flow.Identifier) (*messages.ExecutionStateDelta, bool)
ByBlockID provides a mock function with given fields: blockID
func (*Deltas) Has ¶
func (_m *Deltas) Has(blockID flow.Identifier) bool
Has provides a mock function with given fields: blockID
type ExecutionTree ¶
ExecutionTree is an autogenerated mock type for the ExecutionTree type
func NewExecutionTree ¶
func NewExecutionTree(t mockConstructorTestingTNewExecutionTree) *ExecutionTree
NewExecutionTree creates a new instance of ExecutionTree. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionTree) AddReceipt ¶
func (_m *ExecutionTree) AddReceipt(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)
AddReceipt provides a mock function with given fields: receipt, block
func (*ExecutionTree) AddResult ¶
func (_m *ExecutionTree) AddResult(result *flow.ExecutionResult, block *flow.Header) error
AddResult provides a mock function with given fields: result, block
func (*ExecutionTree) HasReceipt ¶
func (_m *ExecutionTree) HasReceipt(receipt *flow.ExecutionReceipt) bool
HasReceipt provides a mock function with given fields: receipt
func (*ExecutionTree) LowestHeight ¶
func (_m *ExecutionTree) LowestHeight() uint64
LowestHeight provides a mock function with given fields:
func (*ExecutionTree) PruneUpToHeight ¶
func (_m *ExecutionTree) PruneUpToHeight(newLowestHeight uint64) error
PruneUpToHeight provides a mock function with given fields: newLowestHeight
func (*ExecutionTree) ReachableReceipts ¶
func (_m *ExecutionTree) ReachableReceipts(resultID flow.Identifier, blockFilter mempool.BlockFilter, receiptFilter mempool.ReceiptFilter) ([]*flow.ExecutionReceipt, error)
ReachableReceipts provides a mock function with given fields: resultID, blockFilter, receiptFilter
func (*ExecutionTree) Size ¶
func (_m *ExecutionTree) Size() uint
Size provides a mock function with given fields:
type Guarantees ¶
Guarantees is an autogenerated mock type for the Guarantees type
func NewGuarantees ¶
func NewGuarantees(t mockConstructorTestingTNewGuarantees) *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.
func (*Guarantees) Add ¶
func (_m *Guarantees) Add(guarantee *flow.CollectionGuarantee) bool
Add provides a mock function with given fields: guarantee
func (*Guarantees) All ¶
func (_m *Guarantees) All() []*flow.CollectionGuarantee
All provides a mock function with given fields:
func (*Guarantees) ByID ¶
func (_m *Guarantees) ByID(collID flow.Identifier) (*flow.CollectionGuarantee, bool)
ByID provides a mock function with given fields: collID
func (*Guarantees) Has ¶
func (_m *Guarantees) Has(collID flow.Identifier) bool
Has provides a mock function with given fields: collID
func (*Guarantees) Remove ¶
func (_m *Guarantees) Remove(collID flow.Identifier) bool
Remove provides a mock function with given fields: collID
func (*Guarantees) Size ¶
func (_m *Guarantees) Size() uint
Size provides a mock function with given fields:
type IdentifierMap ¶
IdentifierMap is an autogenerated mock type for the IdentifierMap type
func NewIdentifierMap ¶
func NewIdentifierMap(t mockConstructorTestingTNewIdentifierMap) *IdentifierMap
NewIdentifierMap creates a new instance of IdentifierMap. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IdentifierMap) Append ¶
func (_m *IdentifierMap) Append(key flow.Identifier, id flow.Identifier) error
Append provides a mock function with given fields: key, id
func (*IdentifierMap) Get ¶
func (_m *IdentifierMap) Get(key flow.Identifier) ([]flow.Identifier, bool)
Get provides a mock function with given fields: key
func (*IdentifierMap) Has ¶
func (_m *IdentifierMap) Has(key flow.Identifier) bool
Has provides a mock function with given fields: key
func (*IdentifierMap) Keys ¶
func (_m *IdentifierMap) Keys() ([]flow.Identifier, bool)
Keys provides a mock function with given fields:
func (*IdentifierMap) Remove ¶
func (_m *IdentifierMap) Remove(key flow.Identifier) bool
Remove provides a mock function with given fields: key
func (*IdentifierMap) RemoveIdFromKey ¶
func (_m *IdentifierMap) RemoveIdFromKey(key flow.Identifier, id flow.Identifier) error
RemoveIdFromKey provides a mock function with given fields: key, id
func (*IdentifierMap) Size ¶
func (_m *IdentifierMap) Size() uint
Size provides a mock function with given fields:
type IncorporatedResultSeals ¶
IncorporatedResultSeals is an autogenerated mock type for the IncorporatedResultSeals type
func NewIncorporatedResultSeals ¶
func NewIncorporatedResultSeals(t mockConstructorTestingTNewIncorporatedResultSeals) *IncorporatedResultSeals
NewIncorporatedResultSeals creates a new instance of IncorporatedResultSeals. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IncorporatedResultSeals) Add ¶
func (_m *IncorporatedResultSeals) Add(irSeal *flow.IncorporatedResultSeal) (bool, error)
Add provides a mock function with given fields: irSeal
func (*IncorporatedResultSeals) All ¶
func (_m *IncorporatedResultSeals) All() []*flow.IncorporatedResultSeal
All provides a mock function with given fields:
func (*IncorporatedResultSeals) ByID ¶
func (_m *IncorporatedResultSeals) ByID(_a0 flow.Identifier) (*flow.IncorporatedResultSeal, bool)
ByID provides a mock function with given fields: _a0
func (*IncorporatedResultSeals) Clear ¶
func (_m *IncorporatedResultSeals) Clear()
Clear provides a mock function with given fields:
func (*IncorporatedResultSeals) Limit ¶
func (_m *IncorporatedResultSeals) Limit() uint
Limit provides a mock function with given fields:
func (*IncorporatedResultSeals) PruneUpToHeight ¶
func (_m *IncorporatedResultSeals) PruneUpToHeight(height uint64) error
PruneUpToHeight provides a mock function with given fields: height
func (*IncorporatedResultSeals) Remove ¶
func (_m *IncorporatedResultSeals) Remove(incorporatedResultID flow.Identifier) bool
Remove provides a mock function with given fields: incorporatedResultID
func (*IncorporatedResultSeals) Size ¶
func (_m *IncorporatedResultSeals) Size() uint
Size provides a mock function with given fields:
type OnEjection ¶
OnEjection is an autogenerated mock type for the OnEjection type
func NewOnEjection ¶
func NewOnEjection(t mockConstructorTestingTNewOnEjection) *OnEjection
NewOnEjection creates a new instance of OnEjection. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*OnEjection) Execute ¶
func (_m *OnEjection) Execute(_a0 flow.Entity)
Execute provides a mock function with given fields: _a0
type PendingReceipts ¶
PendingReceipts is an autogenerated mock type for the PendingReceipts type
func NewPendingReceipts ¶
func NewPendingReceipts(t mockConstructorTestingTNewPendingReceipts) *PendingReceipts
NewPendingReceipts creates a new instance of PendingReceipts. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PendingReceipts) Add ¶
func (_m *PendingReceipts) Add(receipt *flow.ExecutionReceipt) bool
Add provides a mock function with given fields: receipt
func (*PendingReceipts) ByPreviousResultID ¶
func (_m *PendingReceipts) ByPreviousResultID(previousReusltID flow.Identifier) []*flow.ExecutionReceipt
ByPreviousResultID provides a mock function with given fields: previousReusltID
func (*PendingReceipts) PruneUpToHeight ¶
func (_m *PendingReceipts) PruneUpToHeight(height uint64) error
PruneUpToHeight provides a mock function with given fields: height
func (*PendingReceipts) Remove ¶
func (_m *PendingReceipts) Remove(receiptID flow.Identifier) bool
Remove provides a mock function with given fields: receiptID
type ReceiptFilter ¶
ReceiptFilter is an autogenerated mock type for the ReceiptFilter type
func NewReceiptFilter ¶
func NewReceiptFilter(t mockConstructorTestingTNewReceiptFilter) *ReceiptFilter
NewReceiptFilter creates a new instance of ReceiptFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ReceiptFilter) Execute ¶
func (_m *ReceiptFilter) Execute(receipt *flow.ExecutionReceipt) bool
Execute provides a mock function with given fields: receipt
type Results ¶
Results is an autogenerated mock type for the Results type
func NewResults ¶
func NewResults(t mockConstructorTestingTNewResults) *Results
NewResults creates a new instance of Results. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Results) Add ¶
func (_m *Results) Add(result *flow.ExecutionResult) bool
Add provides a mock function with given fields: result
func (*Results) All ¶
func (_m *Results) All() []*flow.ExecutionResult
All provides a mock function with given fields:
func (*Results) ByID ¶
func (_m *Results) ByID(resultID flow.Identifier) (*flow.ExecutionResult, bool)
ByID provides a mock function with given fields: resultID
func (*Results) Has ¶
func (_m *Results) Has(resultID flow.Identifier) bool
Has provides a mock function with given fields: resultID
type TransactionTimings ¶
TransactionTimings is an autogenerated mock type for the TransactionTimings type
func NewTransactionTimings ¶
func NewTransactionTimings(t mockConstructorTestingTNewTransactionTimings) *TransactionTimings
NewTransactionTimings creates a new instance of TransactionTimings. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TransactionTimings) Add ¶
func (_m *TransactionTimings) Add(tx *flow.TransactionTiming) bool
Add provides a mock function with given fields: tx
func (*TransactionTimings) Adjust ¶
func (_m *TransactionTimings) Adjust(txID flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming) (*flow.TransactionTiming, bool)
Adjust provides a mock function with given fields: txID, f
func (*TransactionTimings) All ¶
func (_m *TransactionTimings) All() []*flow.TransactionTiming
All provides a mock function with given fields:
func (*TransactionTimings) ByID ¶
func (_m *TransactionTimings) ByID(txID flow.Identifier) (*flow.TransactionTiming, bool)
ByID provides a mock function with given fields: txID
func (*TransactionTimings) Remove ¶
func (_m *TransactionTimings) Remove(txID flow.Identifier) bool
Remove provides a mock function with given fields: txID
type Transactions ¶
Transactions is an autogenerated mock type for the Transactions type
func NewTransactions ¶
func NewTransactions(t mockConstructorTestingTNewTransactions) *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.
func (*Transactions) Add ¶
func (_m *Transactions) Add(tx *flow.TransactionBody) bool
Add provides a mock function with given fields: tx
func (*Transactions) All ¶
func (_m *Transactions) All() []*flow.TransactionBody
All provides a mock function with given fields:
func (*Transactions) ByID ¶
func (_m *Transactions) ByID(txID flow.Identifier) (*flow.TransactionBody, bool)
ByID provides a mock function with given fields: txID
func (*Transactions) Clear ¶
func (_m *Transactions) Clear()
Clear provides a mock function with given fields:
func (*Transactions) Has ¶
func (_m *Transactions) Has(txID flow.Identifier) bool
Has provides a mock function with given fields: txID
func (*Transactions) Remove ¶
func (_m *Transactions) Remove(txID flow.Identifier) bool
Remove provides a mock function with given fields: txID
func (*Transactions) Size ¶
func (_m *Transactions) Size() uint
Size provides a mock function with given fields:
Source Files
¶
- assignments.go
- back_data.go
- block_filter.go
- blocks.go
- chunk_data_pack_message_store.go
- chunk_data_packs.go
- chunk_request_history_updater_func.go
- chunk_requests.go
- chunk_statuses.go
- collections.go
- deltas.go
- dns_cache.go
- execution_tree.go
- guarantees.go
- identifier_map.go
- incorporated_result_seals.go
- on_ejection.go
- pending_receipts.go
- receipt_filter.go
- results.go
- transaction_timings.go
- transactions.go