Documentation
¶
Index ¶
- type Assignments
- func (_mock *Assignments) Add(identifier flow.Identifier, assignment *chunks.Assignment) bool
- func (_mock *Assignments) Adjust(key flow.Identifier, f func(*chunks.Assignment) *chunks.Assignment) (*chunks.Assignment, bool)
- func (_mock *Assignments) All() map[flow.Identifier]*chunks.Assignment
- func (_mock *Assignments) Clear()
- func (_m *Assignments) EXPECT() *Assignments_Expecter
- func (_mock *Assignments) Get(identifier flow.Identifier) (*chunks.Assignment, bool)
- func (_mock *Assignments) Has(identifier flow.Identifier) bool
- func (_mock *Assignments) Remove(identifier flow.Identifier) bool
- func (_mock *Assignments) Size() uint
- func (_mock *Assignments) Values() []*chunks.Assignment
- type Assignments_Add_Call
- func (_c *Assignments_Add_Call) Return(b bool) *Assignments_Add_Call
- func (_c *Assignments_Add_Call) Run(run func(identifier flow.Identifier, assignment *chunks.Assignment)) *Assignments_Add_Call
- func (_c *Assignments_Add_Call) RunAndReturn(run func(identifier flow.Identifier, assignment *chunks.Assignment) bool) *Assignments_Add_Call
- type Assignments_Adjust_Call
- func (_c *Assignments_Adjust_Call) Return(assignment *chunks.Assignment, b bool) *Assignments_Adjust_Call
- func (_c *Assignments_Adjust_Call) Run(run func(key flow.Identifier, f func(*chunks.Assignment) *chunks.Assignment)) *Assignments_Adjust_Call
- func (_c *Assignments_Adjust_Call) RunAndReturn(...) *Assignments_Adjust_Call
- type Assignments_All_Call
- func (_c *Assignments_All_Call) Return(identifierToAssignment map[flow.Identifier]*chunks.Assignment) *Assignments_All_Call
- func (_c *Assignments_All_Call) Run(run func()) *Assignments_All_Call
- func (_c *Assignments_All_Call) RunAndReturn(run func() map[flow.Identifier]*chunks.Assignment) *Assignments_All_Call
- type Assignments_Clear_Call
- type Assignments_Expecter
- func (_e *Assignments_Expecter) Add(identifier interface{}, assignment interface{}) *Assignments_Add_Call
- func (_e *Assignments_Expecter) Adjust(key interface{}, f interface{}) *Assignments_Adjust_Call
- func (_e *Assignments_Expecter) All() *Assignments_All_Call
- func (_e *Assignments_Expecter) Clear() *Assignments_Clear_Call
- func (_e *Assignments_Expecter) Get(identifier interface{}) *Assignments_Get_Call
- func (_e *Assignments_Expecter) Has(identifier interface{}) *Assignments_Has_Call
- func (_e *Assignments_Expecter) Remove(identifier interface{}) *Assignments_Remove_Call
- func (_e *Assignments_Expecter) Size() *Assignments_Size_Call
- func (_e *Assignments_Expecter) Values() *Assignments_Values_Call
- type Assignments_Get_Call
- func (_c *Assignments_Get_Call) Return(assignment *chunks.Assignment, b bool) *Assignments_Get_Call
- func (_c *Assignments_Get_Call) Run(run func(identifier flow.Identifier)) *Assignments_Get_Call
- func (_c *Assignments_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*chunks.Assignment, bool)) *Assignments_Get_Call
- type Assignments_Has_Call
- type Assignments_Remove_Call
- type Assignments_Size_Call
- type Assignments_Values_Call
- type BackData
- func (_mock *BackData[K, V]) Add(key K, value V) bool
- func (_mock *BackData[K, V]) All() map[K]V
- func (_mock *BackData[K, V]) Clear()
- func (_m *BackData[K, V]) EXPECT() *BackData_Expecter[K, V]
- func (_mock *BackData[K, V]) Get(key K) (V, bool)
- func (_mock *BackData[K, V]) Has(key K) bool
- func (_mock *BackData[K, V]) Keys() []K
- func (_mock *BackData[K, V]) Remove(key K) (V, bool)
- func (_mock *BackData[K, V]) Size() uint
- func (_mock *BackData[K, V]) Values() []V
- type BackData_Add_Call
- type BackData_All_Call
- type BackData_Clear_Call
- type BackData_Expecter
- func (_e *BackData_Expecter[K, V]) Add(key interface{}, value interface{}) *BackData_Add_Call[K, V]
- func (_e *BackData_Expecter[K, V]) All() *BackData_All_Call[K, V]
- func (_e *BackData_Expecter[K, V]) Clear() *BackData_Clear_Call[K, V]
- func (_e *BackData_Expecter[K, V]) Get(key interface{}) *BackData_Get_Call[K, V]
- func (_e *BackData_Expecter[K, V]) Has(key interface{}) *BackData_Has_Call[K, V]
- func (_e *BackData_Expecter[K, V]) Keys() *BackData_Keys_Call[K, V]
- func (_e *BackData_Expecter[K, V]) Remove(key interface{}) *BackData_Remove_Call[K, V]
- func (_e *BackData_Expecter[K, V]) Size() *BackData_Size_Call[K, V]
- func (_e *BackData_Expecter[K, V]) Values() *BackData_Values_Call[K, V]
- type BackData_Get_Call
- type BackData_Has_Call
- type BackData_Keys_Call
- type BackData_Remove_Call
- type BackData_Size_Call
- type BackData_Values_Call
- type ChunkRequests
- func (_mock *ChunkRequests) Add(request *verification.ChunkDataPackRequest) bool
- func (_mock *ChunkRequests) All() verification.ChunkDataPackRequestInfoList
- func (_m *ChunkRequests) EXPECT() *ChunkRequests_Expecter
- func (_mock *ChunkRequests) IncrementAttempt(chunkID flow.Identifier) bool
- func (_mock *ChunkRequests) PopAll(chunkID flow.Identifier) (chunks.LocatorMap, bool)
- func (_mock *ChunkRequests) Remove(chunkID flow.Identifier) bool
- func (_mock *ChunkRequests) RequestHistory(chunkID flow.Identifier) (uint64, time.Time, time.Duration, bool)
- func (_mock *ChunkRequests) Size() uint
- func (_mock *ChunkRequests) UpdateRequestHistory(chunkID flow.Identifier, updater mempool.ChunkRequestHistoryUpdaterFunc) (uint64, time.Time, time.Duration, bool)
- type ChunkRequests_Add_Call
- func (_c *ChunkRequests_Add_Call) Return(b bool) *ChunkRequests_Add_Call
- func (_c *ChunkRequests_Add_Call) Run(run func(request *verification.ChunkDataPackRequest)) *ChunkRequests_Add_Call
- func (_c *ChunkRequests_Add_Call) RunAndReturn(run func(request *verification.ChunkDataPackRequest) bool) *ChunkRequests_Add_Call
- type ChunkRequests_All_Call
- func (_c *ChunkRequests_All_Call) Return(chunkDataPackRequestInfoList verification.ChunkDataPackRequestInfoList) *ChunkRequests_All_Call
- func (_c *ChunkRequests_All_Call) Run(run func()) *ChunkRequests_All_Call
- func (_c *ChunkRequests_All_Call) RunAndReturn(run func() verification.ChunkDataPackRequestInfoList) *ChunkRequests_All_Call
- type ChunkRequests_Expecter
- func (_e *ChunkRequests_Expecter) Add(request interface{}) *ChunkRequests_Add_Call
- func (_e *ChunkRequests_Expecter) All() *ChunkRequests_All_Call
- func (_e *ChunkRequests_Expecter) IncrementAttempt(chunkID interface{}) *ChunkRequests_IncrementAttempt_Call
- func (_e *ChunkRequests_Expecter) PopAll(chunkID interface{}) *ChunkRequests_PopAll_Call
- func (_e *ChunkRequests_Expecter) Remove(chunkID interface{}) *ChunkRequests_Remove_Call
- func (_e *ChunkRequests_Expecter) RequestHistory(chunkID interface{}) *ChunkRequests_RequestHistory_Call
- func (_e *ChunkRequests_Expecter) Size() *ChunkRequests_Size_Call
- func (_e *ChunkRequests_Expecter) UpdateRequestHistory(chunkID interface{}, updater interface{}) *ChunkRequests_UpdateRequestHistory_Call
- type ChunkRequests_IncrementAttempt_Call
- func (_c *ChunkRequests_IncrementAttempt_Call) Return(b bool) *ChunkRequests_IncrementAttempt_Call
- func (_c *ChunkRequests_IncrementAttempt_Call) Run(run func(chunkID flow.Identifier)) *ChunkRequests_IncrementAttempt_Call
- func (_c *ChunkRequests_IncrementAttempt_Call) RunAndReturn(run func(chunkID flow.Identifier) bool) *ChunkRequests_IncrementAttempt_Call
- type ChunkRequests_PopAll_Call
- func (_c *ChunkRequests_PopAll_Call) Return(locatorMap chunks.LocatorMap, b bool) *ChunkRequests_PopAll_Call
- func (_c *ChunkRequests_PopAll_Call) Run(run func(chunkID flow.Identifier)) *ChunkRequests_PopAll_Call
- func (_c *ChunkRequests_PopAll_Call) RunAndReturn(run func(chunkID flow.Identifier) (chunks.LocatorMap, bool)) *ChunkRequests_PopAll_Call
- type ChunkRequests_Remove_Call
- type ChunkRequests_RequestHistory_Call
- func (_c *ChunkRequests_RequestHistory_Call) Return(v uint64, time1 time.Time, duration time.Duration, b bool) *ChunkRequests_RequestHistory_Call
- func (_c *ChunkRequests_RequestHistory_Call) Run(run func(chunkID flow.Identifier)) *ChunkRequests_RequestHistory_Call
- func (_c *ChunkRequests_RequestHistory_Call) RunAndReturn(run func(chunkID flow.Identifier) (uint64, time.Time, time.Duration, bool)) *ChunkRequests_RequestHistory_Call
- type ChunkRequests_Size_Call
- type ChunkRequests_UpdateRequestHistory_Call
- func (_c *ChunkRequests_UpdateRequestHistory_Call) Return(v uint64, time1 time.Time, duration time.Duration, b bool) *ChunkRequests_UpdateRequestHistory_Call
- func (_c *ChunkRequests_UpdateRequestHistory_Call) Run(...) *ChunkRequests_UpdateRequestHistory_Call
- func (_c *ChunkRequests_UpdateRequestHistory_Call) RunAndReturn(...) *ChunkRequests_UpdateRequestHistory_Call
- type ChunkStatuses
- func (_mock *ChunkStatuses) Add(identifier flow.Identifier, chunkStatus *verification.ChunkStatus) bool
- func (_mock *ChunkStatuses) Adjust(key flow.Identifier, ...) (*verification.ChunkStatus, bool)
- func (_mock *ChunkStatuses) All() map[flow.Identifier]*verification.ChunkStatus
- func (_mock *ChunkStatuses) Clear()
- func (_m *ChunkStatuses) EXPECT() *ChunkStatuses_Expecter
- func (_mock *ChunkStatuses) Get(identifier flow.Identifier) (*verification.ChunkStatus, bool)
- func (_mock *ChunkStatuses) Has(identifier flow.Identifier) bool
- func (_mock *ChunkStatuses) Remove(identifier flow.Identifier) bool
- func (_mock *ChunkStatuses) Size() uint
- func (_mock *ChunkStatuses) Values() []*verification.ChunkStatus
- type ChunkStatuses_Add_Call
- type ChunkStatuses_Adjust_Call
- func (_c *ChunkStatuses_Adjust_Call) Return(chunkStatus *verification.ChunkStatus, b bool) *ChunkStatuses_Adjust_Call
- func (_c *ChunkStatuses_Adjust_Call) Run(run func(key flow.Identifier, ...)) *ChunkStatuses_Adjust_Call
- func (_c *ChunkStatuses_Adjust_Call) RunAndReturn(run func(key flow.Identifier, ...) (*verification.ChunkStatus, bool)) *ChunkStatuses_Adjust_Call
- type ChunkStatuses_All_Call
- func (_c *ChunkStatuses_All_Call) Return(identifierToChunkStatus map[flow.Identifier]*verification.ChunkStatus) *ChunkStatuses_All_Call
- func (_c *ChunkStatuses_All_Call) Run(run func()) *ChunkStatuses_All_Call
- func (_c *ChunkStatuses_All_Call) RunAndReturn(run func() map[flow.Identifier]*verification.ChunkStatus) *ChunkStatuses_All_Call
- type ChunkStatuses_Clear_Call
- type ChunkStatuses_Expecter
- func (_e *ChunkStatuses_Expecter) Add(identifier interface{}, chunkStatus interface{}) *ChunkStatuses_Add_Call
- func (_e *ChunkStatuses_Expecter) Adjust(key interface{}, f interface{}) *ChunkStatuses_Adjust_Call
- func (_e *ChunkStatuses_Expecter) All() *ChunkStatuses_All_Call
- func (_e *ChunkStatuses_Expecter) Clear() *ChunkStatuses_Clear_Call
- func (_e *ChunkStatuses_Expecter) Get(identifier interface{}) *ChunkStatuses_Get_Call
- func (_e *ChunkStatuses_Expecter) Has(identifier interface{}) *ChunkStatuses_Has_Call
- func (_e *ChunkStatuses_Expecter) Remove(identifier interface{}) *ChunkStatuses_Remove_Call
- func (_e *ChunkStatuses_Expecter) Size() *ChunkStatuses_Size_Call
- func (_e *ChunkStatuses_Expecter) Values() *ChunkStatuses_Values_Call
- type ChunkStatuses_Get_Call
- func (_c *ChunkStatuses_Get_Call) Return(chunkStatus *verification.ChunkStatus, b bool) *ChunkStatuses_Get_Call
- func (_c *ChunkStatuses_Get_Call) Run(run func(identifier flow.Identifier)) *ChunkStatuses_Get_Call
- func (_c *ChunkStatuses_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*verification.ChunkStatus, bool)) *ChunkStatuses_Get_Call
- type ChunkStatuses_Has_Call
- type ChunkStatuses_Remove_Call
- func (_c *ChunkStatuses_Remove_Call) Return(b bool) *ChunkStatuses_Remove_Call
- func (_c *ChunkStatuses_Remove_Call) Run(run func(identifier flow.Identifier)) *ChunkStatuses_Remove_Call
- func (_c *ChunkStatuses_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *ChunkStatuses_Remove_Call
- type ChunkStatuses_Size_Call
- type ChunkStatuses_Values_Call
- func (_c *ChunkStatuses_Values_Call) Return(chunkStatuss []*verification.ChunkStatus) *ChunkStatuses_Values_Call
- func (_c *ChunkStatuses_Values_Call) Run(run func()) *ChunkStatuses_Values_Call
- func (_c *ChunkStatuses_Values_Call) RunAndReturn(run func() []*verification.ChunkStatus) *ChunkStatuses_Values_Call
- type DNSCache
- func (_m *DNSCache) EXPECT() *DNSCache_Expecter
- func (_mock *DNSCache) GetDomainIp(s string) (*mempool.IpRecord, bool)
- func (_mock *DNSCache) GetTxtRecord(s string) (*mempool.TxtRecord, bool)
- func (_mock *DNSCache) LockIPDomain(s string) (bool, error)
- func (_mock *DNSCache) LockTxtRecord(s string) (bool, error)
- func (_mock *DNSCache) PutIpDomain(s string, iPAddrs []net.IPAddr, n int64) bool
- func (_mock *DNSCache) PutTxtRecord(s string, strings []string, n int64) bool
- func (_mock *DNSCache) RemoveIp(s string) bool
- func (_mock *DNSCache) RemoveTxt(s string) bool
- func (_mock *DNSCache) Size() (uint, uint)
- func (_mock *DNSCache) UpdateIPDomain(s string, iPAddrs []net.IPAddr, n int64) error
- func (_mock *DNSCache) UpdateTxtRecord(s string, strings []string, n int64) error
- type DNSCache_Expecter
- func (_e *DNSCache_Expecter) GetDomainIp(s interface{}) *DNSCache_GetDomainIp_Call
- func (_e *DNSCache_Expecter) GetTxtRecord(s interface{}) *DNSCache_GetTxtRecord_Call
- func (_e *DNSCache_Expecter) LockIPDomain(s interface{}) *DNSCache_LockIPDomain_Call
- func (_e *DNSCache_Expecter) LockTxtRecord(s interface{}) *DNSCache_LockTxtRecord_Call
- func (_e *DNSCache_Expecter) PutIpDomain(s interface{}, iPAddrs interface{}, n interface{}) *DNSCache_PutIpDomain_Call
- func (_e *DNSCache_Expecter) PutTxtRecord(s interface{}, strings interface{}, n interface{}) *DNSCache_PutTxtRecord_Call
- func (_e *DNSCache_Expecter) RemoveIp(s interface{}) *DNSCache_RemoveIp_Call
- func (_e *DNSCache_Expecter) RemoveTxt(s interface{}) *DNSCache_RemoveTxt_Call
- func (_e *DNSCache_Expecter) Size() *DNSCache_Size_Call
- func (_e *DNSCache_Expecter) UpdateIPDomain(s interface{}, iPAddrs interface{}, n interface{}) *DNSCache_UpdateIPDomain_Call
- func (_e *DNSCache_Expecter) UpdateTxtRecord(s interface{}, strings interface{}, n interface{}) *DNSCache_UpdateTxtRecord_Call
- type DNSCache_GetDomainIp_Call
- func (_c *DNSCache_GetDomainIp_Call) Return(ipRecord *mempool.IpRecord, b bool) *DNSCache_GetDomainIp_Call
- func (_c *DNSCache_GetDomainIp_Call) Run(run func(s string)) *DNSCache_GetDomainIp_Call
- func (_c *DNSCache_GetDomainIp_Call) RunAndReturn(run func(s string) (*mempool.IpRecord, bool)) *DNSCache_GetDomainIp_Call
- type DNSCache_GetTxtRecord_Call
- func (_c *DNSCache_GetTxtRecord_Call) Return(txtRecord *mempool.TxtRecord, b bool) *DNSCache_GetTxtRecord_Call
- func (_c *DNSCache_GetTxtRecord_Call) Run(run func(s string)) *DNSCache_GetTxtRecord_Call
- func (_c *DNSCache_GetTxtRecord_Call) RunAndReturn(run func(s string) (*mempool.TxtRecord, bool)) *DNSCache_GetTxtRecord_Call
- type DNSCache_LockIPDomain_Call
- type DNSCache_LockTxtRecord_Call
- func (_c *DNSCache_LockTxtRecord_Call) Return(b bool, err error) *DNSCache_LockTxtRecord_Call
- func (_c *DNSCache_LockTxtRecord_Call) Run(run func(s string)) *DNSCache_LockTxtRecord_Call
- func (_c *DNSCache_LockTxtRecord_Call) RunAndReturn(run func(s string) (bool, error)) *DNSCache_LockTxtRecord_Call
- type DNSCache_PutIpDomain_Call
- func (_c *DNSCache_PutIpDomain_Call) Return(b bool) *DNSCache_PutIpDomain_Call
- func (_c *DNSCache_PutIpDomain_Call) Run(run func(s string, iPAddrs []net.IPAddr, n int64)) *DNSCache_PutIpDomain_Call
- func (_c *DNSCache_PutIpDomain_Call) RunAndReturn(run func(s string, iPAddrs []net.IPAddr, n int64) bool) *DNSCache_PutIpDomain_Call
- type DNSCache_PutTxtRecord_Call
- func (_c *DNSCache_PutTxtRecord_Call) Return(b bool) *DNSCache_PutTxtRecord_Call
- func (_c *DNSCache_PutTxtRecord_Call) Run(run func(s string, strings []string, n int64)) *DNSCache_PutTxtRecord_Call
- func (_c *DNSCache_PutTxtRecord_Call) RunAndReturn(run func(s string, strings []string, n int64) bool) *DNSCache_PutTxtRecord_Call
- type DNSCache_RemoveIp_Call
- type DNSCache_RemoveTxt_Call
- type DNSCache_Size_Call
- type DNSCache_UpdateIPDomain_Call
- func (_c *DNSCache_UpdateIPDomain_Call) Return(err error) *DNSCache_UpdateIPDomain_Call
- func (_c *DNSCache_UpdateIPDomain_Call) Run(run func(s string, iPAddrs []net.IPAddr, n int64)) *DNSCache_UpdateIPDomain_Call
- func (_c *DNSCache_UpdateIPDomain_Call) RunAndReturn(run func(s string, iPAddrs []net.IPAddr, n int64) error) *DNSCache_UpdateIPDomain_Call
- type DNSCache_UpdateTxtRecord_Call
- func (_c *DNSCache_UpdateTxtRecord_Call) Return(err error) *DNSCache_UpdateTxtRecord_Call
- func (_c *DNSCache_UpdateTxtRecord_Call) Run(run func(s string, strings []string, n int64)) *DNSCache_UpdateTxtRecord_Call
- func (_c *DNSCache_UpdateTxtRecord_Call) RunAndReturn(run func(s string, strings []string, n int64) error) *DNSCache_UpdateTxtRecord_Call
- type ExecutionData
- func (_mock *ExecutionData) Add(identifier flow.Identifier, ...) bool
- func (_mock *ExecutionData) Adjust(key flow.Identifier, ...) (*execution_data.BlockExecutionDataEntity, bool)
- func (_mock *ExecutionData) All() map[flow.Identifier]*execution_data.BlockExecutionDataEntity
- func (_mock *ExecutionData) Clear()
- func (_m *ExecutionData) EXPECT() *ExecutionData_Expecter
- func (_mock *ExecutionData) Get(identifier flow.Identifier) (*execution_data.BlockExecutionDataEntity, bool)
- func (_mock *ExecutionData) Has(identifier flow.Identifier) bool
- func (_mock *ExecutionData) Remove(identifier flow.Identifier) bool
- func (_mock *ExecutionData) Size() uint
- func (_mock *ExecutionData) Values() []*execution_data.BlockExecutionDataEntity
- type ExecutionData_Add_Call
- type ExecutionData_Adjust_Call
- func (_c *ExecutionData_Adjust_Call) Return(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity, b bool) *ExecutionData_Adjust_Call
- func (_c *ExecutionData_Adjust_Call) Run(run func(key flow.Identifier, ...)) *ExecutionData_Adjust_Call
- func (_c *ExecutionData_Adjust_Call) RunAndReturn(...) *ExecutionData_Adjust_Call
- type ExecutionData_All_Call
- type ExecutionData_Clear_Call
- type ExecutionData_Expecter
- func (_e *ExecutionData_Expecter) Add(identifier interface{}, blockExecutionDataEntity interface{}) *ExecutionData_Add_Call
- func (_e *ExecutionData_Expecter) Adjust(key interface{}, f interface{}) *ExecutionData_Adjust_Call
- func (_e *ExecutionData_Expecter) All() *ExecutionData_All_Call
- func (_e *ExecutionData_Expecter) Clear() *ExecutionData_Clear_Call
- func (_e *ExecutionData_Expecter) Get(identifier interface{}) *ExecutionData_Get_Call
- func (_e *ExecutionData_Expecter) Has(identifier interface{}) *ExecutionData_Has_Call
- func (_e *ExecutionData_Expecter) Remove(identifier interface{}) *ExecutionData_Remove_Call
- func (_e *ExecutionData_Expecter) Size() *ExecutionData_Size_Call
- func (_e *ExecutionData_Expecter) Values() *ExecutionData_Values_Call
- type ExecutionData_Get_Call
- func (_c *ExecutionData_Get_Call) Return(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity, b bool) *ExecutionData_Get_Call
- func (_c *ExecutionData_Get_Call) Run(run func(identifier flow.Identifier)) *ExecutionData_Get_Call
- func (_c *ExecutionData_Get_Call) RunAndReturn(...) *ExecutionData_Get_Call
- type ExecutionData_Has_Call
- type ExecutionData_Remove_Call
- func (_c *ExecutionData_Remove_Call) Return(b bool) *ExecutionData_Remove_Call
- func (_c *ExecutionData_Remove_Call) Run(run func(identifier flow.Identifier)) *ExecutionData_Remove_Call
- func (_c *ExecutionData_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *ExecutionData_Remove_Call
- type ExecutionData_Size_Call
- type ExecutionData_Values_Call
- func (_c *ExecutionData_Values_Call) Return(blockExecutionDataEntitys []*execution_data.BlockExecutionDataEntity) *ExecutionData_Values_Call
- func (_c *ExecutionData_Values_Call) Run(run func()) *ExecutionData_Values_Call
- func (_c *ExecutionData_Values_Call) RunAndReturn(run func() []*execution_data.BlockExecutionDataEntity) *ExecutionData_Values_Call
- type ExecutionTree
- func (_mock *ExecutionTree) AddReceipt(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)
- func (_mock *ExecutionTree) AddResult(result *flow.ExecutionResult, block *flow.Header) error
- func (_m *ExecutionTree) EXPECT() *ExecutionTree_Expecter
- func (_mock *ExecutionTree) HasReceipt(receipt *flow.ExecutionReceipt) bool
- func (_mock *ExecutionTree) LowestHeight() uint64
- func (_mock *ExecutionTree) PruneUpToHeight(newLowestHeight uint64) error
- func (_mock *ExecutionTree) ReachableReceipts(resultID flow.Identifier, blockFilter mempool.BlockFilter, ...) ([]*flow.ExecutionReceipt, error)
- func (_mock *ExecutionTree) Size() uint
- type ExecutionTree_AddReceipt_Call
- func (_c *ExecutionTree_AddReceipt_Call) Return(b bool, err error) *ExecutionTree_AddReceipt_Call
- func (_c *ExecutionTree_AddReceipt_Call) Run(run func(receipt *flow.ExecutionReceipt, block *flow.Header)) *ExecutionTree_AddReceipt_Call
- func (_c *ExecutionTree_AddReceipt_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)) *ExecutionTree_AddReceipt_Call
- type ExecutionTree_AddResult_Call
- func (_c *ExecutionTree_AddResult_Call) Return(err error) *ExecutionTree_AddResult_Call
- func (_c *ExecutionTree_AddResult_Call) Run(run func(result *flow.ExecutionResult, block *flow.Header)) *ExecutionTree_AddResult_Call
- func (_c *ExecutionTree_AddResult_Call) RunAndReturn(run func(result *flow.ExecutionResult, block *flow.Header) error) *ExecutionTree_AddResult_Call
- type ExecutionTree_Expecter
- func (_e *ExecutionTree_Expecter) AddReceipt(receipt interface{}, block interface{}) *ExecutionTree_AddReceipt_Call
- func (_e *ExecutionTree_Expecter) AddResult(result interface{}, block interface{}) *ExecutionTree_AddResult_Call
- func (_e *ExecutionTree_Expecter) HasReceipt(receipt interface{}) *ExecutionTree_HasReceipt_Call
- func (_e *ExecutionTree_Expecter) LowestHeight() *ExecutionTree_LowestHeight_Call
- func (_e *ExecutionTree_Expecter) PruneUpToHeight(newLowestHeight interface{}) *ExecutionTree_PruneUpToHeight_Call
- func (_e *ExecutionTree_Expecter) ReachableReceipts(resultID interface{}, blockFilter interface{}, receiptFilter interface{}) *ExecutionTree_ReachableReceipts_Call
- func (_e *ExecutionTree_Expecter) Size() *ExecutionTree_Size_Call
- type ExecutionTree_HasReceipt_Call
- func (_c *ExecutionTree_HasReceipt_Call) Return(b bool) *ExecutionTree_HasReceipt_Call
- func (_c *ExecutionTree_HasReceipt_Call) Run(run func(receipt *flow.ExecutionReceipt)) *ExecutionTree_HasReceipt_Call
- func (_c *ExecutionTree_HasReceipt_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) bool) *ExecutionTree_HasReceipt_Call
- type ExecutionTree_LowestHeight_Call
- type ExecutionTree_PruneUpToHeight_Call
- func (_c *ExecutionTree_PruneUpToHeight_Call) Return(err error) *ExecutionTree_PruneUpToHeight_Call
- func (_c *ExecutionTree_PruneUpToHeight_Call) Run(run func(newLowestHeight uint64)) *ExecutionTree_PruneUpToHeight_Call
- func (_c *ExecutionTree_PruneUpToHeight_Call) RunAndReturn(run func(newLowestHeight uint64) error) *ExecutionTree_PruneUpToHeight_Call
- type ExecutionTree_ReachableReceipts_Call
- func (_c *ExecutionTree_ReachableReceipts_Call) Return(executionReceipts []*flow.ExecutionReceipt, err error) *ExecutionTree_ReachableReceipts_Call
- func (_c *ExecutionTree_ReachableReceipts_Call) Run(run func(resultID flow.Identifier, blockFilter mempool.BlockFilter, ...)) *ExecutionTree_ReachableReceipts_Call
- func (_c *ExecutionTree_ReachableReceipts_Call) RunAndReturn(...) *ExecutionTree_ReachableReceipts_Call
- type ExecutionTree_Size_Call
- type Guarantees
- func (_mock *Guarantees) Add(identifier flow.Identifier, collectionGuarantee *flow.CollectionGuarantee) bool
- func (_mock *Guarantees) Adjust(key flow.Identifier, ...) (*flow.CollectionGuarantee, bool)
- func (_mock *Guarantees) All() map[flow.Identifier]*flow.CollectionGuarantee
- func (_mock *Guarantees) Clear()
- func (_m *Guarantees) EXPECT() *Guarantees_Expecter
- func (_mock *Guarantees) Get(identifier flow.Identifier) (*flow.CollectionGuarantee, bool)
- func (_mock *Guarantees) Has(identifier flow.Identifier) bool
- func (_mock *Guarantees) Remove(identifier flow.Identifier) bool
- func (_mock *Guarantees) Size() uint
- func (_mock *Guarantees) Values() []*flow.CollectionGuarantee
- type Guarantees_Add_Call
- type Guarantees_Adjust_Call
- func (_c *Guarantees_Adjust_Call) Return(collectionGuarantee *flow.CollectionGuarantee, b bool) *Guarantees_Adjust_Call
- func (_c *Guarantees_Adjust_Call) Run(run func(key flow.Identifier, ...)) *Guarantees_Adjust_Call
- func (_c *Guarantees_Adjust_Call) RunAndReturn(run func(key flow.Identifier, ...) (*flow.CollectionGuarantee, bool)) *Guarantees_Adjust_Call
- type Guarantees_All_Call
- func (_c *Guarantees_All_Call) Return(identifierToCollectionGuarantee map[flow.Identifier]*flow.CollectionGuarantee) *Guarantees_All_Call
- func (_c *Guarantees_All_Call) Run(run func()) *Guarantees_All_Call
- func (_c *Guarantees_All_Call) RunAndReturn(run func() map[flow.Identifier]*flow.CollectionGuarantee) *Guarantees_All_Call
- type Guarantees_Clear_Call
- type Guarantees_Expecter
- func (_e *Guarantees_Expecter) Add(identifier interface{}, collectionGuarantee interface{}) *Guarantees_Add_Call
- func (_e *Guarantees_Expecter) Adjust(key interface{}, f interface{}) *Guarantees_Adjust_Call
- func (_e *Guarantees_Expecter) All() *Guarantees_All_Call
- func (_e *Guarantees_Expecter) Clear() *Guarantees_Clear_Call
- func (_e *Guarantees_Expecter) Get(identifier interface{}) *Guarantees_Get_Call
- func (_e *Guarantees_Expecter) Has(identifier interface{}) *Guarantees_Has_Call
- func (_e *Guarantees_Expecter) Remove(identifier interface{}) *Guarantees_Remove_Call
- func (_e *Guarantees_Expecter) Size() *Guarantees_Size_Call
- func (_e *Guarantees_Expecter) Values() *Guarantees_Values_Call
- type Guarantees_Get_Call
- func (_c *Guarantees_Get_Call) Return(collectionGuarantee *flow.CollectionGuarantee, b bool) *Guarantees_Get_Call
- func (_c *Guarantees_Get_Call) Run(run func(identifier flow.Identifier)) *Guarantees_Get_Call
- func (_c *Guarantees_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.CollectionGuarantee, bool)) *Guarantees_Get_Call
- type Guarantees_Has_Call
- type Guarantees_Remove_Call
- type Guarantees_Size_Call
- type Guarantees_Values_Call
- type IdentifierMap
- func (_mock *IdentifierMap) Append(key flow.Identifier, id flow.Identifier)
- func (_m *IdentifierMap) EXPECT() *IdentifierMap_Expecter
- func (_mock *IdentifierMap) Get(key flow.Identifier) (flow.IdentifierList, bool)
- func (_mock *IdentifierMap) Has(key flow.Identifier) bool
- func (_mock *IdentifierMap) Keys() (flow.IdentifierList, bool)
- func (_mock *IdentifierMap) Remove(key flow.Identifier) bool
- func (_mock *IdentifierMap) RemoveIdFromKey(key flow.Identifier, id flow.Identifier) error
- func (_mock *IdentifierMap) Size() uint
- type IdentifierMap_Append_Call
- func (_c *IdentifierMap_Append_Call) Return() *IdentifierMap_Append_Call
- func (_c *IdentifierMap_Append_Call) Run(run func(key flow.Identifier, id flow.Identifier)) *IdentifierMap_Append_Call
- func (_c *IdentifierMap_Append_Call) RunAndReturn(run func(key flow.Identifier, id flow.Identifier)) *IdentifierMap_Append_Call
- type IdentifierMap_Expecter
- func (_e *IdentifierMap_Expecter) Append(key interface{}, id interface{}) *IdentifierMap_Append_Call
- func (_e *IdentifierMap_Expecter) Get(key interface{}) *IdentifierMap_Get_Call
- func (_e *IdentifierMap_Expecter) Has(key interface{}) *IdentifierMap_Has_Call
- func (_e *IdentifierMap_Expecter) Keys() *IdentifierMap_Keys_Call
- func (_e *IdentifierMap_Expecter) Remove(key interface{}) *IdentifierMap_Remove_Call
- func (_e *IdentifierMap_Expecter) RemoveIdFromKey(key interface{}, id interface{}) *IdentifierMap_RemoveIdFromKey_Call
- func (_e *IdentifierMap_Expecter) Size() *IdentifierMap_Size_Call
- type IdentifierMap_Get_Call
- func (_c *IdentifierMap_Get_Call) Return(identifierList flow.IdentifierList, b bool) *IdentifierMap_Get_Call
- func (_c *IdentifierMap_Get_Call) Run(run func(key flow.Identifier)) *IdentifierMap_Get_Call
- func (_c *IdentifierMap_Get_Call) RunAndReturn(run func(key flow.Identifier) (flow.IdentifierList, bool)) *IdentifierMap_Get_Call
- type IdentifierMap_Has_Call
- type IdentifierMap_Keys_Call
- type IdentifierMap_RemoveIdFromKey_Call
- func (_c *IdentifierMap_RemoveIdFromKey_Call) Return(err error) *IdentifierMap_RemoveIdFromKey_Call
- func (_c *IdentifierMap_RemoveIdFromKey_Call) Run(run func(key flow.Identifier, id flow.Identifier)) *IdentifierMap_RemoveIdFromKey_Call
- func (_c *IdentifierMap_RemoveIdFromKey_Call) RunAndReturn(run func(key flow.Identifier, id flow.Identifier) error) *IdentifierMap_RemoveIdFromKey_Call
- type IdentifierMap_Remove_Call
- type IdentifierMap_Size_Call
- type IncorporatedResultSeals
- func (_mock *IncorporatedResultSeals) Add(irSeal *flow.IncorporatedResultSeal) (bool, error)
- func (_mock *IncorporatedResultSeals) All() []*flow.IncorporatedResultSeal
- func (_mock *IncorporatedResultSeals) Clear()
- func (_m *IncorporatedResultSeals) EXPECT() *IncorporatedResultSeals_Expecter
- func (_mock *IncorporatedResultSeals) Get(identifier flow.Identifier) (*flow.IncorporatedResultSeal, bool)
- func (_mock *IncorporatedResultSeals) Limit() uint
- func (_mock *IncorporatedResultSeals) PruneUpToHeight(height uint64) error
- func (_mock *IncorporatedResultSeals) Remove(incorporatedResultID flow.Identifier) bool
- func (_mock *IncorporatedResultSeals) Size() uint
- type IncorporatedResultSeals_Add_Call
- func (_c *IncorporatedResultSeals_Add_Call) Return(b bool, err error) *IncorporatedResultSeals_Add_Call
- func (_c *IncorporatedResultSeals_Add_Call) Run(run func(irSeal *flow.IncorporatedResultSeal)) *IncorporatedResultSeals_Add_Call
- func (_c *IncorporatedResultSeals_Add_Call) RunAndReturn(run func(irSeal *flow.IncorporatedResultSeal) (bool, error)) *IncorporatedResultSeals_Add_Call
- type IncorporatedResultSeals_All_Call
- func (_c *IncorporatedResultSeals_All_Call) Return(incorporatedResultSeals []*flow.IncorporatedResultSeal) *IncorporatedResultSeals_All_Call
- func (_c *IncorporatedResultSeals_All_Call) Run(run func()) *IncorporatedResultSeals_All_Call
- func (_c *IncorporatedResultSeals_All_Call) RunAndReturn(run func() []*flow.IncorporatedResultSeal) *IncorporatedResultSeals_All_Call
- type IncorporatedResultSeals_Clear_Call
- type IncorporatedResultSeals_Expecter
- func (_e *IncorporatedResultSeals_Expecter) Add(irSeal interface{}) *IncorporatedResultSeals_Add_Call
- func (_e *IncorporatedResultSeals_Expecter) All() *IncorporatedResultSeals_All_Call
- func (_e *IncorporatedResultSeals_Expecter) Clear() *IncorporatedResultSeals_Clear_Call
- func (_e *IncorporatedResultSeals_Expecter) Get(identifier interface{}) *IncorporatedResultSeals_Get_Call
- func (_e *IncorporatedResultSeals_Expecter) Limit() *IncorporatedResultSeals_Limit_Call
- func (_e *IncorporatedResultSeals_Expecter) PruneUpToHeight(height interface{}) *IncorporatedResultSeals_PruneUpToHeight_Call
- func (_e *IncorporatedResultSeals_Expecter) Remove(incorporatedResultID interface{}) *IncorporatedResultSeals_Remove_Call
- func (_e *IncorporatedResultSeals_Expecter) Size() *IncorporatedResultSeals_Size_Call
- type IncorporatedResultSeals_Get_Call
- func (_c *IncorporatedResultSeals_Get_Call) Return(incorporatedResultSeal *flow.IncorporatedResultSeal, b bool) *IncorporatedResultSeals_Get_Call
- func (_c *IncorporatedResultSeals_Get_Call) Run(run func(identifier flow.Identifier)) *IncorporatedResultSeals_Get_Call
- func (_c *IncorporatedResultSeals_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.IncorporatedResultSeal, bool)) *IncorporatedResultSeals_Get_Call
- type IncorporatedResultSeals_Limit_Call
- func (_c *IncorporatedResultSeals_Limit_Call) Return(v uint) *IncorporatedResultSeals_Limit_Call
- func (_c *IncorporatedResultSeals_Limit_Call) Run(run func()) *IncorporatedResultSeals_Limit_Call
- func (_c *IncorporatedResultSeals_Limit_Call) RunAndReturn(run func() uint) *IncorporatedResultSeals_Limit_Call
- type IncorporatedResultSeals_PruneUpToHeight_Call
- func (_c *IncorporatedResultSeals_PruneUpToHeight_Call) Return(err error) *IncorporatedResultSeals_PruneUpToHeight_Call
- func (_c *IncorporatedResultSeals_PruneUpToHeight_Call) Run(run func(height uint64)) *IncorporatedResultSeals_PruneUpToHeight_Call
- func (_c *IncorporatedResultSeals_PruneUpToHeight_Call) RunAndReturn(run func(height uint64) error) *IncorporatedResultSeals_PruneUpToHeight_Call
- type IncorporatedResultSeals_Remove_Call
- func (_c *IncorporatedResultSeals_Remove_Call) Return(b bool) *IncorporatedResultSeals_Remove_Call
- func (_c *IncorporatedResultSeals_Remove_Call) Run(run func(incorporatedResultID flow.Identifier)) *IncorporatedResultSeals_Remove_Call
- func (_c *IncorporatedResultSeals_Remove_Call) RunAndReturn(run func(incorporatedResultID flow.Identifier) bool) *IncorporatedResultSeals_Remove_Call
- type IncorporatedResultSeals_Size_Call
- func (_c *IncorporatedResultSeals_Size_Call) Return(v uint) *IncorporatedResultSeals_Size_Call
- func (_c *IncorporatedResultSeals_Size_Call) Run(run func()) *IncorporatedResultSeals_Size_Call
- func (_c *IncorporatedResultSeals_Size_Call) RunAndReturn(run func() uint) *IncorporatedResultSeals_Size_Call
- type Mempool
- func (_mock *Mempool[K, V]) Add(v K, v1 V) bool
- func (_mock *Mempool[K, V]) Adjust(key K, f func(V) V) (V, bool)
- func (_mock *Mempool[K, V]) All() map[K]V
- func (_mock *Mempool[K, V]) Clear()
- func (_m *Mempool[K, V]) EXPECT() *Mempool_Expecter[K, V]
- func (_mock *Mempool[K, V]) Get(v K) (V, bool)
- func (_mock *Mempool[K, V]) Has(v K) bool
- func (_mock *Mempool[K, V]) Remove(v K) bool
- func (_mock *Mempool[K, V]) Size() uint
- func (_mock *Mempool[K, V]) Values() []V
- type Mempool_Add_Call
- type Mempool_Adjust_Call
- type Mempool_All_Call
- type Mempool_Clear_Call
- type Mempool_Expecter
- func (_e *Mempool_Expecter[K, V]) Add(v interface{}, v1 interface{}) *Mempool_Add_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) Adjust(key interface{}, f interface{}) *Mempool_Adjust_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) All() *Mempool_All_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) Clear() *Mempool_Clear_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) Get(v interface{}) *Mempool_Get_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) Has(v interface{}) *Mempool_Has_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) Remove(v interface{}) *Mempool_Remove_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) Size() *Mempool_Size_Call[K, V]
- func (_e *Mempool_Expecter[K, V]) Values() *Mempool_Values_Call[K, V]
- type Mempool_Get_Call
- type Mempool_Has_Call
- type Mempool_Remove_Call
- type Mempool_Size_Call
- type Mempool_Values_Call
- type MutableBackData
- func (_mock *MutableBackData[K, V]) Add(key K, value V) bool
- func (_mock *MutableBackData[K, V]) Adjust(key K, f func(value V) V) (V, bool)
- func (_mock *MutableBackData[K, V]) AdjustWithInit(key K, adjust func(value V) V, init func() V) (V, bool)
- func (_mock *MutableBackData[K, V]) All() map[K]V
- func (_mock *MutableBackData[K, V]) Clear()
- func (_m *MutableBackData[K, V]) EXPECT() *MutableBackData_Expecter[K, V]
- func (_mock *MutableBackData[K, V]) Get(key K) (V, bool)
- func (_mock *MutableBackData[K, V]) Has(key K) bool
- func (_mock *MutableBackData[K, V]) Keys() []K
- func (_mock *MutableBackData[K, V]) Remove(key K) (V, bool)
- func (_mock *MutableBackData[K, V]) Size() uint
- func (_mock *MutableBackData[K, V]) Values() []V
- type MutableBackData_Add_Call
- func (_c *MutableBackData_Add_Call[K, V]) Return(b bool) *MutableBackData_Add_Call[K, V]
- func (_c *MutableBackData_Add_Call[K, V]) Run(run func(key K, value V)) *MutableBackData_Add_Call[K, V]
- func (_c *MutableBackData_Add_Call[K, V]) RunAndReturn(run func(key K, value V) bool) *MutableBackData_Add_Call[K, V]
- type MutableBackData_AdjustWithInit_Call
- func (_c *MutableBackData_AdjustWithInit_Call[K, V]) Return(v V, b bool) *MutableBackData_AdjustWithInit_Call[K, V]
- func (_c *MutableBackData_AdjustWithInit_Call[K, V]) Run(run func(key K, adjust func(value V) V, init func() V)) *MutableBackData_AdjustWithInit_Call[K, V]
- func (_c *MutableBackData_AdjustWithInit_Call[K, V]) RunAndReturn(run func(key K, adjust func(value V) V, init func() V) (V, bool)) *MutableBackData_AdjustWithInit_Call[K, V]
- type MutableBackData_Adjust_Call
- func (_c *MutableBackData_Adjust_Call[K, V]) Return(v V, b bool) *MutableBackData_Adjust_Call[K, V]
- func (_c *MutableBackData_Adjust_Call[K, V]) Run(run func(key K, f func(value V) V)) *MutableBackData_Adjust_Call[K, V]
- func (_c *MutableBackData_Adjust_Call[K, V]) RunAndReturn(run func(key K, f func(value V) V) (V, bool)) *MutableBackData_Adjust_Call[K, V]
- type MutableBackData_All_Call
- type MutableBackData_Clear_Call
- type MutableBackData_Expecter
- func (_e *MutableBackData_Expecter[K, V]) Add(key interface{}, value interface{}) *MutableBackData_Add_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Adjust(key interface{}, f interface{}) *MutableBackData_Adjust_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) AdjustWithInit(key interface{}, adjust interface{}, init interface{}) *MutableBackData_AdjustWithInit_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) All() *MutableBackData_All_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Clear() *MutableBackData_Clear_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Get(key interface{}) *MutableBackData_Get_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Has(key interface{}) *MutableBackData_Has_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Keys() *MutableBackData_Keys_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Remove(key interface{}) *MutableBackData_Remove_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Size() *MutableBackData_Size_Call[K, V]
- func (_e *MutableBackData_Expecter[K, V]) Values() *MutableBackData_Values_Call[K, V]
- type MutableBackData_Get_Call
- func (_c *MutableBackData_Get_Call[K, V]) Return(v V, b bool) *MutableBackData_Get_Call[K, V]
- func (_c *MutableBackData_Get_Call[K, V]) Run(run func(key K)) *MutableBackData_Get_Call[K, V]
- func (_c *MutableBackData_Get_Call[K, V]) RunAndReturn(run func(key K) (V, bool)) *MutableBackData_Get_Call[K, V]
- type MutableBackData_Has_Call
- type MutableBackData_Keys_Call
- type MutableBackData_Remove_Call
- func (_c *MutableBackData_Remove_Call[K, V]) Return(v V, b bool) *MutableBackData_Remove_Call[K, V]
- func (_c *MutableBackData_Remove_Call[K, V]) Run(run func(key K)) *MutableBackData_Remove_Call[K, V]
- func (_c *MutableBackData_Remove_Call[K, V]) RunAndReturn(run func(key K) (V, bool)) *MutableBackData_Remove_Call[K, V]
- type MutableBackData_Size_Call
- type MutableBackData_Values_Call
- type PendingReceipts
- func (_mock *PendingReceipts) Add(receipt *flow.ExecutionReceipt) bool
- func (_mock *PendingReceipts) ByPreviousResultID(previousResultID flow.Identifier) []*flow.ExecutionReceipt
- func (_m *PendingReceipts) EXPECT() *PendingReceipts_Expecter
- func (_mock *PendingReceipts) PruneUpToHeight(height uint64) error
- func (_mock *PendingReceipts) Remove(receiptID flow.Identifier) bool
- type PendingReceipts_Add_Call
- func (_c *PendingReceipts_Add_Call) Return(b bool) *PendingReceipts_Add_Call
- func (_c *PendingReceipts_Add_Call) Run(run func(receipt *flow.ExecutionReceipt)) *PendingReceipts_Add_Call
- func (_c *PendingReceipts_Add_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) bool) *PendingReceipts_Add_Call
- type PendingReceipts_ByPreviousResultID_Call
- func (_c *PendingReceipts_ByPreviousResultID_Call) Return(executionReceipts []*flow.ExecutionReceipt) *PendingReceipts_ByPreviousResultID_Call
- func (_c *PendingReceipts_ByPreviousResultID_Call) Run(run func(previousResultID flow.Identifier)) *PendingReceipts_ByPreviousResultID_Call
- func (_c *PendingReceipts_ByPreviousResultID_Call) RunAndReturn(run func(previousResultID flow.Identifier) []*flow.ExecutionReceipt) *PendingReceipts_ByPreviousResultID_Call
- type PendingReceipts_Expecter
- func (_e *PendingReceipts_Expecter) Add(receipt interface{}) *PendingReceipts_Add_Call
- func (_e *PendingReceipts_Expecter) ByPreviousResultID(previousResultID interface{}) *PendingReceipts_ByPreviousResultID_Call
- func (_e *PendingReceipts_Expecter) PruneUpToHeight(height interface{}) *PendingReceipts_PruneUpToHeight_Call
- func (_e *PendingReceipts_Expecter) Remove(receiptID interface{}) *PendingReceipts_Remove_Call
- type PendingReceipts_PruneUpToHeight_Call
- func (_c *PendingReceipts_PruneUpToHeight_Call) Return(err error) *PendingReceipts_PruneUpToHeight_Call
- func (_c *PendingReceipts_PruneUpToHeight_Call) Run(run func(height uint64)) *PendingReceipts_PruneUpToHeight_Call
- func (_c *PendingReceipts_PruneUpToHeight_Call) RunAndReturn(run func(height uint64) error) *PendingReceipts_PruneUpToHeight_Call
- type PendingReceipts_Remove_Call
- func (_c *PendingReceipts_Remove_Call) Return(b bool) *PendingReceipts_Remove_Call
- func (_c *PendingReceipts_Remove_Call) Run(run func(receiptID flow.Identifier)) *PendingReceipts_Remove_Call
- func (_c *PendingReceipts_Remove_Call) RunAndReturn(run func(receiptID flow.Identifier) bool) *PendingReceipts_Remove_Call
- type TransactionTimings
- func (_mock *TransactionTimings) Add(identifier flow.Identifier, transactionTiming *flow.TransactionTiming) bool
- func (_mock *TransactionTimings) Adjust(key flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming) (*flow.TransactionTiming, bool)
- func (_mock *TransactionTimings) All() map[flow.Identifier]*flow.TransactionTiming
- func (_mock *TransactionTimings) Clear()
- func (_m *TransactionTimings) EXPECT() *TransactionTimings_Expecter
- func (_mock *TransactionTimings) Get(identifier flow.Identifier) (*flow.TransactionTiming, bool)
- func (_mock *TransactionTimings) Has(identifier flow.Identifier) bool
- func (_mock *TransactionTimings) Remove(identifier flow.Identifier) bool
- func (_mock *TransactionTimings) Size() uint
- func (_mock *TransactionTimings) Values() []*flow.TransactionTiming
- type TransactionTimings_Add_Call
- type TransactionTimings_Adjust_Call
- func (_c *TransactionTimings_Adjust_Call) Return(transactionTiming *flow.TransactionTiming, b bool) *TransactionTimings_Adjust_Call
- func (_c *TransactionTimings_Adjust_Call) Run(...) *TransactionTimings_Adjust_Call
- func (_c *TransactionTimings_Adjust_Call) RunAndReturn(...) *TransactionTimings_Adjust_Call
- type TransactionTimings_All_Call
- func (_c *TransactionTimings_All_Call) Return(identifierToTransactionTiming map[flow.Identifier]*flow.TransactionTiming) *TransactionTimings_All_Call
- func (_c *TransactionTimings_All_Call) Run(run func()) *TransactionTimings_All_Call
- func (_c *TransactionTimings_All_Call) RunAndReturn(run func() map[flow.Identifier]*flow.TransactionTiming) *TransactionTimings_All_Call
- type TransactionTimings_Clear_Call
- type TransactionTimings_Expecter
- func (_e *TransactionTimings_Expecter) Add(identifier interface{}, transactionTiming interface{}) *TransactionTimings_Add_Call
- func (_e *TransactionTimings_Expecter) Adjust(key interface{}, f interface{}) *TransactionTimings_Adjust_Call
- func (_e *TransactionTimings_Expecter) All() *TransactionTimings_All_Call
- func (_e *TransactionTimings_Expecter) Clear() *TransactionTimings_Clear_Call
- func (_e *TransactionTimings_Expecter) Get(identifier interface{}) *TransactionTimings_Get_Call
- func (_e *TransactionTimings_Expecter) Has(identifier interface{}) *TransactionTimings_Has_Call
- func (_e *TransactionTimings_Expecter) Remove(identifier interface{}) *TransactionTimings_Remove_Call
- func (_e *TransactionTimings_Expecter) Size() *TransactionTimings_Size_Call
- func (_e *TransactionTimings_Expecter) Values() *TransactionTimings_Values_Call
- type TransactionTimings_Get_Call
- func (_c *TransactionTimings_Get_Call) Return(transactionTiming *flow.TransactionTiming, b bool) *TransactionTimings_Get_Call
- func (_c *TransactionTimings_Get_Call) Run(run func(identifier flow.Identifier)) *TransactionTimings_Get_Call
- func (_c *TransactionTimings_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.TransactionTiming, bool)) *TransactionTimings_Get_Call
- type TransactionTimings_Has_Call
- func (_c *TransactionTimings_Has_Call) Return(b bool) *TransactionTimings_Has_Call
- func (_c *TransactionTimings_Has_Call) Run(run func(identifier flow.Identifier)) *TransactionTimings_Has_Call
- func (_c *TransactionTimings_Has_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *TransactionTimings_Has_Call
- type TransactionTimings_Remove_Call
- func (_c *TransactionTimings_Remove_Call) Return(b bool) *TransactionTimings_Remove_Call
- func (_c *TransactionTimings_Remove_Call) Run(run func(identifier flow.Identifier)) *TransactionTimings_Remove_Call
- func (_c *TransactionTimings_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *TransactionTimings_Remove_Call
- type TransactionTimings_Size_Call
- type TransactionTimings_Values_Call
- func (_c *TransactionTimings_Values_Call) Return(transactionTimings []*flow.TransactionTiming) *TransactionTimings_Values_Call
- func (_c *TransactionTimings_Values_Call) Run(run func()) *TransactionTimings_Values_Call
- func (_c *TransactionTimings_Values_Call) RunAndReturn(run func() []*flow.TransactionTiming) *TransactionTimings_Values_Call
- type Transactions
- func (_mock *Transactions) Add(identifier flow.Identifier, transactionBody *flow.TransactionBody) bool
- func (_mock *Transactions) Adjust(key flow.Identifier, f func(*flow.TransactionBody) *flow.TransactionBody) (*flow.TransactionBody, bool)
- func (_mock *Transactions) All() map[flow.Identifier]*flow.TransactionBody
- func (_mock *Transactions) ByPayer(payer flow.Address) []*flow.TransactionBody
- func (_mock *Transactions) Clear()
- func (_m *Transactions) EXPECT() *Transactions_Expecter
- func (_mock *Transactions) Get(identifier flow.Identifier) (*flow.TransactionBody, bool)
- func (_mock *Transactions) Has(identifier flow.Identifier) bool
- func (_mock *Transactions) Remove(identifier flow.Identifier) bool
- func (_mock *Transactions) Size() uint
- func (_mock *Transactions) Values() []*flow.TransactionBody
- type Transactions_Add_Call
- type Transactions_Adjust_Call
- type Transactions_All_Call
- func (_c *Transactions_All_Call) Return(identifierToTransactionBody map[flow.Identifier]*flow.TransactionBody) *Transactions_All_Call
- func (_c *Transactions_All_Call) Run(run func()) *Transactions_All_Call
- func (_c *Transactions_All_Call) RunAndReturn(run func() map[flow.Identifier]*flow.TransactionBody) *Transactions_All_Call
- type Transactions_ByPayer_Call
- func (_c *Transactions_ByPayer_Call) Return(transactionBodys []*flow.TransactionBody) *Transactions_ByPayer_Call
- func (_c *Transactions_ByPayer_Call) Run(run func(payer flow.Address)) *Transactions_ByPayer_Call
- func (_c *Transactions_ByPayer_Call) RunAndReturn(run func(payer flow.Address) []*flow.TransactionBody) *Transactions_ByPayer_Call
- type Transactions_Clear_Call
- type Transactions_Expecter
- func (_e *Transactions_Expecter) Add(identifier interface{}, transactionBody interface{}) *Transactions_Add_Call
- func (_e *Transactions_Expecter) Adjust(key interface{}, f interface{}) *Transactions_Adjust_Call
- func (_e *Transactions_Expecter) All() *Transactions_All_Call
- func (_e *Transactions_Expecter) ByPayer(payer interface{}) *Transactions_ByPayer_Call
- func (_e *Transactions_Expecter) Clear() *Transactions_Clear_Call
- func (_e *Transactions_Expecter) Get(identifier interface{}) *Transactions_Get_Call
- func (_e *Transactions_Expecter) Has(identifier interface{}) *Transactions_Has_Call
- func (_e *Transactions_Expecter) Remove(identifier interface{}) *Transactions_Remove_Call
- func (_e *Transactions_Expecter) Size() *Transactions_Size_Call
- func (_e *Transactions_Expecter) Values() *Transactions_Values_Call
- type Transactions_Get_Call
- func (_c *Transactions_Get_Call) Return(transactionBody *flow.TransactionBody, b bool) *Transactions_Get_Call
- func (_c *Transactions_Get_Call) Run(run func(identifier flow.Identifier)) *Transactions_Get_Call
- func (_c *Transactions_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.TransactionBody, bool)) *Transactions_Get_Call
- type Transactions_Has_Call
- type Transactions_Remove_Call
- type Transactions_Size_Call
- type Transactions_Values_Call
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 ¶ added in v0.26.1
func NewAssignments(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*Assignments) Add ¶
func (_mock *Assignments) Add(identifier flow.Identifier, assignment *chunks.Assignment) bool
Add provides a mock function for the type Assignments
func (*Assignments) Adjust ¶ added in v0.43.0
func (_mock *Assignments) Adjust(key flow.Identifier, f func(*chunks.Assignment) *chunks.Assignment) (*chunks.Assignment, bool)
Adjust provides a mock function for the type Assignments
func (*Assignments) All ¶
func (_mock *Assignments) All() map[flow.Identifier]*chunks.Assignment
All provides a mock function for the type Assignments
func (*Assignments) Clear ¶ added in v0.43.0
func (_mock *Assignments) Clear()
Clear provides a mock function for the type Assignments
func (*Assignments) EXPECT ¶ added in v0.46.0
func (_m *Assignments) EXPECT() *Assignments_Expecter
func (*Assignments) Get ¶ added in v0.43.0
func (_mock *Assignments) Get(identifier flow.Identifier) (*chunks.Assignment, bool)
Get provides a mock function for the type Assignments
func (*Assignments) Has ¶
func (_mock *Assignments) Has(identifier flow.Identifier) bool
Has provides a mock function for the type Assignments
func (*Assignments) Remove ¶ added in v0.27.0
func (_mock *Assignments) Remove(identifier flow.Identifier) bool
Remove provides a mock function for the type Assignments
func (*Assignments) Size ¶
func (_mock *Assignments) Size() uint
Size provides a mock function for the type Assignments
func (*Assignments) Values ¶ added in v0.43.0
func (_mock *Assignments) Values() []*chunks.Assignment
Values provides a mock function for the type Assignments
type Assignments_Add_Call ¶ added in v0.46.0
Assignments_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Assignments_Add_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Add_Call) Return(b bool) *Assignments_Add_Call
func (*Assignments_Add_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Add_Call) Run(run func(identifier flow.Identifier, assignment *chunks.Assignment)) *Assignments_Add_Call
func (*Assignments_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Add_Call) RunAndReturn(run func(identifier flow.Identifier, assignment *chunks.Assignment) bool) *Assignments_Add_Call
type Assignments_Adjust_Call ¶ added in v0.46.0
Assignments_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*Assignments_Adjust_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Adjust_Call) Return(assignment *chunks.Assignment, b bool) *Assignments_Adjust_Call
func (*Assignments_Adjust_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Adjust_Call) Run(run func(key flow.Identifier, f func(*chunks.Assignment) *chunks.Assignment)) *Assignments_Adjust_Call
func (*Assignments_Adjust_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Adjust_Call) RunAndReturn(run func(key flow.Identifier, f func(*chunks.Assignment) *chunks.Assignment) (*chunks.Assignment, bool)) *Assignments_Adjust_Call
type Assignments_All_Call ¶ added in v0.46.0
Assignments_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*Assignments_All_Call) Return ¶ added in v0.46.0
func (_c *Assignments_All_Call) Return(identifierToAssignment map[flow.Identifier]*chunks.Assignment) *Assignments_All_Call
func (*Assignments_All_Call) Run ¶ added in v0.46.0
func (_c *Assignments_All_Call) Run(run func()) *Assignments_All_Call
func (*Assignments_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_All_Call) RunAndReturn(run func() map[flow.Identifier]*chunks.Assignment) *Assignments_All_Call
type Assignments_Clear_Call ¶ added in v0.46.0
Assignments_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*Assignments_Clear_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Clear_Call) Return() *Assignments_Clear_Call
func (*Assignments_Clear_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Clear_Call) Run(run func()) *Assignments_Clear_Call
func (*Assignments_Clear_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Clear_Call) RunAndReturn(run func()) *Assignments_Clear_Call
type Assignments_Expecter ¶ added in v0.46.0
type Assignments_Expecter struct {
// contains filtered or unexported fields
}
func (*Assignments_Expecter) Add ¶ added in v0.46.0
func (_e *Assignments_Expecter) Add(identifier interface{}, assignment interface{}) *Assignments_Add_Call
Add is a helper method to define mock.On call
- identifier flow.Identifier
- assignment *chunks.Assignment
func (*Assignments_Expecter) Adjust ¶ added in v0.46.0
func (_e *Assignments_Expecter) Adjust(key interface{}, f interface{}) *Assignments_Adjust_Call
Adjust is a helper method to define mock.On call
- key flow.Identifier
- f func(*chunks.Assignment) *chunks.Assignment
func (*Assignments_Expecter) All ¶ added in v0.46.0
func (_e *Assignments_Expecter) All() *Assignments_All_Call
All is a helper method to define mock.On call
func (*Assignments_Expecter) Clear ¶ added in v0.46.0
func (_e *Assignments_Expecter) Clear() *Assignments_Clear_Call
Clear is a helper method to define mock.On call
func (*Assignments_Expecter) Get ¶ added in v0.46.0
func (_e *Assignments_Expecter) Get(identifier interface{}) *Assignments_Get_Call
Get is a helper method to define mock.On call
- identifier flow.Identifier
func (*Assignments_Expecter) Has ¶ added in v0.46.0
func (_e *Assignments_Expecter) Has(identifier interface{}) *Assignments_Has_Call
Has is a helper method to define mock.On call
- identifier flow.Identifier
func (*Assignments_Expecter) Remove ¶ added in v0.46.0
func (_e *Assignments_Expecter) Remove(identifier interface{}) *Assignments_Remove_Call
Remove is a helper method to define mock.On call
- identifier flow.Identifier
func (*Assignments_Expecter) Size ¶ added in v0.46.0
func (_e *Assignments_Expecter) Size() *Assignments_Size_Call
Size is a helper method to define mock.On call
func (*Assignments_Expecter) Values ¶ added in v0.46.0
func (_e *Assignments_Expecter) Values() *Assignments_Values_Call
Values is a helper method to define mock.On call
type Assignments_Get_Call ¶ added in v0.46.0
Assignments_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Assignments_Get_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Get_Call) Return(assignment *chunks.Assignment, b bool) *Assignments_Get_Call
func (*Assignments_Get_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Get_Call) Run(run func(identifier flow.Identifier)) *Assignments_Get_Call
func (*Assignments_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*chunks.Assignment, bool)) *Assignments_Get_Call
type Assignments_Has_Call ¶ added in v0.46.0
Assignments_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*Assignments_Has_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Has_Call) Return(b bool) *Assignments_Has_Call
func (*Assignments_Has_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Has_Call) Run(run func(identifier flow.Identifier)) *Assignments_Has_Call
func (*Assignments_Has_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Has_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *Assignments_Has_Call
type Assignments_Remove_Call ¶ added in v0.46.0
Assignments_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*Assignments_Remove_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Remove_Call) Return(b bool) *Assignments_Remove_Call
func (*Assignments_Remove_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Remove_Call) Run(run func(identifier flow.Identifier)) *Assignments_Remove_Call
func (*Assignments_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *Assignments_Remove_Call
type Assignments_Size_Call ¶ added in v0.46.0
Assignments_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*Assignments_Size_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Size_Call) Return(v uint) *Assignments_Size_Call
func (*Assignments_Size_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Size_Call) Run(run func()) *Assignments_Size_Call
func (*Assignments_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Size_Call) RunAndReturn(run func() uint) *Assignments_Size_Call
type Assignments_Values_Call ¶ added in v0.46.0
Assignments_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*Assignments_Values_Call) Return ¶ added in v0.46.0
func (_c *Assignments_Values_Call) Return(assignments []*chunks.Assignment) *Assignments_Values_Call
func (*Assignments_Values_Call) Run ¶ added in v0.46.0
func (_c *Assignments_Values_Call) Run(run func()) *Assignments_Values_Call
func (*Assignments_Values_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Assignments_Values_Call) RunAndReturn(run func() []*chunks.Assignment) *Assignments_Values_Call
type BackData ¶ added in v0.23.9
type BackData[K comparable, V any] struct { mock.Mock }
BackData is an autogenerated mock type for the BackData type
func NewBackData ¶ added in v0.26.1
func NewBackData[K comparable, V any](t interface { mock.TestingT Cleanup(func()) }) *BackData[K, V]
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. The first argument is typically a *testing.T value.
func (*BackData[K, V]) All ¶ added in v0.23.9
func (_mock *BackData[K, V]) All() map[K]V
All provides a mock function for the type BackData
func (*BackData[K, V]) Clear ¶ added in v0.23.9
func (_mock *BackData[K, V]) Clear()
Clear provides a mock function for the type BackData
func (*BackData[K, V]) EXPECT ¶ added in v0.46.0
func (_m *BackData[K, V]) EXPECT() *BackData_Expecter[K, V]
func (*BackData[K, V]) Keys ¶ added in v0.43.0
func (_mock *BackData[K, V]) Keys() []K
Keys provides a mock function for the type BackData
func (*BackData[K, V]) Remove ¶ added in v0.27.0
Remove provides a mock function for the type BackData
type BackData_Add_Call ¶ added in v0.46.0
type BackData_Add_Call[K comparable, V any] struct { *mock.Call }
BackData_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*BackData_Add_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Add_Call[K, V]) Return(b bool) *BackData_Add_Call[K, V]
func (*BackData_Add_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Add_Call[K, V]) Run(run func(key K, value V)) *BackData_Add_Call[K, V]
func (*BackData_Add_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Add_Call[K, V]) RunAndReturn(run func(key K, value V) bool) *BackData_Add_Call[K, V]
type BackData_All_Call ¶ added in v0.46.0
type BackData_All_Call[K comparable, V any] struct { *mock.Call }
BackData_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*BackData_All_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_All_Call[K, V]) Return(vToV map[K]V) *BackData_All_Call[K, V]
func (*BackData_All_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_All_Call[K, V]) Run(run func()) *BackData_All_Call[K, V]
func (*BackData_All_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_All_Call[K, V]) RunAndReturn(run func() map[K]V) *BackData_All_Call[K, V]
type BackData_Clear_Call ¶ added in v0.46.0
type BackData_Clear_Call[K comparable, V any] struct { *mock.Call }
BackData_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*BackData_Clear_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Clear_Call[K, V]) Return() *BackData_Clear_Call[K, V]
func (*BackData_Clear_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Clear_Call[K, V]) Run(run func()) *BackData_Clear_Call[K, V]
func (*BackData_Clear_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Clear_Call[K, V]) RunAndReturn(run func()) *BackData_Clear_Call[K, V]
type BackData_Expecter ¶ added in v0.46.0
type BackData_Expecter[K comparable, V any] struct { // contains filtered or unexported fields }
func (*BackData_Expecter[K, V]) Add ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Add(key interface{}, value interface{}) *BackData_Add_Call[K, V]
Add is a helper method to define mock.On call
- key K
- value V
func (*BackData_Expecter[K, V]) All ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) All() *BackData_All_Call[K, V]
All is a helper method to define mock.On call
func (*BackData_Expecter[K, V]) Clear ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Clear() *BackData_Clear_Call[K, V]
Clear is a helper method to define mock.On call
func (*BackData_Expecter[K, V]) Get ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Get(key interface{}) *BackData_Get_Call[K, V]
Get is a helper method to define mock.On call
- key K
func (*BackData_Expecter[K, V]) Has ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Has(key interface{}) *BackData_Has_Call[K, V]
Has is a helper method to define mock.On call
- key K
func (*BackData_Expecter[K, V]) Keys ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Keys() *BackData_Keys_Call[K, V]
Keys is a helper method to define mock.On call
func (*BackData_Expecter[K, V]) Remove ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Remove(key interface{}) *BackData_Remove_Call[K, V]
Remove is a helper method to define mock.On call
- key K
func (*BackData_Expecter[K, V]) Size ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Size() *BackData_Size_Call[K, V]
Size is a helper method to define mock.On call
func (*BackData_Expecter[K, V]) Values ¶ added in v0.46.0
func (_e *BackData_Expecter[K, V]) Values() *BackData_Values_Call[K, V]
Values is a helper method to define mock.On call
type BackData_Get_Call ¶ added in v0.46.0
type BackData_Get_Call[K comparable, V any] struct { *mock.Call }
BackData_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*BackData_Get_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Get_Call[K, V]) Return(v V, b bool) *BackData_Get_Call[K, V]
func (*BackData_Get_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Get_Call[K, V]) Run(run func(key K)) *BackData_Get_Call[K, V]
func (*BackData_Get_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Get_Call[K, V]) RunAndReturn(run func(key K) (V, bool)) *BackData_Get_Call[K, V]
type BackData_Has_Call ¶ added in v0.46.0
type BackData_Has_Call[K comparable, V any] struct { *mock.Call }
BackData_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*BackData_Has_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Has_Call[K, V]) Return(b bool) *BackData_Has_Call[K, V]
func (*BackData_Has_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Has_Call[K, V]) Run(run func(key K)) *BackData_Has_Call[K, V]
func (*BackData_Has_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Has_Call[K, V]) RunAndReturn(run func(key K) bool) *BackData_Has_Call[K, V]
type BackData_Keys_Call ¶ added in v0.46.0
type BackData_Keys_Call[K comparable, V any] struct { *mock.Call }
BackData_Keys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Keys'
func (*BackData_Keys_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Keys_Call[K, V]) Return(vs []K) *BackData_Keys_Call[K, V]
func (*BackData_Keys_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Keys_Call[K, V]) Run(run func()) *BackData_Keys_Call[K, V]
func (*BackData_Keys_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Keys_Call[K, V]) RunAndReturn(run func() []K) *BackData_Keys_Call[K, V]
type BackData_Remove_Call ¶ added in v0.46.0
type BackData_Remove_Call[K comparable, V any] struct { *mock.Call }
BackData_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*BackData_Remove_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Remove_Call[K, V]) Return(v V, b bool) *BackData_Remove_Call[K, V]
func (*BackData_Remove_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Remove_Call[K, V]) Run(run func(key K)) *BackData_Remove_Call[K, V]
func (*BackData_Remove_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Remove_Call[K, V]) RunAndReturn(run func(key K) (V, bool)) *BackData_Remove_Call[K, V]
type BackData_Size_Call ¶ added in v0.46.0
type BackData_Size_Call[K comparable, V any] struct { *mock.Call }
BackData_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*BackData_Size_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Size_Call[K, V]) Return(v uint) *BackData_Size_Call[K, V]
func (*BackData_Size_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Size_Call[K, V]) Run(run func()) *BackData_Size_Call[K, V]
func (*BackData_Size_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Size_Call[K, V]) RunAndReturn(run func() uint) *BackData_Size_Call[K, V]
type BackData_Values_Call ¶ added in v0.46.0
type BackData_Values_Call[K comparable, V any] struct { *mock.Call }
BackData_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*BackData_Values_Call[K, V]) Return ¶ added in v0.46.0
func (_c *BackData_Values_Call[K, V]) Return(vs []V) *BackData_Values_Call[K, V]
func (*BackData_Values_Call[K, V]) Run ¶ added in v0.46.0
func (_c *BackData_Values_Call[K, V]) Run(run func()) *BackData_Values_Call[K, V]
func (*BackData_Values_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *BackData_Values_Call[K, V]) RunAndReturn(run func() []V) *BackData_Values_Call[K, V]
type ChunkRequests ¶ added in v0.17.0
ChunkRequests is an autogenerated mock type for the ChunkRequests type
func NewChunkRequests ¶ added in v0.26.1
func NewChunkRequests(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*ChunkRequests) Add ¶ added in v0.17.0
func (_mock *ChunkRequests) Add(request *verification.ChunkDataPackRequest) bool
Add provides a mock function for the type ChunkRequests
func (*ChunkRequests) All ¶ added in v0.17.0
func (_mock *ChunkRequests) All() verification.ChunkDataPackRequestInfoList
All provides a mock function for the type ChunkRequests
func (*ChunkRequests) EXPECT ¶ added in v0.46.0
func (_m *ChunkRequests) EXPECT() *ChunkRequests_Expecter
func (*ChunkRequests) IncrementAttempt ¶ added in v0.17.0
func (_mock *ChunkRequests) IncrementAttempt(chunkID flow.Identifier) bool
IncrementAttempt provides a mock function for the type ChunkRequests
func (*ChunkRequests) PopAll ¶ added in v0.23.2
func (_mock *ChunkRequests) PopAll(chunkID flow.Identifier) (chunks.LocatorMap, bool)
PopAll provides a mock function for the type ChunkRequests
func (*ChunkRequests) Remove ¶ added in v0.27.0
func (_mock *ChunkRequests) Remove(chunkID flow.Identifier) bool
Remove provides a mock function for the type ChunkRequests
func (*ChunkRequests) RequestHistory ¶ added in v0.17.0
func (_mock *ChunkRequests) RequestHistory(chunkID flow.Identifier) (uint64, time.Time, time.Duration, bool)
RequestHistory provides a mock function for the type ChunkRequests
func (*ChunkRequests) Size ¶ added in v0.17.1
func (_mock *ChunkRequests) Size() uint
Size provides a mock function for the type ChunkRequests
func (*ChunkRequests) UpdateRequestHistory ¶ added in v0.17.0
func (_mock *ChunkRequests) UpdateRequestHistory(chunkID flow.Identifier, updater mempool.ChunkRequestHistoryUpdaterFunc) (uint64, time.Time, time.Duration, bool)
UpdateRequestHistory provides a mock function for the type ChunkRequests
type ChunkRequests_Add_Call ¶ added in v0.46.0
ChunkRequests_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*ChunkRequests_Add_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_Add_Call) Return(b bool) *ChunkRequests_Add_Call
func (*ChunkRequests_Add_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_Add_Call) Run(run func(request *verification.ChunkDataPackRequest)) *ChunkRequests_Add_Call
func (*ChunkRequests_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_Add_Call) RunAndReturn(run func(request *verification.ChunkDataPackRequest) bool) *ChunkRequests_Add_Call
type ChunkRequests_All_Call ¶ added in v0.46.0
ChunkRequests_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*ChunkRequests_All_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_All_Call) Return(chunkDataPackRequestInfoList verification.ChunkDataPackRequestInfoList) *ChunkRequests_All_Call
func (*ChunkRequests_All_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_All_Call) Run(run func()) *ChunkRequests_All_Call
func (*ChunkRequests_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_All_Call) RunAndReturn(run func() verification.ChunkDataPackRequestInfoList) *ChunkRequests_All_Call
type ChunkRequests_Expecter ¶ added in v0.46.0
type ChunkRequests_Expecter struct {
// contains filtered or unexported fields
}
func (*ChunkRequests_Expecter) Add ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) Add(request interface{}) *ChunkRequests_Add_Call
Add is a helper method to define mock.On call
- request *verification.ChunkDataPackRequest
func (*ChunkRequests_Expecter) All ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) All() *ChunkRequests_All_Call
All is a helper method to define mock.On call
func (*ChunkRequests_Expecter) IncrementAttempt ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) IncrementAttempt(chunkID interface{}) *ChunkRequests_IncrementAttempt_Call
IncrementAttempt is a helper method to define mock.On call
- chunkID flow.Identifier
func (*ChunkRequests_Expecter) PopAll ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) PopAll(chunkID interface{}) *ChunkRequests_PopAll_Call
PopAll is a helper method to define mock.On call
- chunkID flow.Identifier
func (*ChunkRequests_Expecter) Remove ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) Remove(chunkID interface{}) *ChunkRequests_Remove_Call
Remove is a helper method to define mock.On call
- chunkID flow.Identifier
func (*ChunkRequests_Expecter) RequestHistory ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) RequestHistory(chunkID interface{}) *ChunkRequests_RequestHistory_Call
RequestHistory is a helper method to define mock.On call
- chunkID flow.Identifier
func (*ChunkRequests_Expecter) Size ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) Size() *ChunkRequests_Size_Call
Size is a helper method to define mock.On call
func (*ChunkRequests_Expecter) UpdateRequestHistory ¶ added in v0.46.0
func (_e *ChunkRequests_Expecter) UpdateRequestHistory(chunkID interface{}, updater interface{}) *ChunkRequests_UpdateRequestHistory_Call
UpdateRequestHistory is a helper method to define mock.On call
- chunkID flow.Identifier
- updater mempool.ChunkRequestHistoryUpdaterFunc
type ChunkRequests_IncrementAttempt_Call ¶ added in v0.46.0
ChunkRequests_IncrementAttempt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementAttempt'
func (*ChunkRequests_IncrementAttempt_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_IncrementAttempt_Call) Return(b bool) *ChunkRequests_IncrementAttempt_Call
func (*ChunkRequests_IncrementAttempt_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_IncrementAttempt_Call) Run(run func(chunkID flow.Identifier)) *ChunkRequests_IncrementAttempt_Call
func (*ChunkRequests_IncrementAttempt_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_IncrementAttempt_Call) RunAndReturn(run func(chunkID flow.Identifier) bool) *ChunkRequests_IncrementAttempt_Call
type ChunkRequests_PopAll_Call ¶ added in v0.46.0
ChunkRequests_PopAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PopAll'
func (*ChunkRequests_PopAll_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_PopAll_Call) Return(locatorMap chunks.LocatorMap, b bool) *ChunkRequests_PopAll_Call
func (*ChunkRequests_PopAll_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_PopAll_Call) Run(run func(chunkID flow.Identifier)) *ChunkRequests_PopAll_Call
func (*ChunkRequests_PopAll_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_PopAll_Call) RunAndReturn(run func(chunkID flow.Identifier) (chunks.LocatorMap, bool)) *ChunkRequests_PopAll_Call
type ChunkRequests_Remove_Call ¶ added in v0.46.0
ChunkRequests_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*ChunkRequests_Remove_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_Remove_Call) Return(b bool) *ChunkRequests_Remove_Call
func (*ChunkRequests_Remove_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_Remove_Call) Run(run func(chunkID flow.Identifier)) *ChunkRequests_Remove_Call
func (*ChunkRequests_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_Remove_Call) RunAndReturn(run func(chunkID flow.Identifier) bool) *ChunkRequests_Remove_Call
type ChunkRequests_RequestHistory_Call ¶ added in v0.46.0
ChunkRequests_RequestHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestHistory'
func (*ChunkRequests_RequestHistory_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_RequestHistory_Call) Return(v uint64, time1 time.Time, duration time.Duration, b bool) *ChunkRequests_RequestHistory_Call
func (*ChunkRequests_RequestHistory_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_RequestHistory_Call) Run(run func(chunkID flow.Identifier)) *ChunkRequests_RequestHistory_Call
func (*ChunkRequests_RequestHistory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_RequestHistory_Call) RunAndReturn(run func(chunkID flow.Identifier) (uint64, time.Time, time.Duration, bool)) *ChunkRequests_RequestHistory_Call
type ChunkRequests_Size_Call ¶ added in v0.46.0
ChunkRequests_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*ChunkRequests_Size_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_Size_Call) Return(v uint) *ChunkRequests_Size_Call
func (*ChunkRequests_Size_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_Size_Call) Run(run func()) *ChunkRequests_Size_Call
func (*ChunkRequests_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_Size_Call) RunAndReturn(run func() uint) *ChunkRequests_Size_Call
type ChunkRequests_UpdateRequestHistory_Call ¶ added in v0.46.0
ChunkRequests_UpdateRequestHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRequestHistory'
func (*ChunkRequests_UpdateRequestHistory_Call) Return ¶ added in v0.46.0
func (_c *ChunkRequests_UpdateRequestHistory_Call) Return(v uint64, time1 time.Time, duration time.Duration, b bool) *ChunkRequests_UpdateRequestHistory_Call
func (*ChunkRequests_UpdateRequestHistory_Call) Run ¶ added in v0.46.0
func (_c *ChunkRequests_UpdateRequestHistory_Call) Run(run func(chunkID flow.Identifier, updater mempool.ChunkRequestHistoryUpdaterFunc)) *ChunkRequests_UpdateRequestHistory_Call
func (*ChunkRequests_UpdateRequestHistory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkRequests_UpdateRequestHistory_Call) RunAndReturn(run func(chunkID flow.Identifier, updater mempool.ChunkRequestHistoryUpdaterFunc) (uint64, time.Time, time.Duration, bool)) *ChunkRequests_UpdateRequestHistory_Call
type ChunkStatuses ¶ added in v0.17.0
ChunkStatuses is an autogenerated mock type for the ChunkStatuses type
func NewChunkStatuses ¶ added in v0.26.1
func NewChunkStatuses(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*ChunkStatuses) Add ¶ added in v0.17.0
func (_mock *ChunkStatuses) Add(identifier flow.Identifier, chunkStatus *verification.ChunkStatus) bool
Add provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) Adjust ¶ added in v0.43.0
func (_mock *ChunkStatuses) Adjust(key flow.Identifier, f func(*verification.ChunkStatus) *verification.ChunkStatus) (*verification.ChunkStatus, bool)
Adjust provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) All ¶ added in v0.17.0
func (_mock *ChunkStatuses) All() map[flow.Identifier]*verification.ChunkStatus
All provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) Clear ¶ added in v0.43.0
func (_mock *ChunkStatuses) Clear()
Clear provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) EXPECT ¶ added in v0.46.0
func (_m *ChunkStatuses) EXPECT() *ChunkStatuses_Expecter
func (*ChunkStatuses) Get ¶ added in v0.23.2
func (_mock *ChunkStatuses) Get(identifier flow.Identifier) (*verification.ChunkStatus, bool)
Get provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) Has ¶ added in v0.43.0
func (_mock *ChunkStatuses) Has(identifier flow.Identifier) bool
Has provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) Remove ¶ added in v0.27.0
func (_mock *ChunkStatuses) Remove(identifier flow.Identifier) bool
Remove provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) Size ¶ added in v0.17.1
func (_mock *ChunkStatuses) Size() uint
Size provides a mock function for the type ChunkStatuses
func (*ChunkStatuses) Values ¶ added in v0.43.0
func (_mock *ChunkStatuses) Values() []*verification.ChunkStatus
Values provides a mock function for the type ChunkStatuses
type ChunkStatuses_Add_Call ¶ added in v0.46.0
ChunkStatuses_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*ChunkStatuses_Add_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Add_Call) Return(b bool) *ChunkStatuses_Add_Call
func (*ChunkStatuses_Add_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Add_Call) Run(run func(identifier flow.Identifier, chunkStatus *verification.ChunkStatus)) *ChunkStatuses_Add_Call
func (*ChunkStatuses_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Add_Call) RunAndReturn(run func(identifier flow.Identifier, chunkStatus *verification.ChunkStatus) bool) *ChunkStatuses_Add_Call
type ChunkStatuses_Adjust_Call ¶ added in v0.46.0
ChunkStatuses_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*ChunkStatuses_Adjust_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Adjust_Call) Return(chunkStatus *verification.ChunkStatus, b bool) *ChunkStatuses_Adjust_Call
func (*ChunkStatuses_Adjust_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Adjust_Call) Run(run func(key flow.Identifier, f func(*verification.ChunkStatus) *verification.ChunkStatus)) *ChunkStatuses_Adjust_Call
func (*ChunkStatuses_Adjust_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Adjust_Call) RunAndReturn(run func(key flow.Identifier, f func(*verification.ChunkStatus) *verification.ChunkStatus) (*verification.ChunkStatus, bool)) *ChunkStatuses_Adjust_Call
type ChunkStatuses_All_Call ¶ added in v0.46.0
ChunkStatuses_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*ChunkStatuses_All_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_All_Call) Return(identifierToChunkStatus map[flow.Identifier]*verification.ChunkStatus) *ChunkStatuses_All_Call
func (*ChunkStatuses_All_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_All_Call) Run(run func()) *ChunkStatuses_All_Call
func (*ChunkStatuses_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_All_Call) RunAndReturn(run func() map[flow.Identifier]*verification.ChunkStatus) *ChunkStatuses_All_Call
type ChunkStatuses_Clear_Call ¶ added in v0.46.0
ChunkStatuses_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*ChunkStatuses_Clear_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Clear_Call) Return() *ChunkStatuses_Clear_Call
func (*ChunkStatuses_Clear_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Clear_Call) Run(run func()) *ChunkStatuses_Clear_Call
func (*ChunkStatuses_Clear_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Clear_Call) RunAndReturn(run func()) *ChunkStatuses_Clear_Call
type ChunkStatuses_Expecter ¶ added in v0.46.0
type ChunkStatuses_Expecter struct {
// contains filtered or unexported fields
}
func (*ChunkStatuses_Expecter) Add ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Add(identifier interface{}, chunkStatus interface{}) *ChunkStatuses_Add_Call
Add is a helper method to define mock.On call
- identifier flow.Identifier
- chunkStatus *verification.ChunkStatus
func (*ChunkStatuses_Expecter) Adjust ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Adjust(key interface{}, f interface{}) *ChunkStatuses_Adjust_Call
Adjust is a helper method to define mock.On call
- key flow.Identifier
- f func(*verification.ChunkStatus) *verification.ChunkStatus
func (*ChunkStatuses_Expecter) All ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) All() *ChunkStatuses_All_Call
All is a helper method to define mock.On call
func (*ChunkStatuses_Expecter) Clear ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Clear() *ChunkStatuses_Clear_Call
Clear is a helper method to define mock.On call
func (*ChunkStatuses_Expecter) Get ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Get(identifier interface{}) *ChunkStatuses_Get_Call
Get is a helper method to define mock.On call
- identifier flow.Identifier
func (*ChunkStatuses_Expecter) Has ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Has(identifier interface{}) *ChunkStatuses_Has_Call
Has is a helper method to define mock.On call
- identifier flow.Identifier
func (*ChunkStatuses_Expecter) Remove ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Remove(identifier interface{}) *ChunkStatuses_Remove_Call
Remove is a helper method to define mock.On call
- identifier flow.Identifier
func (*ChunkStatuses_Expecter) Size ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Size() *ChunkStatuses_Size_Call
Size is a helper method to define mock.On call
func (*ChunkStatuses_Expecter) Values ¶ added in v0.46.0
func (_e *ChunkStatuses_Expecter) Values() *ChunkStatuses_Values_Call
Values is a helper method to define mock.On call
type ChunkStatuses_Get_Call ¶ added in v0.46.0
ChunkStatuses_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*ChunkStatuses_Get_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Get_Call) Return(chunkStatus *verification.ChunkStatus, b bool) *ChunkStatuses_Get_Call
func (*ChunkStatuses_Get_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Get_Call) Run(run func(identifier flow.Identifier)) *ChunkStatuses_Get_Call
func (*ChunkStatuses_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*verification.ChunkStatus, bool)) *ChunkStatuses_Get_Call
type ChunkStatuses_Has_Call ¶ added in v0.46.0
ChunkStatuses_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*ChunkStatuses_Has_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Has_Call) Return(b bool) *ChunkStatuses_Has_Call
func (*ChunkStatuses_Has_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Has_Call) Run(run func(identifier flow.Identifier)) *ChunkStatuses_Has_Call
func (*ChunkStatuses_Has_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Has_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *ChunkStatuses_Has_Call
type ChunkStatuses_Remove_Call ¶ added in v0.46.0
ChunkStatuses_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*ChunkStatuses_Remove_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Remove_Call) Return(b bool) *ChunkStatuses_Remove_Call
func (*ChunkStatuses_Remove_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Remove_Call) Run(run func(identifier flow.Identifier)) *ChunkStatuses_Remove_Call
func (*ChunkStatuses_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *ChunkStatuses_Remove_Call
type ChunkStatuses_Size_Call ¶ added in v0.46.0
ChunkStatuses_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*ChunkStatuses_Size_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Size_Call) Return(v uint) *ChunkStatuses_Size_Call
func (*ChunkStatuses_Size_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Size_Call) Run(run func()) *ChunkStatuses_Size_Call
func (*ChunkStatuses_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Size_Call) RunAndReturn(run func() uint) *ChunkStatuses_Size_Call
type ChunkStatuses_Values_Call ¶ added in v0.46.0
ChunkStatuses_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*ChunkStatuses_Values_Call) Return ¶ added in v0.46.0
func (_c *ChunkStatuses_Values_Call) Return(chunkStatuss []*verification.ChunkStatus) *ChunkStatuses_Values_Call
func (*ChunkStatuses_Values_Call) Run ¶ added in v0.46.0
func (_c *ChunkStatuses_Values_Call) Run(run func()) *ChunkStatuses_Values_Call
func (*ChunkStatuses_Values_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ChunkStatuses_Values_Call) RunAndReturn(run func() []*verification.ChunkStatus) *ChunkStatuses_Values_Call
type DNSCache ¶ added in v0.23.9
DNSCache is an autogenerated mock type for the DNSCache type
func NewDNSCache ¶ added in v0.26.1
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. The first argument is typically a *testing.T value.
func (*DNSCache) EXPECT ¶ added in v0.46.0
func (_m *DNSCache) EXPECT() *DNSCache_Expecter
func (*DNSCache) GetDomainIp ¶ added in v0.23.9
GetDomainIp provides a mock function for the type DNSCache
func (*DNSCache) GetTxtRecord ¶ added in v0.23.9
GetTxtRecord provides a mock function for the type DNSCache
func (*DNSCache) LockIPDomain ¶ added in v0.27.0
LockIPDomain provides a mock function for the type DNSCache
func (*DNSCache) LockTxtRecord ¶ added in v0.27.0
LockTxtRecord provides a mock function for the type DNSCache
func (*DNSCache) PutIpDomain ¶ added in v0.27.0
PutIpDomain provides a mock function for the type DNSCache
func (*DNSCache) PutTxtRecord ¶ added in v0.23.9
PutTxtRecord provides a mock function for the type DNSCache
func (*DNSCache) RemoveIp ¶ added in v0.23.9
RemoveIp provides a mock function for the type DNSCache
func (*DNSCache) RemoveTxt ¶ added in v0.23.9
RemoveTxt provides a mock function for the type DNSCache
func (*DNSCache) UpdateIPDomain ¶ added in v0.27.0
UpdateIPDomain provides a mock function for the type DNSCache
type DNSCache_Expecter ¶ added in v0.46.0
type DNSCache_Expecter struct {
// contains filtered or unexported fields
}
func (*DNSCache_Expecter) GetDomainIp ¶ added in v0.46.0
func (_e *DNSCache_Expecter) GetDomainIp(s interface{}) *DNSCache_GetDomainIp_Call
GetDomainIp is a helper method to define mock.On call
- s string
func (*DNSCache_Expecter) GetTxtRecord ¶ added in v0.46.0
func (_e *DNSCache_Expecter) GetTxtRecord(s interface{}) *DNSCache_GetTxtRecord_Call
GetTxtRecord is a helper method to define mock.On call
- s string
func (*DNSCache_Expecter) LockIPDomain ¶ added in v0.46.0
func (_e *DNSCache_Expecter) LockIPDomain(s interface{}) *DNSCache_LockIPDomain_Call
LockIPDomain is a helper method to define mock.On call
- s string
func (*DNSCache_Expecter) LockTxtRecord ¶ added in v0.46.0
func (_e *DNSCache_Expecter) LockTxtRecord(s interface{}) *DNSCache_LockTxtRecord_Call
LockTxtRecord is a helper method to define mock.On call
- s string
func (*DNSCache_Expecter) PutIpDomain ¶ added in v0.46.0
func (_e *DNSCache_Expecter) PutIpDomain(s interface{}, iPAddrs interface{}, n interface{}) *DNSCache_PutIpDomain_Call
PutIpDomain is a helper method to define mock.On call
- s string
- iPAddrs []net.IPAddr
- n int64
func (*DNSCache_Expecter) PutTxtRecord ¶ added in v0.46.0
func (_e *DNSCache_Expecter) PutTxtRecord(s interface{}, strings interface{}, n interface{}) *DNSCache_PutTxtRecord_Call
PutTxtRecord is a helper method to define mock.On call
- s string
- strings []string
- n int64
func (*DNSCache_Expecter) RemoveIp ¶ added in v0.46.0
func (_e *DNSCache_Expecter) RemoveIp(s interface{}) *DNSCache_RemoveIp_Call
RemoveIp is a helper method to define mock.On call
- s string
func (*DNSCache_Expecter) RemoveTxt ¶ added in v0.46.0
func (_e *DNSCache_Expecter) RemoveTxt(s interface{}) *DNSCache_RemoveTxt_Call
RemoveTxt is a helper method to define mock.On call
- s string
func (*DNSCache_Expecter) Size ¶ added in v0.46.0
func (_e *DNSCache_Expecter) Size() *DNSCache_Size_Call
Size is a helper method to define mock.On call
func (*DNSCache_Expecter) UpdateIPDomain ¶ added in v0.46.0
func (_e *DNSCache_Expecter) UpdateIPDomain(s interface{}, iPAddrs interface{}, n interface{}) *DNSCache_UpdateIPDomain_Call
UpdateIPDomain is a helper method to define mock.On call
- s string
- iPAddrs []net.IPAddr
- n int64
func (*DNSCache_Expecter) UpdateTxtRecord ¶ added in v0.46.0
func (_e *DNSCache_Expecter) UpdateTxtRecord(s interface{}, strings interface{}, n interface{}) *DNSCache_UpdateTxtRecord_Call
UpdateTxtRecord is a helper method to define mock.On call
- s string
- strings []string
- n int64
type DNSCache_GetDomainIp_Call ¶ added in v0.46.0
DNSCache_GetDomainIp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDomainIp'
func (*DNSCache_GetDomainIp_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_GetDomainIp_Call) Return(ipRecord *mempool.IpRecord, b bool) *DNSCache_GetDomainIp_Call
func (*DNSCache_GetDomainIp_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_GetDomainIp_Call) Run(run func(s string)) *DNSCache_GetDomainIp_Call
func (*DNSCache_GetDomainIp_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_GetDomainIp_Call) RunAndReturn(run func(s string) (*mempool.IpRecord, bool)) *DNSCache_GetDomainIp_Call
type DNSCache_GetTxtRecord_Call ¶ added in v0.46.0
DNSCache_GetTxtRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxtRecord'
func (*DNSCache_GetTxtRecord_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_GetTxtRecord_Call) Return(txtRecord *mempool.TxtRecord, b bool) *DNSCache_GetTxtRecord_Call
func (*DNSCache_GetTxtRecord_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_GetTxtRecord_Call) Run(run func(s string)) *DNSCache_GetTxtRecord_Call
func (*DNSCache_GetTxtRecord_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_GetTxtRecord_Call) RunAndReturn(run func(s string) (*mempool.TxtRecord, bool)) *DNSCache_GetTxtRecord_Call
type DNSCache_LockIPDomain_Call ¶ added in v0.46.0
DNSCache_LockIPDomain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LockIPDomain'
func (*DNSCache_LockIPDomain_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_LockIPDomain_Call) Return(b bool, err error) *DNSCache_LockIPDomain_Call
func (*DNSCache_LockIPDomain_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_LockIPDomain_Call) Run(run func(s string)) *DNSCache_LockIPDomain_Call
func (*DNSCache_LockIPDomain_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_LockIPDomain_Call) RunAndReturn(run func(s string) (bool, error)) *DNSCache_LockIPDomain_Call
type DNSCache_LockTxtRecord_Call ¶ added in v0.46.0
DNSCache_LockTxtRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LockTxtRecord'
func (*DNSCache_LockTxtRecord_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_LockTxtRecord_Call) Return(b bool, err error) *DNSCache_LockTxtRecord_Call
func (*DNSCache_LockTxtRecord_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_LockTxtRecord_Call) Run(run func(s string)) *DNSCache_LockTxtRecord_Call
func (*DNSCache_LockTxtRecord_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_LockTxtRecord_Call) RunAndReturn(run func(s string) (bool, error)) *DNSCache_LockTxtRecord_Call
type DNSCache_PutIpDomain_Call ¶ added in v0.46.0
DNSCache_PutIpDomain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutIpDomain'
func (*DNSCache_PutIpDomain_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_PutIpDomain_Call) Return(b bool) *DNSCache_PutIpDomain_Call
func (*DNSCache_PutIpDomain_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_PutIpDomain_Call) Run(run func(s string, iPAddrs []net.IPAddr, n int64)) *DNSCache_PutIpDomain_Call
func (*DNSCache_PutIpDomain_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_PutIpDomain_Call) RunAndReturn(run func(s string, iPAddrs []net.IPAddr, n int64) bool) *DNSCache_PutIpDomain_Call
type DNSCache_PutTxtRecord_Call ¶ added in v0.46.0
DNSCache_PutTxtRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutTxtRecord'
func (*DNSCache_PutTxtRecord_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_PutTxtRecord_Call) Return(b bool) *DNSCache_PutTxtRecord_Call
func (*DNSCache_PutTxtRecord_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_PutTxtRecord_Call) Run(run func(s string, strings []string, n int64)) *DNSCache_PutTxtRecord_Call
func (*DNSCache_PutTxtRecord_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_PutTxtRecord_Call) RunAndReturn(run func(s string, strings []string, n int64) bool) *DNSCache_PutTxtRecord_Call
type DNSCache_RemoveIp_Call ¶ added in v0.46.0
DNSCache_RemoveIp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveIp'
func (*DNSCache_RemoveIp_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_RemoveIp_Call) Return(b bool) *DNSCache_RemoveIp_Call
func (*DNSCache_RemoveIp_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_RemoveIp_Call) Run(run func(s string)) *DNSCache_RemoveIp_Call
func (*DNSCache_RemoveIp_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_RemoveIp_Call) RunAndReturn(run func(s string) bool) *DNSCache_RemoveIp_Call
type DNSCache_RemoveTxt_Call ¶ added in v0.46.0
DNSCache_RemoveTxt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTxt'
func (*DNSCache_RemoveTxt_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_RemoveTxt_Call) Return(b bool) *DNSCache_RemoveTxt_Call
func (*DNSCache_RemoveTxt_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_RemoveTxt_Call) Run(run func(s string)) *DNSCache_RemoveTxt_Call
func (*DNSCache_RemoveTxt_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_RemoveTxt_Call) RunAndReturn(run func(s string) bool) *DNSCache_RemoveTxt_Call
type DNSCache_Size_Call ¶ added in v0.46.0
DNSCache_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*DNSCache_Size_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_Size_Call) Return(v uint, v1 uint) *DNSCache_Size_Call
func (*DNSCache_Size_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_Size_Call) Run(run func()) *DNSCache_Size_Call
func (*DNSCache_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_Size_Call) RunAndReturn(run func() (uint, uint)) *DNSCache_Size_Call
type DNSCache_UpdateIPDomain_Call ¶ added in v0.46.0
DNSCache_UpdateIPDomain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIPDomain'
func (*DNSCache_UpdateIPDomain_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_UpdateIPDomain_Call) Return(err error) *DNSCache_UpdateIPDomain_Call
func (*DNSCache_UpdateIPDomain_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_UpdateIPDomain_Call) Run(run func(s string, iPAddrs []net.IPAddr, n int64)) *DNSCache_UpdateIPDomain_Call
func (*DNSCache_UpdateIPDomain_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_UpdateIPDomain_Call) RunAndReturn(run func(s string, iPAddrs []net.IPAddr, n int64) error) *DNSCache_UpdateIPDomain_Call
type DNSCache_UpdateTxtRecord_Call ¶ added in v0.46.0
DNSCache_UpdateTxtRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTxtRecord'
func (*DNSCache_UpdateTxtRecord_Call) Return ¶ added in v0.46.0
func (_c *DNSCache_UpdateTxtRecord_Call) Return(err error) *DNSCache_UpdateTxtRecord_Call
func (*DNSCache_UpdateTxtRecord_Call) Run ¶ added in v0.46.0
func (_c *DNSCache_UpdateTxtRecord_Call) Run(run func(s string, strings []string, n int64)) *DNSCache_UpdateTxtRecord_Call
func (*DNSCache_UpdateTxtRecord_Call) RunAndReturn ¶ added in v0.46.0
func (_c *DNSCache_UpdateTxtRecord_Call) RunAndReturn(run func(s string, strings []string, n int64) error) *DNSCache_UpdateTxtRecord_Call
type ExecutionData ¶ added in v0.31.0
ExecutionData is an autogenerated mock type for the ExecutionData type
func NewExecutionData ¶ added in v0.31.0
func NewExecutionData(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionData
NewExecutionData creates a new instance of ExecutionData. 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 (*ExecutionData) Add ¶ added in v0.31.0
func (_mock *ExecutionData) Add(identifier flow.Identifier, blockExecutionDataEntity *execution_data.BlockExecutionDataEntity) bool
Add provides a mock function for the type ExecutionData
func (*ExecutionData) Adjust ¶ added in v0.43.0
func (_mock *ExecutionData) Adjust(key flow.Identifier, f func(*execution_data.BlockExecutionDataEntity) *execution_data.BlockExecutionDataEntity) (*execution_data.BlockExecutionDataEntity, bool)
Adjust provides a mock function for the type ExecutionData
func (*ExecutionData) All ¶ added in v0.31.0
func (_mock *ExecutionData) All() map[flow.Identifier]*execution_data.BlockExecutionDataEntity
All provides a mock function for the type ExecutionData
func (*ExecutionData) Clear ¶ added in v0.31.0
func (_mock *ExecutionData) Clear()
Clear provides a mock function for the type ExecutionData
func (*ExecutionData) EXPECT ¶ added in v0.46.0
func (_m *ExecutionData) EXPECT() *ExecutionData_Expecter
func (*ExecutionData) Get ¶ added in v0.43.0
func (_mock *ExecutionData) Get(identifier flow.Identifier) (*execution_data.BlockExecutionDataEntity, bool)
Get provides a mock function for the type ExecutionData
func (*ExecutionData) Has ¶ added in v0.31.0
func (_mock *ExecutionData) Has(identifier flow.Identifier) bool
Has provides a mock function for the type ExecutionData
func (*ExecutionData) Remove ¶ added in v0.31.0
func (_mock *ExecutionData) Remove(identifier flow.Identifier) bool
Remove provides a mock function for the type ExecutionData
func (*ExecutionData) Size ¶ added in v0.31.0
func (_mock *ExecutionData) Size() uint
Size provides a mock function for the type ExecutionData
func (*ExecutionData) Values ¶ added in v0.43.0
func (_mock *ExecutionData) Values() []*execution_data.BlockExecutionDataEntity
Values provides a mock function for the type ExecutionData
type ExecutionData_Add_Call ¶ added in v0.46.0
ExecutionData_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*ExecutionData_Add_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Add_Call) Return(b bool) *ExecutionData_Add_Call
func (*ExecutionData_Add_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Add_Call) Run(run func(identifier flow.Identifier, blockExecutionDataEntity *execution_data.BlockExecutionDataEntity)) *ExecutionData_Add_Call
func (*ExecutionData_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Add_Call) RunAndReturn(run func(identifier flow.Identifier, blockExecutionDataEntity *execution_data.BlockExecutionDataEntity) bool) *ExecutionData_Add_Call
type ExecutionData_Adjust_Call ¶ added in v0.46.0
ExecutionData_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*ExecutionData_Adjust_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Adjust_Call) Return(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity, b bool) *ExecutionData_Adjust_Call
func (*ExecutionData_Adjust_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Adjust_Call) Run(run func(key flow.Identifier, f func(*execution_data.BlockExecutionDataEntity) *execution_data.BlockExecutionDataEntity)) *ExecutionData_Adjust_Call
func (*ExecutionData_Adjust_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Adjust_Call) RunAndReturn(run func(key flow.Identifier, f func(*execution_data.BlockExecutionDataEntity) *execution_data.BlockExecutionDataEntity) (*execution_data.BlockExecutionDataEntity, bool)) *ExecutionData_Adjust_Call
type ExecutionData_All_Call ¶ added in v0.46.0
ExecutionData_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*ExecutionData_All_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_All_Call) Return(identifierToBlockExecutionDataEntity map[flow.Identifier]*execution_data.BlockExecutionDataEntity) *ExecutionData_All_Call
func (*ExecutionData_All_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_All_Call) Run(run func()) *ExecutionData_All_Call
func (*ExecutionData_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_All_Call) RunAndReturn(run func() map[flow.Identifier]*execution_data.BlockExecutionDataEntity) *ExecutionData_All_Call
type ExecutionData_Clear_Call ¶ added in v0.46.0
ExecutionData_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*ExecutionData_Clear_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Clear_Call) Return() *ExecutionData_Clear_Call
func (*ExecutionData_Clear_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Clear_Call) Run(run func()) *ExecutionData_Clear_Call
func (*ExecutionData_Clear_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Clear_Call) RunAndReturn(run func()) *ExecutionData_Clear_Call
type ExecutionData_Expecter ¶ added in v0.46.0
type ExecutionData_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionData_Expecter) Add ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Add(identifier interface{}, blockExecutionDataEntity interface{}) *ExecutionData_Add_Call
Add is a helper method to define mock.On call
- identifier flow.Identifier
- blockExecutionDataEntity *execution_data.BlockExecutionDataEntity
func (*ExecutionData_Expecter) Adjust ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Adjust(key interface{}, f interface{}) *ExecutionData_Adjust_Call
Adjust is a helper method to define mock.On call
- key flow.Identifier
- f func(*execution_data.BlockExecutionDataEntity) *execution_data.BlockExecutionDataEntity
func (*ExecutionData_Expecter) All ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) All() *ExecutionData_All_Call
All is a helper method to define mock.On call
func (*ExecutionData_Expecter) Clear ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Clear() *ExecutionData_Clear_Call
Clear is a helper method to define mock.On call
func (*ExecutionData_Expecter) Get ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Get(identifier interface{}) *ExecutionData_Get_Call
Get is a helper method to define mock.On call
- identifier flow.Identifier
func (*ExecutionData_Expecter) Has ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Has(identifier interface{}) *ExecutionData_Has_Call
Has is a helper method to define mock.On call
- identifier flow.Identifier
func (*ExecutionData_Expecter) Remove ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Remove(identifier interface{}) *ExecutionData_Remove_Call
Remove is a helper method to define mock.On call
- identifier flow.Identifier
func (*ExecutionData_Expecter) Size ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Size() *ExecutionData_Size_Call
Size is a helper method to define mock.On call
func (*ExecutionData_Expecter) Values ¶ added in v0.46.0
func (_e *ExecutionData_Expecter) Values() *ExecutionData_Values_Call
Values is a helper method to define mock.On call
type ExecutionData_Get_Call ¶ added in v0.46.0
ExecutionData_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*ExecutionData_Get_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Get_Call) Return(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity, b bool) *ExecutionData_Get_Call
func (*ExecutionData_Get_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Get_Call) Run(run func(identifier flow.Identifier)) *ExecutionData_Get_Call
func (*ExecutionData_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*execution_data.BlockExecutionDataEntity, bool)) *ExecutionData_Get_Call
type ExecutionData_Has_Call ¶ added in v0.46.0
ExecutionData_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*ExecutionData_Has_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Has_Call) Return(b bool) *ExecutionData_Has_Call
func (*ExecutionData_Has_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Has_Call) Run(run func(identifier flow.Identifier)) *ExecutionData_Has_Call
func (*ExecutionData_Has_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Has_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *ExecutionData_Has_Call
type ExecutionData_Remove_Call ¶ added in v0.46.0
ExecutionData_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*ExecutionData_Remove_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Remove_Call) Return(b bool) *ExecutionData_Remove_Call
func (*ExecutionData_Remove_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Remove_Call) Run(run func(identifier flow.Identifier)) *ExecutionData_Remove_Call
func (*ExecutionData_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *ExecutionData_Remove_Call
type ExecutionData_Size_Call ¶ added in v0.46.0
ExecutionData_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*ExecutionData_Size_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Size_Call) Return(v uint) *ExecutionData_Size_Call
func (*ExecutionData_Size_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Size_Call) Run(run func()) *ExecutionData_Size_Call
func (*ExecutionData_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Size_Call) RunAndReturn(run func() uint) *ExecutionData_Size_Call
type ExecutionData_Values_Call ¶ added in v0.46.0
ExecutionData_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*ExecutionData_Values_Call) Return ¶ added in v0.46.0
func (_c *ExecutionData_Values_Call) Return(blockExecutionDataEntitys []*execution_data.BlockExecutionDataEntity) *ExecutionData_Values_Call
func (*ExecutionData_Values_Call) Run ¶ added in v0.46.0
func (_c *ExecutionData_Values_Call) Run(run func()) *ExecutionData_Values_Call
func (*ExecutionData_Values_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionData_Values_Call) RunAndReturn(run func() []*execution_data.BlockExecutionDataEntity) *ExecutionData_Values_Call
type ExecutionTree ¶ added in v0.14.0
ExecutionTree is an autogenerated mock type for the ExecutionTree type
func NewExecutionTree ¶ added in v0.26.1
func NewExecutionTree(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*ExecutionTree) AddReceipt ¶ added in v0.14.0
func (_mock *ExecutionTree) AddReceipt(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)
AddReceipt provides a mock function for the type ExecutionTree
func (*ExecutionTree) AddResult ¶ added in v0.14.0
func (_mock *ExecutionTree) AddResult(result *flow.ExecutionResult, block *flow.Header) error
AddResult provides a mock function for the type ExecutionTree
func (*ExecutionTree) EXPECT ¶ added in v0.46.0
func (_m *ExecutionTree) EXPECT() *ExecutionTree_Expecter
func (*ExecutionTree) HasReceipt ¶ added in v0.25.4
func (_mock *ExecutionTree) HasReceipt(receipt *flow.ExecutionReceipt) bool
HasReceipt provides a mock function for the type ExecutionTree
func (*ExecutionTree) LowestHeight ¶ added in v0.14.0
func (_mock *ExecutionTree) LowestHeight() uint64
LowestHeight provides a mock function for the type ExecutionTree
func (*ExecutionTree) PruneUpToHeight ¶ added in v0.14.0
func (_mock *ExecutionTree) PruneUpToHeight(newLowestHeight uint64) error
PruneUpToHeight provides a mock function for the type ExecutionTree
func (*ExecutionTree) ReachableReceipts ¶ added in v0.14.0
func (_mock *ExecutionTree) ReachableReceipts(resultID flow.Identifier, blockFilter mempool.BlockFilter, receiptFilter mempool.ReceiptFilter) ([]*flow.ExecutionReceipt, error)
ReachableReceipts provides a mock function for the type ExecutionTree
func (*ExecutionTree) Size ¶ added in v0.14.0
func (_mock *ExecutionTree) Size() uint
Size provides a mock function for the type ExecutionTree
type ExecutionTree_AddReceipt_Call ¶ added in v0.46.0
ExecutionTree_AddReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddReceipt'
func (*ExecutionTree_AddReceipt_Call) Return ¶ added in v0.46.0
func (_c *ExecutionTree_AddReceipt_Call) Return(b bool, err error) *ExecutionTree_AddReceipt_Call
func (*ExecutionTree_AddReceipt_Call) Run ¶ added in v0.46.0
func (_c *ExecutionTree_AddReceipt_Call) Run(run func(receipt *flow.ExecutionReceipt, block *flow.Header)) *ExecutionTree_AddReceipt_Call
func (*ExecutionTree_AddReceipt_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionTree_AddReceipt_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)) *ExecutionTree_AddReceipt_Call
type ExecutionTree_AddResult_Call ¶ added in v0.46.0
ExecutionTree_AddResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddResult'
func (*ExecutionTree_AddResult_Call) Return ¶ added in v0.46.0
func (_c *ExecutionTree_AddResult_Call) Return(err error) *ExecutionTree_AddResult_Call
func (*ExecutionTree_AddResult_Call) Run ¶ added in v0.46.0
func (_c *ExecutionTree_AddResult_Call) Run(run func(result *flow.ExecutionResult, block *flow.Header)) *ExecutionTree_AddResult_Call
func (*ExecutionTree_AddResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionTree_AddResult_Call) RunAndReturn(run func(result *flow.ExecutionResult, block *flow.Header) error) *ExecutionTree_AddResult_Call
type ExecutionTree_Expecter ¶ added in v0.46.0
type ExecutionTree_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionTree_Expecter) AddReceipt ¶ added in v0.46.0
func (_e *ExecutionTree_Expecter) AddReceipt(receipt interface{}, block interface{}) *ExecutionTree_AddReceipt_Call
AddReceipt is a helper method to define mock.On call
- receipt *flow.ExecutionReceipt
- block *flow.Header
func (*ExecutionTree_Expecter) AddResult ¶ added in v0.46.0
func (_e *ExecutionTree_Expecter) AddResult(result interface{}, block interface{}) *ExecutionTree_AddResult_Call
AddResult is a helper method to define mock.On call
- result *flow.ExecutionResult
- block *flow.Header
func (*ExecutionTree_Expecter) HasReceipt ¶ added in v0.46.0
func (_e *ExecutionTree_Expecter) HasReceipt(receipt interface{}) *ExecutionTree_HasReceipt_Call
HasReceipt is a helper method to define mock.On call
- receipt *flow.ExecutionReceipt
func (*ExecutionTree_Expecter) LowestHeight ¶ added in v0.46.0
func (_e *ExecutionTree_Expecter) LowestHeight() *ExecutionTree_LowestHeight_Call
LowestHeight is a helper method to define mock.On call
func (*ExecutionTree_Expecter) PruneUpToHeight ¶ added in v0.46.0
func (_e *ExecutionTree_Expecter) PruneUpToHeight(newLowestHeight interface{}) *ExecutionTree_PruneUpToHeight_Call
PruneUpToHeight is a helper method to define mock.On call
- newLowestHeight uint64
func (*ExecutionTree_Expecter) ReachableReceipts ¶ added in v0.46.0
func (_e *ExecutionTree_Expecter) ReachableReceipts(resultID interface{}, blockFilter interface{}, receiptFilter interface{}) *ExecutionTree_ReachableReceipts_Call
ReachableReceipts is a helper method to define mock.On call
- resultID flow.Identifier
- blockFilter mempool.BlockFilter
- receiptFilter mempool.ReceiptFilter
func (*ExecutionTree_Expecter) Size ¶ added in v0.46.0
func (_e *ExecutionTree_Expecter) Size() *ExecutionTree_Size_Call
Size is a helper method to define mock.On call
type ExecutionTree_HasReceipt_Call ¶ added in v0.46.0
ExecutionTree_HasReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasReceipt'
func (*ExecutionTree_HasReceipt_Call) Return ¶ added in v0.46.0
func (_c *ExecutionTree_HasReceipt_Call) Return(b bool) *ExecutionTree_HasReceipt_Call
func (*ExecutionTree_HasReceipt_Call) Run ¶ added in v0.46.0
func (_c *ExecutionTree_HasReceipt_Call) Run(run func(receipt *flow.ExecutionReceipt)) *ExecutionTree_HasReceipt_Call
func (*ExecutionTree_HasReceipt_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionTree_HasReceipt_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) bool) *ExecutionTree_HasReceipt_Call
type ExecutionTree_LowestHeight_Call ¶ added in v0.46.0
ExecutionTree_LowestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LowestHeight'
func (*ExecutionTree_LowestHeight_Call) Return ¶ added in v0.46.0
func (_c *ExecutionTree_LowestHeight_Call) Return(v uint64) *ExecutionTree_LowestHeight_Call
func (*ExecutionTree_LowestHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionTree_LowestHeight_Call) Run(run func()) *ExecutionTree_LowestHeight_Call
func (*ExecutionTree_LowestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionTree_LowestHeight_Call) RunAndReturn(run func() uint64) *ExecutionTree_LowestHeight_Call
type ExecutionTree_PruneUpToHeight_Call ¶ added in v0.46.0
ExecutionTree_PruneUpToHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PruneUpToHeight'
func (*ExecutionTree_PruneUpToHeight_Call) Return ¶ added in v0.46.0
func (_c *ExecutionTree_PruneUpToHeight_Call) Return(err error) *ExecutionTree_PruneUpToHeight_Call
func (*ExecutionTree_PruneUpToHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionTree_PruneUpToHeight_Call) Run(run func(newLowestHeight uint64)) *ExecutionTree_PruneUpToHeight_Call
func (*ExecutionTree_PruneUpToHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionTree_PruneUpToHeight_Call) RunAndReturn(run func(newLowestHeight uint64) error) *ExecutionTree_PruneUpToHeight_Call
type ExecutionTree_ReachableReceipts_Call ¶ added in v0.46.0
ExecutionTree_ReachableReceipts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReachableReceipts'
func (*ExecutionTree_ReachableReceipts_Call) Return ¶ added in v0.46.0
func (_c *ExecutionTree_ReachableReceipts_Call) Return(executionReceipts []*flow.ExecutionReceipt, err error) *ExecutionTree_ReachableReceipts_Call
func (*ExecutionTree_ReachableReceipts_Call) Run ¶ added in v0.46.0
func (_c *ExecutionTree_ReachableReceipts_Call) Run(run func(resultID flow.Identifier, blockFilter mempool.BlockFilter, receiptFilter mempool.ReceiptFilter)) *ExecutionTree_ReachableReceipts_Call
func (*ExecutionTree_ReachableReceipts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionTree_ReachableReceipts_Call) RunAndReturn(run func(resultID flow.Identifier, blockFilter mempool.BlockFilter, receiptFilter mempool.ReceiptFilter) ([]*flow.ExecutionReceipt, error)) *ExecutionTree_ReachableReceipts_Call
type ExecutionTree_Size_Call ¶ added in v0.46.0
ExecutionTree_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*ExecutionTree_Size_Call) Return ¶ added in v0.46.0
func (_c *ExecutionTree_Size_Call) Return(v uint) *ExecutionTree_Size_Call
func (*ExecutionTree_Size_Call) Run ¶ added in v0.46.0
func (_c *ExecutionTree_Size_Call) Run(run func()) *ExecutionTree_Size_Call
func (*ExecutionTree_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionTree_Size_Call) RunAndReturn(run func() uint) *ExecutionTree_Size_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) Add ¶
func (_mock *Guarantees) Add(identifier flow.Identifier, collectionGuarantee *flow.CollectionGuarantee) bool
Add provides a mock function for the type Guarantees
func (*Guarantees) Adjust ¶ added in v0.43.0
func (_mock *Guarantees) Adjust(key flow.Identifier, f func(*flow.CollectionGuarantee) *flow.CollectionGuarantee) (*flow.CollectionGuarantee, bool)
Adjust provides a mock function for the type Guarantees
func (*Guarantees) All ¶
func (_mock *Guarantees) All() map[flow.Identifier]*flow.CollectionGuarantee
All provides a mock function for the type Guarantees
func (*Guarantees) Clear ¶ added in v0.43.0
func (_mock *Guarantees) Clear()
Clear provides a mock function for the type Guarantees
func (*Guarantees) EXPECT ¶ added in v0.46.0
func (_m *Guarantees) EXPECT() *Guarantees_Expecter
func (*Guarantees) Get ¶ added in v0.43.0
func (_mock *Guarantees) Get(identifier flow.Identifier) (*flow.CollectionGuarantee, bool)
Get provides a mock function for the type Guarantees
func (*Guarantees) Has ¶
func (_mock *Guarantees) Has(identifier flow.Identifier) bool
Has provides a mock function for the type Guarantees
func (*Guarantees) Remove ¶ added in v0.27.0
func (_mock *Guarantees) Remove(identifier flow.Identifier) bool
Remove provides a mock function for the type Guarantees
func (*Guarantees) Size ¶
func (_mock *Guarantees) Size() uint
Size provides a mock function for the type Guarantees
func (*Guarantees) Values ¶ added in v0.43.0
func (_mock *Guarantees) Values() []*flow.CollectionGuarantee
Values provides a mock function for the type Guarantees
type Guarantees_Add_Call ¶ added in v0.46.0
Guarantees_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Guarantees_Add_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Add_Call) Return(b bool) *Guarantees_Add_Call
func (*Guarantees_Add_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Add_Call) Run(run func(identifier flow.Identifier, collectionGuarantee *flow.CollectionGuarantee)) *Guarantees_Add_Call
func (*Guarantees_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Add_Call) RunAndReturn(run func(identifier flow.Identifier, collectionGuarantee *flow.CollectionGuarantee) bool) *Guarantees_Add_Call
type Guarantees_Adjust_Call ¶ added in v0.46.0
Guarantees_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*Guarantees_Adjust_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Adjust_Call) Return(collectionGuarantee *flow.CollectionGuarantee, b bool) *Guarantees_Adjust_Call
func (*Guarantees_Adjust_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Adjust_Call) Run(run func(key flow.Identifier, f func(*flow.CollectionGuarantee) *flow.CollectionGuarantee)) *Guarantees_Adjust_Call
func (*Guarantees_Adjust_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Adjust_Call) RunAndReturn(run func(key flow.Identifier, f func(*flow.CollectionGuarantee) *flow.CollectionGuarantee) (*flow.CollectionGuarantee, bool)) *Guarantees_Adjust_Call
type Guarantees_All_Call ¶ added in v0.46.0
Guarantees_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*Guarantees_All_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_All_Call) Return(identifierToCollectionGuarantee map[flow.Identifier]*flow.CollectionGuarantee) *Guarantees_All_Call
func (*Guarantees_All_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_All_Call) Run(run func()) *Guarantees_All_Call
func (*Guarantees_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_All_Call) RunAndReturn(run func() map[flow.Identifier]*flow.CollectionGuarantee) *Guarantees_All_Call
type Guarantees_Clear_Call ¶ added in v0.46.0
Guarantees_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*Guarantees_Clear_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Clear_Call) Return() *Guarantees_Clear_Call
func (*Guarantees_Clear_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Clear_Call) Run(run func()) *Guarantees_Clear_Call
func (*Guarantees_Clear_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Clear_Call) RunAndReturn(run func()) *Guarantees_Clear_Call
type Guarantees_Expecter ¶ added in v0.46.0
type Guarantees_Expecter struct {
// contains filtered or unexported fields
}
func (*Guarantees_Expecter) Add ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Add(identifier interface{}, collectionGuarantee interface{}) *Guarantees_Add_Call
Add is a helper method to define mock.On call
- identifier flow.Identifier
- collectionGuarantee *flow.CollectionGuarantee
func (*Guarantees_Expecter) Adjust ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Adjust(key interface{}, f interface{}) *Guarantees_Adjust_Call
Adjust is a helper method to define mock.On call
- key flow.Identifier
- f func(*flow.CollectionGuarantee) *flow.CollectionGuarantee
func (*Guarantees_Expecter) All ¶ added in v0.46.0
func (_e *Guarantees_Expecter) All() *Guarantees_All_Call
All is a helper method to define mock.On call
func (*Guarantees_Expecter) Clear ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Clear() *Guarantees_Clear_Call
Clear is a helper method to define mock.On call
func (*Guarantees_Expecter) Get ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Get(identifier interface{}) *Guarantees_Get_Call
Get is a helper method to define mock.On call
- identifier flow.Identifier
func (*Guarantees_Expecter) Has ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Has(identifier interface{}) *Guarantees_Has_Call
Has is a helper method to define mock.On call
- identifier flow.Identifier
func (*Guarantees_Expecter) Remove ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Remove(identifier interface{}) *Guarantees_Remove_Call
Remove is a helper method to define mock.On call
- identifier flow.Identifier
func (*Guarantees_Expecter) Size ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Size() *Guarantees_Size_Call
Size is a helper method to define mock.On call
func (*Guarantees_Expecter) Values ¶ added in v0.46.0
func (_e *Guarantees_Expecter) Values() *Guarantees_Values_Call
Values is a helper method to define mock.On call
type Guarantees_Get_Call ¶ added in v0.46.0
Guarantees_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Guarantees_Get_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Get_Call) Return(collectionGuarantee *flow.CollectionGuarantee, b bool) *Guarantees_Get_Call
func (*Guarantees_Get_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Get_Call) Run(run func(identifier flow.Identifier)) *Guarantees_Get_Call
func (*Guarantees_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.CollectionGuarantee, bool)) *Guarantees_Get_Call
type Guarantees_Has_Call ¶ added in v0.46.0
Guarantees_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*Guarantees_Has_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Has_Call) Return(b bool) *Guarantees_Has_Call
func (*Guarantees_Has_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Has_Call) Run(run func(identifier flow.Identifier)) *Guarantees_Has_Call
func (*Guarantees_Has_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Has_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *Guarantees_Has_Call
type Guarantees_Remove_Call ¶ added in v0.46.0
Guarantees_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*Guarantees_Remove_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Remove_Call) Return(b bool) *Guarantees_Remove_Call
func (*Guarantees_Remove_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Remove_Call) Run(run func(identifier flow.Identifier)) *Guarantees_Remove_Call
func (*Guarantees_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *Guarantees_Remove_Call
type Guarantees_Size_Call ¶ added in v0.46.0
Guarantees_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*Guarantees_Size_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Size_Call) Return(v uint) *Guarantees_Size_Call
func (*Guarantees_Size_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Size_Call) Run(run func()) *Guarantees_Size_Call
func (*Guarantees_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Size_Call) RunAndReturn(run func() uint) *Guarantees_Size_Call
type Guarantees_Values_Call ¶ added in v0.46.0
Guarantees_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*Guarantees_Values_Call) Return ¶ added in v0.46.0
func (_c *Guarantees_Values_Call) Return(collectionGuarantees []*flow.CollectionGuarantee) *Guarantees_Values_Call
func (*Guarantees_Values_Call) Run ¶ added in v0.46.0
func (_c *Guarantees_Values_Call) Run(run func()) *Guarantees_Values_Call
func (*Guarantees_Values_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Guarantees_Values_Call) RunAndReturn(run func() []*flow.CollectionGuarantee) *Guarantees_Values_Call
type IdentifierMap ¶
IdentifierMap is an autogenerated mock type for the IdentifierMap type
func NewIdentifierMap ¶ added in v0.26.1
func NewIdentifierMap(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*IdentifierMap) Append ¶
func (_mock *IdentifierMap) Append(key flow.Identifier, id flow.Identifier)
Append provides a mock function for the type IdentifierMap
func (*IdentifierMap) EXPECT ¶ added in v0.46.0
func (_m *IdentifierMap) EXPECT() *IdentifierMap_Expecter
func (*IdentifierMap) Get ¶
func (_mock *IdentifierMap) Get(key flow.Identifier) (flow.IdentifierList, bool)
Get provides a mock function for the type IdentifierMap
func (*IdentifierMap) Has ¶
func (_mock *IdentifierMap) Has(key flow.Identifier) bool
Has provides a mock function for the type IdentifierMap
func (*IdentifierMap) Keys ¶
func (_mock *IdentifierMap) Keys() (flow.IdentifierList, bool)
Keys provides a mock function for the type IdentifierMap
func (*IdentifierMap) Remove ¶ added in v0.27.0
func (_mock *IdentifierMap) Remove(key flow.Identifier) bool
Remove provides a mock function for the type IdentifierMap
func (*IdentifierMap) RemoveIdFromKey ¶ added in v0.27.0
func (_mock *IdentifierMap) RemoveIdFromKey(key flow.Identifier, id flow.Identifier) error
RemoveIdFromKey provides a mock function for the type IdentifierMap
func (*IdentifierMap) Size ¶
func (_mock *IdentifierMap) Size() uint
Size provides a mock function for the type IdentifierMap
type IdentifierMap_Append_Call ¶ added in v0.46.0
IdentifierMap_Append_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Append'
func (*IdentifierMap_Append_Call) Return ¶ added in v0.46.0
func (_c *IdentifierMap_Append_Call) Return() *IdentifierMap_Append_Call
func (*IdentifierMap_Append_Call) Run ¶ added in v0.46.0
func (_c *IdentifierMap_Append_Call) Run(run func(key flow.Identifier, id flow.Identifier)) *IdentifierMap_Append_Call
func (*IdentifierMap_Append_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierMap_Append_Call) RunAndReturn(run func(key flow.Identifier, id flow.Identifier)) *IdentifierMap_Append_Call
type IdentifierMap_Expecter ¶ added in v0.46.0
type IdentifierMap_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentifierMap_Expecter) Append ¶ added in v0.46.0
func (_e *IdentifierMap_Expecter) Append(key interface{}, id interface{}) *IdentifierMap_Append_Call
Append is a helper method to define mock.On call
- key flow.Identifier
- id flow.Identifier
func (*IdentifierMap_Expecter) Get ¶ added in v0.46.0
func (_e *IdentifierMap_Expecter) Get(key interface{}) *IdentifierMap_Get_Call
Get is a helper method to define mock.On call
- key flow.Identifier
func (*IdentifierMap_Expecter) Has ¶ added in v0.46.0
func (_e *IdentifierMap_Expecter) Has(key interface{}) *IdentifierMap_Has_Call
Has is a helper method to define mock.On call
- key flow.Identifier
func (*IdentifierMap_Expecter) Keys ¶ added in v0.46.0
func (_e *IdentifierMap_Expecter) Keys() *IdentifierMap_Keys_Call
Keys is a helper method to define mock.On call
func (*IdentifierMap_Expecter) Remove ¶ added in v0.46.0
func (_e *IdentifierMap_Expecter) Remove(key interface{}) *IdentifierMap_Remove_Call
Remove is a helper method to define mock.On call
- key flow.Identifier
func (*IdentifierMap_Expecter) RemoveIdFromKey ¶ added in v0.46.0
func (_e *IdentifierMap_Expecter) RemoveIdFromKey(key interface{}, id interface{}) *IdentifierMap_RemoveIdFromKey_Call
RemoveIdFromKey is a helper method to define mock.On call
- key flow.Identifier
- id flow.Identifier
func (*IdentifierMap_Expecter) Size ¶ added in v0.46.0
func (_e *IdentifierMap_Expecter) Size() *IdentifierMap_Size_Call
Size is a helper method to define mock.On call
type IdentifierMap_Get_Call ¶ added in v0.46.0
IdentifierMap_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*IdentifierMap_Get_Call) Return ¶ added in v0.46.0
func (_c *IdentifierMap_Get_Call) Return(identifierList flow.IdentifierList, b bool) *IdentifierMap_Get_Call
func (*IdentifierMap_Get_Call) Run ¶ added in v0.46.0
func (_c *IdentifierMap_Get_Call) Run(run func(key flow.Identifier)) *IdentifierMap_Get_Call
func (*IdentifierMap_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierMap_Get_Call) RunAndReturn(run func(key flow.Identifier) (flow.IdentifierList, bool)) *IdentifierMap_Get_Call
type IdentifierMap_Has_Call ¶ added in v0.46.0
IdentifierMap_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*IdentifierMap_Has_Call) Return ¶ added in v0.46.0
func (_c *IdentifierMap_Has_Call) Return(b bool) *IdentifierMap_Has_Call
func (*IdentifierMap_Has_Call) Run ¶ added in v0.46.0
func (_c *IdentifierMap_Has_Call) Run(run func(key flow.Identifier)) *IdentifierMap_Has_Call
func (*IdentifierMap_Has_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierMap_Has_Call) RunAndReturn(run func(key flow.Identifier) bool) *IdentifierMap_Has_Call
type IdentifierMap_Keys_Call ¶ added in v0.46.0
IdentifierMap_Keys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Keys'
func (*IdentifierMap_Keys_Call) Return ¶ added in v0.46.0
func (_c *IdentifierMap_Keys_Call) Return(identifierList flow.IdentifierList, b bool) *IdentifierMap_Keys_Call
func (*IdentifierMap_Keys_Call) Run ¶ added in v0.46.0
func (_c *IdentifierMap_Keys_Call) Run(run func()) *IdentifierMap_Keys_Call
func (*IdentifierMap_Keys_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierMap_Keys_Call) RunAndReturn(run func() (flow.IdentifierList, bool)) *IdentifierMap_Keys_Call
type IdentifierMap_RemoveIdFromKey_Call ¶ added in v0.46.0
IdentifierMap_RemoveIdFromKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveIdFromKey'
func (*IdentifierMap_RemoveIdFromKey_Call) Return ¶ added in v0.46.0
func (_c *IdentifierMap_RemoveIdFromKey_Call) Return(err error) *IdentifierMap_RemoveIdFromKey_Call
func (*IdentifierMap_RemoveIdFromKey_Call) Run ¶ added in v0.46.0
func (_c *IdentifierMap_RemoveIdFromKey_Call) Run(run func(key flow.Identifier, id flow.Identifier)) *IdentifierMap_RemoveIdFromKey_Call
func (*IdentifierMap_RemoveIdFromKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierMap_RemoveIdFromKey_Call) RunAndReturn(run func(key flow.Identifier, id flow.Identifier) error) *IdentifierMap_RemoveIdFromKey_Call
type IdentifierMap_Remove_Call ¶ added in v0.46.0
IdentifierMap_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*IdentifierMap_Remove_Call) Return ¶ added in v0.46.0
func (_c *IdentifierMap_Remove_Call) Return(b bool) *IdentifierMap_Remove_Call
func (*IdentifierMap_Remove_Call) Run ¶ added in v0.46.0
func (_c *IdentifierMap_Remove_Call) Run(run func(key flow.Identifier)) *IdentifierMap_Remove_Call
func (*IdentifierMap_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierMap_Remove_Call) RunAndReturn(run func(key flow.Identifier) bool) *IdentifierMap_Remove_Call
type IdentifierMap_Size_Call ¶ added in v0.46.0
IdentifierMap_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*IdentifierMap_Size_Call) Return ¶ added in v0.46.0
func (_c *IdentifierMap_Size_Call) Return(v uint) *IdentifierMap_Size_Call
func (*IdentifierMap_Size_Call) Run ¶ added in v0.46.0
func (_c *IdentifierMap_Size_Call) Run(run func()) *IdentifierMap_Size_Call
func (*IdentifierMap_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IdentifierMap_Size_Call) RunAndReturn(run func() uint) *IdentifierMap_Size_Call
type IncorporatedResultSeals ¶ added in v0.11.0
IncorporatedResultSeals is an autogenerated mock type for the IncorporatedResultSeals type
func NewIncorporatedResultSeals ¶ added in v0.26.1
func NewIncorporatedResultSeals(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*IncorporatedResultSeals) Add ¶ added in v0.11.0
func (_mock *IncorporatedResultSeals) Add(irSeal *flow.IncorporatedResultSeal) (bool, error)
Add provides a mock function for the type IncorporatedResultSeals
func (*IncorporatedResultSeals) All ¶ added in v0.11.0
func (_mock *IncorporatedResultSeals) All() []*flow.IncorporatedResultSeal
All provides a mock function for the type IncorporatedResultSeals
func (*IncorporatedResultSeals) Clear ¶ added in v0.13.0
func (_mock *IncorporatedResultSeals) Clear()
Clear provides a mock function for the type IncorporatedResultSeals
func (*IncorporatedResultSeals) EXPECT ¶ added in v0.46.0
func (_m *IncorporatedResultSeals) EXPECT() *IncorporatedResultSeals_Expecter
func (*IncorporatedResultSeals) Get ¶ added in v0.43.0
func (_mock *IncorporatedResultSeals) Get(identifier flow.Identifier) (*flow.IncorporatedResultSeal, bool)
Get provides a mock function for the type IncorporatedResultSeals
func (*IncorporatedResultSeals) Limit ¶ added in v0.11.0
func (_mock *IncorporatedResultSeals) Limit() uint
Limit provides a mock function for the type IncorporatedResultSeals
func (*IncorporatedResultSeals) PruneUpToHeight ¶ added in v0.18.1
func (_mock *IncorporatedResultSeals) PruneUpToHeight(height uint64) error
PruneUpToHeight provides a mock function for the type IncorporatedResultSeals
func (*IncorporatedResultSeals) Remove ¶ added in v0.27.0
func (_mock *IncorporatedResultSeals) Remove(incorporatedResultID flow.Identifier) bool
Remove provides a mock function for the type IncorporatedResultSeals
func (*IncorporatedResultSeals) Size ¶ added in v0.11.0
func (_mock *IncorporatedResultSeals) Size() uint
Size provides a mock function for the type IncorporatedResultSeals
type IncorporatedResultSeals_Add_Call ¶ added in v0.46.0
IncorporatedResultSeals_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*IncorporatedResultSeals_Add_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Add_Call) Return(b bool, err error) *IncorporatedResultSeals_Add_Call
func (*IncorporatedResultSeals_Add_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Add_Call) Run(run func(irSeal *flow.IncorporatedResultSeal)) *IncorporatedResultSeals_Add_Call
func (*IncorporatedResultSeals_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Add_Call) RunAndReturn(run func(irSeal *flow.IncorporatedResultSeal) (bool, error)) *IncorporatedResultSeals_Add_Call
type IncorporatedResultSeals_All_Call ¶ added in v0.46.0
IncorporatedResultSeals_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*IncorporatedResultSeals_All_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_All_Call) Return(incorporatedResultSeals []*flow.IncorporatedResultSeal) *IncorporatedResultSeals_All_Call
func (*IncorporatedResultSeals_All_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_All_Call) Run(run func()) *IncorporatedResultSeals_All_Call
func (*IncorporatedResultSeals_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_All_Call) RunAndReturn(run func() []*flow.IncorporatedResultSeal) *IncorporatedResultSeals_All_Call
type IncorporatedResultSeals_Clear_Call ¶ added in v0.46.0
IncorporatedResultSeals_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*IncorporatedResultSeals_Clear_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Clear_Call) Return() *IncorporatedResultSeals_Clear_Call
func (*IncorporatedResultSeals_Clear_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Clear_Call) Run(run func()) *IncorporatedResultSeals_Clear_Call
func (*IncorporatedResultSeals_Clear_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Clear_Call) RunAndReturn(run func()) *IncorporatedResultSeals_Clear_Call
type IncorporatedResultSeals_Expecter ¶ added in v0.46.0
type IncorporatedResultSeals_Expecter struct {
// contains filtered or unexported fields
}
func (*IncorporatedResultSeals_Expecter) Add ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) Add(irSeal interface{}) *IncorporatedResultSeals_Add_Call
Add is a helper method to define mock.On call
- irSeal *flow.IncorporatedResultSeal
func (*IncorporatedResultSeals_Expecter) All ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) All() *IncorporatedResultSeals_All_Call
All is a helper method to define mock.On call
func (*IncorporatedResultSeals_Expecter) Clear ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) Clear() *IncorporatedResultSeals_Clear_Call
Clear is a helper method to define mock.On call
func (*IncorporatedResultSeals_Expecter) Get ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) Get(identifier interface{}) *IncorporatedResultSeals_Get_Call
Get is a helper method to define mock.On call
- identifier flow.Identifier
func (*IncorporatedResultSeals_Expecter) Limit ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) Limit() *IncorporatedResultSeals_Limit_Call
Limit is a helper method to define mock.On call
func (*IncorporatedResultSeals_Expecter) PruneUpToHeight ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) PruneUpToHeight(height interface{}) *IncorporatedResultSeals_PruneUpToHeight_Call
PruneUpToHeight is a helper method to define mock.On call
- height uint64
func (*IncorporatedResultSeals_Expecter) Remove ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) Remove(incorporatedResultID interface{}) *IncorporatedResultSeals_Remove_Call
Remove is a helper method to define mock.On call
- incorporatedResultID flow.Identifier
func (*IncorporatedResultSeals_Expecter) Size ¶ added in v0.46.0
func (_e *IncorporatedResultSeals_Expecter) Size() *IncorporatedResultSeals_Size_Call
Size is a helper method to define mock.On call
type IncorporatedResultSeals_Get_Call ¶ added in v0.46.0
IncorporatedResultSeals_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*IncorporatedResultSeals_Get_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Get_Call) Return(incorporatedResultSeal *flow.IncorporatedResultSeal, b bool) *IncorporatedResultSeals_Get_Call
func (*IncorporatedResultSeals_Get_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Get_Call) Run(run func(identifier flow.Identifier)) *IncorporatedResultSeals_Get_Call
func (*IncorporatedResultSeals_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.IncorporatedResultSeal, bool)) *IncorporatedResultSeals_Get_Call
type IncorporatedResultSeals_Limit_Call ¶ added in v0.46.0
IncorporatedResultSeals_Limit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Limit'
func (*IncorporatedResultSeals_Limit_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Limit_Call) Return(v uint) *IncorporatedResultSeals_Limit_Call
func (*IncorporatedResultSeals_Limit_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Limit_Call) Run(run func()) *IncorporatedResultSeals_Limit_Call
func (*IncorporatedResultSeals_Limit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Limit_Call) RunAndReturn(run func() uint) *IncorporatedResultSeals_Limit_Call
type IncorporatedResultSeals_PruneUpToHeight_Call ¶ added in v0.46.0
IncorporatedResultSeals_PruneUpToHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PruneUpToHeight'
func (*IncorporatedResultSeals_PruneUpToHeight_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_PruneUpToHeight_Call) Return(err error) *IncorporatedResultSeals_PruneUpToHeight_Call
func (*IncorporatedResultSeals_PruneUpToHeight_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_PruneUpToHeight_Call) Run(run func(height uint64)) *IncorporatedResultSeals_PruneUpToHeight_Call
func (*IncorporatedResultSeals_PruneUpToHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_PruneUpToHeight_Call) RunAndReturn(run func(height uint64) error) *IncorporatedResultSeals_PruneUpToHeight_Call
type IncorporatedResultSeals_Remove_Call ¶ added in v0.46.0
IncorporatedResultSeals_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*IncorporatedResultSeals_Remove_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Remove_Call) Return(b bool) *IncorporatedResultSeals_Remove_Call
func (*IncorporatedResultSeals_Remove_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Remove_Call) Run(run func(incorporatedResultID flow.Identifier)) *IncorporatedResultSeals_Remove_Call
func (*IncorporatedResultSeals_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Remove_Call) RunAndReturn(run func(incorporatedResultID flow.Identifier) bool) *IncorporatedResultSeals_Remove_Call
type IncorporatedResultSeals_Size_Call ¶ added in v0.46.0
IncorporatedResultSeals_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*IncorporatedResultSeals_Size_Call) Return ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Size_Call) Return(v uint) *IncorporatedResultSeals_Size_Call
func (*IncorporatedResultSeals_Size_Call) Run ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Size_Call) Run(run func()) *IncorporatedResultSeals_Size_Call
func (*IncorporatedResultSeals_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IncorporatedResultSeals_Size_Call) RunAndReturn(run func() uint) *IncorporatedResultSeals_Size_Call
type Mempool ¶ added in v0.43.0
type Mempool[K comparable, V any] struct { mock.Mock }
Mempool is an autogenerated mock type for the Mempool type
func NewMempool ¶ added in v0.43.0
func NewMempool[K comparable, V any](t interface { mock.TestingT Cleanup(func()) }) *Mempool[K, V]
NewMempool creates a new instance of Mempool. 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 (*Mempool[K, V]) Adjust ¶ added in v0.43.0
Adjust provides a mock function for the type Mempool
func (*Mempool[K, V]) All ¶ added in v0.43.0
func (_mock *Mempool[K, V]) All() map[K]V
All provides a mock function for the type Mempool
func (*Mempool[K, V]) Clear ¶ added in v0.43.0
func (_mock *Mempool[K, V]) Clear()
Clear provides a mock function for the type Mempool
func (*Mempool[K, V]) EXPECT ¶ added in v0.46.0
func (_m *Mempool[K, V]) EXPECT() *Mempool_Expecter[K, V]
func (*Mempool[K, V]) Remove ¶ added in v0.43.0
Remove provides a mock function for the type Mempool
type Mempool_Add_Call ¶ added in v0.46.0
type Mempool_Add_Call[K comparable, V any] struct { *mock.Call }
Mempool_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Mempool_Add_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Add_Call[K, V]) Return(b bool) *Mempool_Add_Call[K, V]
func (*Mempool_Add_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Add_Call[K, V]) Run(run func(v K, v1 V)) *Mempool_Add_Call[K, V]
func (*Mempool_Add_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Add_Call[K, V]) RunAndReturn(run func(v K, v1 V) bool) *Mempool_Add_Call[K, V]
type Mempool_Adjust_Call ¶ added in v0.46.0
type Mempool_Adjust_Call[K comparable, V any] struct { *mock.Call }
Mempool_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*Mempool_Adjust_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Adjust_Call[K, V]) Return(v V, b bool) *Mempool_Adjust_Call[K, V]
func (*Mempool_Adjust_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Adjust_Call[K, V]) Run(run func(key K, f func(V) V)) *Mempool_Adjust_Call[K, V]
func (*Mempool_Adjust_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Adjust_Call[K, V]) RunAndReturn(run func(key K, f func(V) V) (V, bool)) *Mempool_Adjust_Call[K, V]
type Mempool_All_Call ¶ added in v0.46.0
type Mempool_All_Call[K comparable, V any] struct { *mock.Call }
Mempool_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*Mempool_All_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_All_Call[K, V]) Return(vToV map[K]V) *Mempool_All_Call[K, V]
func (*Mempool_All_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_All_Call[K, V]) Run(run func()) *Mempool_All_Call[K, V]
func (*Mempool_All_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_All_Call[K, V]) RunAndReturn(run func() map[K]V) *Mempool_All_Call[K, V]
type Mempool_Clear_Call ¶ added in v0.46.0
type Mempool_Clear_Call[K comparable, V any] struct { *mock.Call }
Mempool_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*Mempool_Clear_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Clear_Call[K, V]) Return() *Mempool_Clear_Call[K, V]
func (*Mempool_Clear_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Clear_Call[K, V]) Run(run func()) *Mempool_Clear_Call[K, V]
func (*Mempool_Clear_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Clear_Call[K, V]) RunAndReturn(run func()) *Mempool_Clear_Call[K, V]
type Mempool_Expecter ¶ added in v0.46.0
type Mempool_Expecter[K comparable, V any] struct { // contains filtered or unexported fields }
func (*Mempool_Expecter[K, V]) Add ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Add(v interface{}, v1 interface{}) *Mempool_Add_Call[K, V]
Add is a helper method to define mock.On call
- v K
- v1 V
func (*Mempool_Expecter[K, V]) Adjust ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Adjust(key interface{}, f interface{}) *Mempool_Adjust_Call[K, V]
Adjust is a helper method to define mock.On call
- key K
- f func(V) V
func (*Mempool_Expecter[K, V]) All ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) All() *Mempool_All_Call[K, V]
All is a helper method to define mock.On call
func (*Mempool_Expecter[K, V]) Clear ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Clear() *Mempool_Clear_Call[K, V]
Clear is a helper method to define mock.On call
func (*Mempool_Expecter[K, V]) Get ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Get(v interface{}) *Mempool_Get_Call[K, V]
Get is a helper method to define mock.On call
- v K
func (*Mempool_Expecter[K, V]) Has ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Has(v interface{}) *Mempool_Has_Call[K, V]
Has is a helper method to define mock.On call
- v K
func (*Mempool_Expecter[K, V]) Remove ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Remove(v interface{}) *Mempool_Remove_Call[K, V]
Remove is a helper method to define mock.On call
- v K
func (*Mempool_Expecter[K, V]) Size ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Size() *Mempool_Size_Call[K, V]
Size is a helper method to define mock.On call
func (*Mempool_Expecter[K, V]) Values ¶ added in v0.46.0
func (_e *Mempool_Expecter[K, V]) Values() *Mempool_Values_Call[K, V]
Values is a helper method to define mock.On call
type Mempool_Get_Call ¶ added in v0.46.0
type Mempool_Get_Call[K comparable, V any] struct { *mock.Call }
Mempool_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Mempool_Get_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Get_Call[K, V]) Return(v1 V, b bool) *Mempool_Get_Call[K, V]
func (*Mempool_Get_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Get_Call[K, V]) Run(run func(v K)) *Mempool_Get_Call[K, V]
func (*Mempool_Get_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Get_Call[K, V]) RunAndReturn(run func(v K) (V, bool)) *Mempool_Get_Call[K, V]
type Mempool_Has_Call ¶ added in v0.46.0
type Mempool_Has_Call[K comparable, V any] struct { *mock.Call }
Mempool_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*Mempool_Has_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Has_Call[K, V]) Return(b bool) *Mempool_Has_Call[K, V]
func (*Mempool_Has_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Has_Call[K, V]) Run(run func(v K)) *Mempool_Has_Call[K, V]
func (*Mempool_Has_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Has_Call[K, V]) RunAndReturn(run func(v K) bool) *Mempool_Has_Call[K, V]
type Mempool_Remove_Call ¶ added in v0.46.0
type Mempool_Remove_Call[K comparable, V any] struct { *mock.Call }
Mempool_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*Mempool_Remove_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Remove_Call[K, V]) Return(b bool) *Mempool_Remove_Call[K, V]
func (*Mempool_Remove_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Remove_Call[K, V]) Run(run func(v K)) *Mempool_Remove_Call[K, V]
func (*Mempool_Remove_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Remove_Call[K, V]) RunAndReturn(run func(v K) bool) *Mempool_Remove_Call[K, V]
type Mempool_Size_Call ¶ added in v0.46.0
type Mempool_Size_Call[K comparable, V any] struct { *mock.Call }
Mempool_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*Mempool_Size_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Size_Call[K, V]) Return(v uint) *Mempool_Size_Call[K, V]
func (*Mempool_Size_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Size_Call[K, V]) Run(run func()) *Mempool_Size_Call[K, V]
func (*Mempool_Size_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Size_Call[K, V]) RunAndReturn(run func() uint) *Mempool_Size_Call[K, V]
type Mempool_Values_Call ¶ added in v0.46.0
type Mempool_Values_Call[K comparable, V any] struct { *mock.Call }
Mempool_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*Mempool_Values_Call[K, V]) Return ¶ added in v0.46.0
func (_c *Mempool_Values_Call[K, V]) Return(vs []V) *Mempool_Values_Call[K, V]
func (*Mempool_Values_Call[K, V]) Run ¶ added in v0.46.0
func (_c *Mempool_Values_Call[K, V]) Run(run func()) *Mempool_Values_Call[K, V]
func (*Mempool_Values_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *Mempool_Values_Call[K, V]) RunAndReturn(run func() []V) *Mempool_Values_Call[K, V]
type MutableBackData ¶ added in v0.43.0
type MutableBackData[K comparable, V any] struct { mock.Mock }
MutableBackData is an autogenerated mock type for the MutableBackData type
func NewMutableBackData ¶ added in v0.43.0
func NewMutableBackData[K comparable, V any](t interface { mock.TestingT Cleanup(func()) }) *MutableBackData[K, V]
NewMutableBackData creates a new instance of MutableBackData. 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 (*MutableBackData[K, V]) Add ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Add(key K, value V) bool
Add provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) Adjust ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Adjust(key K, f func(value V) V) (V, bool)
Adjust provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) AdjustWithInit ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) AdjustWithInit(key K, adjust func(value V) V, init func() V) (V, bool)
AdjustWithInit provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) All ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) All() map[K]V
All provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) Clear ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Clear()
Clear provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) EXPECT ¶ added in v0.46.0
func (_m *MutableBackData[K, V]) EXPECT() *MutableBackData_Expecter[K, V]
func (*MutableBackData[K, V]) Get ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Get(key K) (V, bool)
Get provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) Has ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Has(key K) bool
Has provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) Keys ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Keys() []K
Keys provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) Remove ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Remove(key K) (V, bool)
Remove provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) Size ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Size() uint
Size provides a mock function for the type MutableBackData
func (*MutableBackData[K, V]) Values ¶ added in v0.43.0
func (_mock *MutableBackData[K, V]) Values() []V
Values provides a mock function for the type MutableBackData
type MutableBackData_Add_Call ¶ added in v0.46.0
type MutableBackData_Add_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*MutableBackData_Add_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Add_Call[K, V]) Return(b bool) *MutableBackData_Add_Call[K, V]
func (*MutableBackData_Add_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Add_Call[K, V]) Run(run func(key K, value V)) *MutableBackData_Add_Call[K, V]
func (*MutableBackData_Add_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Add_Call[K, V]) RunAndReturn(run func(key K, value V) bool) *MutableBackData_Add_Call[K, V]
type MutableBackData_AdjustWithInit_Call ¶ added in v0.46.0
type MutableBackData_AdjustWithInit_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_AdjustWithInit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdjustWithInit'
func (*MutableBackData_AdjustWithInit_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_AdjustWithInit_Call[K, V]) Return(v V, b bool) *MutableBackData_AdjustWithInit_Call[K, V]
func (*MutableBackData_AdjustWithInit_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_AdjustWithInit_Call[K, V]) Run(run func(key K, adjust func(value V) V, init func() V)) *MutableBackData_AdjustWithInit_Call[K, V]
func (*MutableBackData_AdjustWithInit_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_AdjustWithInit_Call[K, V]) RunAndReturn(run func(key K, adjust func(value V) V, init func() V) (V, bool)) *MutableBackData_AdjustWithInit_Call[K, V]
type MutableBackData_Adjust_Call ¶ added in v0.46.0
type MutableBackData_Adjust_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*MutableBackData_Adjust_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Adjust_Call[K, V]) Return(v V, b bool) *MutableBackData_Adjust_Call[K, V]
func (*MutableBackData_Adjust_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Adjust_Call[K, V]) Run(run func(key K, f func(value V) V)) *MutableBackData_Adjust_Call[K, V]
func (*MutableBackData_Adjust_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Adjust_Call[K, V]) RunAndReturn(run func(key K, f func(value V) V) (V, bool)) *MutableBackData_Adjust_Call[K, V]
type MutableBackData_All_Call ¶ added in v0.46.0
type MutableBackData_All_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*MutableBackData_All_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_All_Call[K, V]) Return(vToV map[K]V) *MutableBackData_All_Call[K, V]
func (*MutableBackData_All_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_All_Call[K, V]) Run(run func()) *MutableBackData_All_Call[K, V]
func (*MutableBackData_All_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_All_Call[K, V]) RunAndReturn(run func() map[K]V) *MutableBackData_All_Call[K, V]
type MutableBackData_Clear_Call ¶ added in v0.46.0
type MutableBackData_Clear_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*MutableBackData_Clear_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Clear_Call[K, V]) Return() *MutableBackData_Clear_Call[K, V]
func (*MutableBackData_Clear_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Clear_Call[K, V]) Run(run func()) *MutableBackData_Clear_Call[K, V]
func (*MutableBackData_Clear_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Clear_Call[K, V]) RunAndReturn(run func()) *MutableBackData_Clear_Call[K, V]
type MutableBackData_Expecter ¶ added in v0.46.0
type MutableBackData_Expecter[K comparable, V any] struct { // contains filtered or unexported fields }
func (*MutableBackData_Expecter[K, V]) Add ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Add(key interface{}, value interface{}) *MutableBackData_Add_Call[K, V]
Add is a helper method to define mock.On call
- key K
- value V
func (*MutableBackData_Expecter[K, V]) Adjust ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Adjust(key interface{}, f interface{}) *MutableBackData_Adjust_Call[K, V]
Adjust is a helper method to define mock.On call
- key K
- f func(value V) V
func (*MutableBackData_Expecter[K, V]) AdjustWithInit ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) AdjustWithInit(key interface{}, adjust interface{}, init interface{}) *MutableBackData_AdjustWithInit_Call[K, V]
AdjustWithInit is a helper method to define mock.On call
- key K
- adjust func(value V) V
- init func() V
func (*MutableBackData_Expecter[K, V]) All ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) All() *MutableBackData_All_Call[K, V]
All is a helper method to define mock.On call
func (*MutableBackData_Expecter[K, V]) Clear ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Clear() *MutableBackData_Clear_Call[K, V]
Clear is a helper method to define mock.On call
func (*MutableBackData_Expecter[K, V]) Get ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Get(key interface{}) *MutableBackData_Get_Call[K, V]
Get is a helper method to define mock.On call
- key K
func (*MutableBackData_Expecter[K, V]) Has ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Has(key interface{}) *MutableBackData_Has_Call[K, V]
Has is a helper method to define mock.On call
- key K
func (*MutableBackData_Expecter[K, V]) Keys ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Keys() *MutableBackData_Keys_Call[K, V]
Keys is a helper method to define mock.On call
func (*MutableBackData_Expecter[K, V]) Remove ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Remove(key interface{}) *MutableBackData_Remove_Call[K, V]
Remove is a helper method to define mock.On call
- key K
func (*MutableBackData_Expecter[K, V]) Size ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Size() *MutableBackData_Size_Call[K, V]
Size is a helper method to define mock.On call
func (*MutableBackData_Expecter[K, V]) Values ¶ added in v0.46.0
func (_e *MutableBackData_Expecter[K, V]) Values() *MutableBackData_Values_Call[K, V]
Values is a helper method to define mock.On call
type MutableBackData_Get_Call ¶ added in v0.46.0
type MutableBackData_Get_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MutableBackData_Get_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Get_Call[K, V]) Return(v V, b bool) *MutableBackData_Get_Call[K, V]
func (*MutableBackData_Get_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Get_Call[K, V]) Run(run func(key K)) *MutableBackData_Get_Call[K, V]
func (*MutableBackData_Get_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Get_Call[K, V]) RunAndReturn(run func(key K) (V, bool)) *MutableBackData_Get_Call[K, V]
type MutableBackData_Has_Call ¶ added in v0.46.0
type MutableBackData_Has_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*MutableBackData_Has_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Has_Call[K, V]) Return(b bool) *MutableBackData_Has_Call[K, V]
func (*MutableBackData_Has_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Has_Call[K, V]) Run(run func(key K)) *MutableBackData_Has_Call[K, V]
func (*MutableBackData_Has_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Has_Call[K, V]) RunAndReturn(run func(key K) bool) *MutableBackData_Has_Call[K, V]
type MutableBackData_Keys_Call ¶ added in v0.46.0
type MutableBackData_Keys_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Keys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Keys'
func (*MutableBackData_Keys_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Keys_Call[K, V]) Return(vs []K) *MutableBackData_Keys_Call[K, V]
func (*MutableBackData_Keys_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Keys_Call[K, V]) Run(run func()) *MutableBackData_Keys_Call[K, V]
func (*MutableBackData_Keys_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Keys_Call[K, V]) RunAndReturn(run func() []K) *MutableBackData_Keys_Call[K, V]
type MutableBackData_Remove_Call ¶ added in v0.46.0
type MutableBackData_Remove_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*MutableBackData_Remove_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Remove_Call[K, V]) Return(v V, b bool) *MutableBackData_Remove_Call[K, V]
func (*MutableBackData_Remove_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Remove_Call[K, V]) Run(run func(key K)) *MutableBackData_Remove_Call[K, V]
func (*MutableBackData_Remove_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Remove_Call[K, V]) RunAndReturn(run func(key K) (V, bool)) *MutableBackData_Remove_Call[K, V]
type MutableBackData_Size_Call ¶ added in v0.46.0
type MutableBackData_Size_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*MutableBackData_Size_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Size_Call[K, V]) Return(v uint) *MutableBackData_Size_Call[K, V]
func (*MutableBackData_Size_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Size_Call[K, V]) Run(run func()) *MutableBackData_Size_Call[K, V]
func (*MutableBackData_Size_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Size_Call[K, V]) RunAndReturn(run func() uint) *MutableBackData_Size_Call[K, V]
type MutableBackData_Values_Call ¶ added in v0.46.0
type MutableBackData_Values_Call[K comparable, V any] struct { *mock.Call }
MutableBackData_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*MutableBackData_Values_Call[K, V]) Return ¶ added in v0.46.0
func (_c *MutableBackData_Values_Call[K, V]) Return(vs []V) *MutableBackData_Values_Call[K, V]
func (*MutableBackData_Values_Call[K, V]) Run ¶ added in v0.46.0
func (_c *MutableBackData_Values_Call[K, V]) Run(run func()) *MutableBackData_Values_Call[K, V]
func (*MutableBackData_Values_Call[K, V]) RunAndReturn ¶ added in v0.46.0
func (_c *MutableBackData_Values_Call[K, V]) RunAndReturn(run func() []V) *MutableBackData_Values_Call[K, V]
type PendingReceipts ¶ added in v0.14.1
PendingReceipts is an autogenerated mock type for the PendingReceipts type
func NewPendingReceipts ¶ added in v0.26.1
func NewPendingReceipts(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*PendingReceipts) Add ¶ added in v0.14.1
func (_mock *PendingReceipts) Add(receipt *flow.ExecutionReceipt) bool
Add provides a mock function for the type PendingReceipts
func (*PendingReceipts) ByPreviousResultID ¶ added in v0.14.1
func (_mock *PendingReceipts) ByPreviousResultID(previousResultID flow.Identifier) []*flow.ExecutionReceipt
ByPreviousResultID provides a mock function for the type PendingReceipts
func (*PendingReceipts) EXPECT ¶ added in v0.46.0
func (_m *PendingReceipts) EXPECT() *PendingReceipts_Expecter
func (*PendingReceipts) PruneUpToHeight ¶ added in v0.19.0
func (_mock *PendingReceipts) PruneUpToHeight(height uint64) error
PruneUpToHeight provides a mock function for the type PendingReceipts
func (*PendingReceipts) Remove ¶ added in v0.27.0
func (_mock *PendingReceipts) Remove(receiptID flow.Identifier) bool
Remove provides a mock function for the type PendingReceipts
type PendingReceipts_Add_Call ¶ added in v0.46.0
PendingReceipts_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*PendingReceipts_Add_Call) Return ¶ added in v0.46.0
func (_c *PendingReceipts_Add_Call) Return(b bool) *PendingReceipts_Add_Call
func (*PendingReceipts_Add_Call) Run ¶ added in v0.46.0
func (_c *PendingReceipts_Add_Call) Run(run func(receipt *flow.ExecutionReceipt)) *PendingReceipts_Add_Call
func (*PendingReceipts_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingReceipts_Add_Call) RunAndReturn(run func(receipt *flow.ExecutionReceipt) bool) *PendingReceipts_Add_Call
type PendingReceipts_ByPreviousResultID_Call ¶ added in v0.46.0
PendingReceipts_ByPreviousResultID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByPreviousResultID'
func (*PendingReceipts_ByPreviousResultID_Call) Return ¶ added in v0.46.0
func (_c *PendingReceipts_ByPreviousResultID_Call) Return(executionReceipts []*flow.ExecutionReceipt) *PendingReceipts_ByPreviousResultID_Call
func (*PendingReceipts_ByPreviousResultID_Call) Run ¶ added in v0.46.0
func (_c *PendingReceipts_ByPreviousResultID_Call) Run(run func(previousResultID flow.Identifier)) *PendingReceipts_ByPreviousResultID_Call
func (*PendingReceipts_ByPreviousResultID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingReceipts_ByPreviousResultID_Call) RunAndReturn(run func(previousResultID flow.Identifier) []*flow.ExecutionReceipt) *PendingReceipts_ByPreviousResultID_Call
type PendingReceipts_Expecter ¶ added in v0.46.0
type PendingReceipts_Expecter struct {
// contains filtered or unexported fields
}
func (*PendingReceipts_Expecter) Add ¶ added in v0.46.0
func (_e *PendingReceipts_Expecter) Add(receipt interface{}) *PendingReceipts_Add_Call
Add is a helper method to define mock.On call
- receipt *flow.ExecutionReceipt
func (*PendingReceipts_Expecter) ByPreviousResultID ¶ added in v0.46.0
func (_e *PendingReceipts_Expecter) ByPreviousResultID(previousResultID interface{}) *PendingReceipts_ByPreviousResultID_Call
ByPreviousResultID is a helper method to define mock.On call
- previousResultID flow.Identifier
func (*PendingReceipts_Expecter) PruneUpToHeight ¶ added in v0.46.0
func (_e *PendingReceipts_Expecter) PruneUpToHeight(height interface{}) *PendingReceipts_PruneUpToHeight_Call
PruneUpToHeight is a helper method to define mock.On call
- height uint64
func (*PendingReceipts_Expecter) Remove ¶ added in v0.46.0
func (_e *PendingReceipts_Expecter) Remove(receiptID interface{}) *PendingReceipts_Remove_Call
Remove is a helper method to define mock.On call
- receiptID flow.Identifier
type PendingReceipts_PruneUpToHeight_Call ¶ added in v0.46.0
PendingReceipts_PruneUpToHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PruneUpToHeight'
func (*PendingReceipts_PruneUpToHeight_Call) Return ¶ added in v0.46.0
func (_c *PendingReceipts_PruneUpToHeight_Call) Return(err error) *PendingReceipts_PruneUpToHeight_Call
func (*PendingReceipts_PruneUpToHeight_Call) Run ¶ added in v0.46.0
func (_c *PendingReceipts_PruneUpToHeight_Call) Run(run func(height uint64)) *PendingReceipts_PruneUpToHeight_Call
func (*PendingReceipts_PruneUpToHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingReceipts_PruneUpToHeight_Call) RunAndReturn(run func(height uint64) error) *PendingReceipts_PruneUpToHeight_Call
type PendingReceipts_Remove_Call ¶ added in v0.46.0
PendingReceipts_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*PendingReceipts_Remove_Call) Return ¶ added in v0.46.0
func (_c *PendingReceipts_Remove_Call) Return(b bool) *PendingReceipts_Remove_Call
func (*PendingReceipts_Remove_Call) Run ¶ added in v0.46.0
func (_c *PendingReceipts_Remove_Call) Run(run func(receiptID flow.Identifier)) *PendingReceipts_Remove_Call
func (*PendingReceipts_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *PendingReceipts_Remove_Call) RunAndReturn(run func(receiptID flow.Identifier) bool) *PendingReceipts_Remove_Call
type TransactionTimings ¶
TransactionTimings is an autogenerated mock type for the TransactionTimings type
func NewTransactionTimings ¶ added in v0.26.1
func NewTransactionTimings(t interface {
mock.TestingT
Cleanup(func())
}) *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. The first argument is typically a *testing.T value.
func (*TransactionTimings) Add ¶
func (_mock *TransactionTimings) Add(identifier flow.Identifier, transactionTiming *flow.TransactionTiming) bool
Add provides a mock function for the type TransactionTimings
func (*TransactionTimings) Adjust ¶
func (_mock *TransactionTimings) Adjust(key flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming) (*flow.TransactionTiming, bool)
Adjust provides a mock function for the type TransactionTimings
func (*TransactionTimings) All ¶
func (_mock *TransactionTimings) All() map[flow.Identifier]*flow.TransactionTiming
All provides a mock function for the type TransactionTimings
func (*TransactionTimings) Clear ¶ added in v0.43.0
func (_mock *TransactionTimings) Clear()
Clear provides a mock function for the type TransactionTimings
func (*TransactionTimings) EXPECT ¶ added in v0.46.0
func (_m *TransactionTimings) EXPECT() *TransactionTimings_Expecter
func (*TransactionTimings) Get ¶ added in v0.43.0
func (_mock *TransactionTimings) Get(identifier flow.Identifier) (*flow.TransactionTiming, bool)
Get provides a mock function for the type TransactionTimings
func (*TransactionTimings) Has ¶ added in v0.43.0
func (_mock *TransactionTimings) Has(identifier flow.Identifier) bool
Has provides a mock function for the type TransactionTimings
func (*TransactionTimings) Remove ¶ added in v0.27.0
func (_mock *TransactionTimings) Remove(identifier flow.Identifier) bool
Remove provides a mock function for the type TransactionTimings
func (*TransactionTimings) Size ¶ added in v0.43.0
func (_mock *TransactionTimings) Size() uint
Size provides a mock function for the type TransactionTimings
func (*TransactionTimings) Values ¶ added in v0.43.0
func (_mock *TransactionTimings) Values() []*flow.TransactionTiming
Values provides a mock function for the type TransactionTimings
type TransactionTimings_Add_Call ¶ added in v0.46.0
TransactionTimings_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*TransactionTimings_Add_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Add_Call) Return(b bool) *TransactionTimings_Add_Call
func (*TransactionTimings_Add_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Add_Call) Run(run func(identifier flow.Identifier, transactionTiming *flow.TransactionTiming)) *TransactionTimings_Add_Call
func (*TransactionTimings_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Add_Call) RunAndReturn(run func(identifier flow.Identifier, transactionTiming *flow.TransactionTiming) bool) *TransactionTimings_Add_Call
type TransactionTimings_Adjust_Call ¶ added in v0.46.0
TransactionTimings_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*TransactionTimings_Adjust_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Adjust_Call) Return(transactionTiming *flow.TransactionTiming, b bool) *TransactionTimings_Adjust_Call
func (*TransactionTimings_Adjust_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Adjust_Call) Run(run func(key flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming)) *TransactionTimings_Adjust_Call
func (*TransactionTimings_Adjust_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Adjust_Call) RunAndReturn(run func(key flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming) (*flow.TransactionTiming, bool)) *TransactionTimings_Adjust_Call
type TransactionTimings_All_Call ¶ added in v0.46.0
TransactionTimings_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*TransactionTimings_All_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_All_Call) Return(identifierToTransactionTiming map[flow.Identifier]*flow.TransactionTiming) *TransactionTimings_All_Call
func (*TransactionTimings_All_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_All_Call) Run(run func()) *TransactionTimings_All_Call
func (*TransactionTimings_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_All_Call) RunAndReturn(run func() map[flow.Identifier]*flow.TransactionTiming) *TransactionTimings_All_Call
type TransactionTimings_Clear_Call ¶ added in v0.46.0
TransactionTimings_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*TransactionTimings_Clear_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Clear_Call) Return() *TransactionTimings_Clear_Call
func (*TransactionTimings_Clear_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Clear_Call) Run(run func()) *TransactionTimings_Clear_Call
func (*TransactionTimings_Clear_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Clear_Call) RunAndReturn(run func()) *TransactionTimings_Clear_Call
type TransactionTimings_Expecter ¶ added in v0.46.0
type TransactionTimings_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionTimings_Expecter) Add ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Add(identifier interface{}, transactionTiming interface{}) *TransactionTimings_Add_Call
Add is a helper method to define mock.On call
- identifier flow.Identifier
- transactionTiming *flow.TransactionTiming
func (*TransactionTimings_Expecter) Adjust ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Adjust(key interface{}, f interface{}) *TransactionTimings_Adjust_Call
Adjust is a helper method to define mock.On call
- key flow.Identifier
- f func(*flow.TransactionTiming) *flow.TransactionTiming
func (*TransactionTimings_Expecter) All ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) All() *TransactionTimings_All_Call
All is a helper method to define mock.On call
func (*TransactionTimings_Expecter) Clear ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Clear() *TransactionTimings_Clear_Call
Clear is a helper method to define mock.On call
func (*TransactionTimings_Expecter) Get ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Get(identifier interface{}) *TransactionTimings_Get_Call
Get is a helper method to define mock.On call
- identifier flow.Identifier
func (*TransactionTimings_Expecter) Has ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Has(identifier interface{}) *TransactionTimings_Has_Call
Has is a helper method to define mock.On call
- identifier flow.Identifier
func (*TransactionTimings_Expecter) Remove ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Remove(identifier interface{}) *TransactionTimings_Remove_Call
Remove is a helper method to define mock.On call
- identifier flow.Identifier
func (*TransactionTimings_Expecter) Size ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Size() *TransactionTimings_Size_Call
Size is a helper method to define mock.On call
func (*TransactionTimings_Expecter) Values ¶ added in v0.46.0
func (_e *TransactionTimings_Expecter) Values() *TransactionTimings_Values_Call
Values is a helper method to define mock.On call
type TransactionTimings_Get_Call ¶ added in v0.46.0
TransactionTimings_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*TransactionTimings_Get_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Get_Call) Return(transactionTiming *flow.TransactionTiming, b bool) *TransactionTimings_Get_Call
func (*TransactionTimings_Get_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Get_Call) Run(run func(identifier flow.Identifier)) *TransactionTimings_Get_Call
func (*TransactionTimings_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.TransactionTiming, bool)) *TransactionTimings_Get_Call
type TransactionTimings_Has_Call ¶ added in v0.46.0
TransactionTimings_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*TransactionTimings_Has_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Has_Call) Return(b bool) *TransactionTimings_Has_Call
func (*TransactionTimings_Has_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Has_Call) Run(run func(identifier flow.Identifier)) *TransactionTimings_Has_Call
func (*TransactionTimings_Has_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Has_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *TransactionTimings_Has_Call
type TransactionTimings_Remove_Call ¶ added in v0.46.0
TransactionTimings_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*TransactionTimings_Remove_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Remove_Call) Return(b bool) *TransactionTimings_Remove_Call
func (*TransactionTimings_Remove_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Remove_Call) Run(run func(identifier flow.Identifier)) *TransactionTimings_Remove_Call
func (*TransactionTimings_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *TransactionTimings_Remove_Call
type TransactionTimings_Size_Call ¶ added in v0.46.0
TransactionTimings_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*TransactionTimings_Size_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Size_Call) Return(v uint) *TransactionTimings_Size_Call
func (*TransactionTimings_Size_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Size_Call) Run(run func()) *TransactionTimings_Size_Call
func (*TransactionTimings_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Size_Call) RunAndReturn(run func() uint) *TransactionTimings_Size_Call
type TransactionTimings_Values_Call ¶ added in v0.46.0
TransactionTimings_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*TransactionTimings_Values_Call) Return ¶ added in v0.46.0
func (_c *TransactionTimings_Values_Call) Return(transactionTimings []*flow.TransactionTiming) *TransactionTimings_Values_Call
func (*TransactionTimings_Values_Call) Run ¶ added in v0.46.0
func (_c *TransactionTimings_Values_Call) Run(run func()) *TransactionTimings_Values_Call
func (*TransactionTimings_Values_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionTimings_Values_Call) RunAndReturn(run func() []*flow.TransactionTiming) *TransactionTimings_Values_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) Add ¶
func (_mock *Transactions) Add(identifier flow.Identifier, transactionBody *flow.TransactionBody) bool
Add provides a mock function for the type Transactions
func (*Transactions) Adjust ¶ added in v0.43.0
func (_mock *Transactions) Adjust(key flow.Identifier, f func(*flow.TransactionBody) *flow.TransactionBody) (*flow.TransactionBody, bool)
Adjust provides a mock function for the type Transactions
func (*Transactions) All ¶
func (_mock *Transactions) All() map[flow.Identifier]*flow.TransactionBody
All provides a mock function for the type Transactions
func (*Transactions) ByPayer ¶ added in v0.43.0
func (_mock *Transactions) ByPayer(payer flow.Address) []*flow.TransactionBody
ByPayer provides a mock function for the type Transactions
func (*Transactions) Clear ¶ added in v0.11.0
func (_mock *Transactions) Clear()
Clear provides a mock function for the type Transactions
func (*Transactions) EXPECT ¶ added in v0.46.0
func (_m *Transactions) EXPECT() *Transactions_Expecter
func (*Transactions) Get ¶ added in v0.43.0
func (_mock *Transactions) Get(identifier flow.Identifier) (*flow.TransactionBody, bool)
Get provides a mock function for the type Transactions
func (*Transactions) Has ¶
func (_mock *Transactions) Has(identifier flow.Identifier) bool
Has provides a mock function for the type Transactions
func (*Transactions) Remove ¶ added in v0.27.0
func (_mock *Transactions) Remove(identifier flow.Identifier) bool
Remove provides a mock function for the type Transactions
func (*Transactions) Size ¶
func (_mock *Transactions) Size() uint
Size provides a mock function for the type Transactions
func (*Transactions) Values ¶ added in v0.43.0
func (_mock *Transactions) Values() []*flow.TransactionBody
Values provides a mock function for the type Transactions
type Transactions_Add_Call ¶ added in v0.46.0
Transactions_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Transactions_Add_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Add_Call) Return(b bool) *Transactions_Add_Call
func (*Transactions_Add_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Add_Call) Run(run func(identifier flow.Identifier, transactionBody *flow.TransactionBody)) *Transactions_Add_Call
func (*Transactions_Add_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Add_Call) RunAndReturn(run func(identifier flow.Identifier, transactionBody *flow.TransactionBody) bool) *Transactions_Add_Call
type Transactions_Adjust_Call ¶ added in v0.46.0
Transactions_Adjust_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Adjust'
func (*Transactions_Adjust_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Adjust_Call) Return(transactionBody *flow.TransactionBody, b bool) *Transactions_Adjust_Call
func (*Transactions_Adjust_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Adjust_Call) Run(run func(key flow.Identifier, f func(*flow.TransactionBody) *flow.TransactionBody)) *Transactions_Adjust_Call
func (*Transactions_Adjust_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Adjust_Call) RunAndReturn(run func(key flow.Identifier, f func(*flow.TransactionBody) *flow.TransactionBody) (*flow.TransactionBody, bool)) *Transactions_Adjust_Call
type Transactions_All_Call ¶ added in v0.46.0
Transactions_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*Transactions_All_Call) Return ¶ added in v0.46.0
func (_c *Transactions_All_Call) Return(identifierToTransactionBody map[flow.Identifier]*flow.TransactionBody) *Transactions_All_Call
func (*Transactions_All_Call) Run ¶ added in v0.46.0
func (_c *Transactions_All_Call) Run(run func()) *Transactions_All_Call
func (*Transactions_All_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_All_Call) RunAndReturn(run func() map[flow.Identifier]*flow.TransactionBody) *Transactions_All_Call
type Transactions_ByPayer_Call ¶ added in v0.46.0
Transactions_ByPayer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByPayer'
func (*Transactions_ByPayer_Call) Return ¶ added in v0.46.0
func (_c *Transactions_ByPayer_Call) Return(transactionBodys []*flow.TransactionBody) *Transactions_ByPayer_Call
func (*Transactions_ByPayer_Call) Run ¶ added in v0.46.0
func (_c *Transactions_ByPayer_Call) Run(run func(payer flow.Address)) *Transactions_ByPayer_Call
func (*Transactions_ByPayer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_ByPayer_Call) RunAndReturn(run func(payer flow.Address) []*flow.TransactionBody) *Transactions_ByPayer_Call
type Transactions_Clear_Call ¶ added in v0.46.0
Transactions_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*Transactions_Clear_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Clear_Call) Return() *Transactions_Clear_Call
func (*Transactions_Clear_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Clear_Call) Run(run func()) *Transactions_Clear_Call
func (*Transactions_Clear_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Clear_Call) RunAndReturn(run func()) *Transactions_Clear_Call
type Transactions_Expecter ¶ added in v0.46.0
type Transactions_Expecter struct {
// contains filtered or unexported fields
}
func (*Transactions_Expecter) Add ¶ added in v0.46.0
func (_e *Transactions_Expecter) Add(identifier interface{}, transactionBody interface{}) *Transactions_Add_Call
Add is a helper method to define mock.On call
- identifier flow.Identifier
- transactionBody *flow.TransactionBody
func (*Transactions_Expecter) Adjust ¶ added in v0.46.0
func (_e *Transactions_Expecter) Adjust(key interface{}, f interface{}) *Transactions_Adjust_Call
Adjust is a helper method to define mock.On call
- key flow.Identifier
- f func(*flow.TransactionBody) *flow.TransactionBody
func (*Transactions_Expecter) All ¶ added in v0.46.0
func (_e *Transactions_Expecter) All() *Transactions_All_Call
All is a helper method to define mock.On call
func (*Transactions_Expecter) ByPayer ¶ added in v0.46.0
func (_e *Transactions_Expecter) ByPayer(payer interface{}) *Transactions_ByPayer_Call
ByPayer is a helper method to define mock.On call
- payer flow.Address
func (*Transactions_Expecter) Clear ¶ added in v0.46.0
func (_e *Transactions_Expecter) Clear() *Transactions_Clear_Call
Clear is a helper method to define mock.On call
func (*Transactions_Expecter) Get ¶ added in v0.46.0
func (_e *Transactions_Expecter) Get(identifier interface{}) *Transactions_Get_Call
Get is a helper method to define mock.On call
- identifier flow.Identifier
func (*Transactions_Expecter) Has ¶ added in v0.46.0
func (_e *Transactions_Expecter) Has(identifier interface{}) *Transactions_Has_Call
Has is a helper method to define mock.On call
- identifier flow.Identifier
func (*Transactions_Expecter) Remove ¶ added in v0.46.0
func (_e *Transactions_Expecter) Remove(identifier interface{}) *Transactions_Remove_Call
Remove is a helper method to define mock.On call
- identifier flow.Identifier
func (*Transactions_Expecter) Size ¶ added in v0.46.0
func (_e *Transactions_Expecter) Size() *Transactions_Size_Call
Size is a helper method to define mock.On call
func (*Transactions_Expecter) Values ¶ added in v0.46.0
func (_e *Transactions_Expecter) Values() *Transactions_Values_Call
Values is a helper method to define mock.On call
type Transactions_Get_Call ¶ added in v0.46.0
Transactions_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Transactions_Get_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Get_Call) Return(transactionBody *flow.TransactionBody, b bool) *Transactions_Get_Call
func (*Transactions_Get_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Get_Call) Run(run func(identifier flow.Identifier)) *Transactions_Get_Call
func (*Transactions_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Get_Call) RunAndReturn(run func(identifier flow.Identifier) (*flow.TransactionBody, bool)) *Transactions_Get_Call
type Transactions_Has_Call ¶ added in v0.46.0
Transactions_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*Transactions_Has_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Has_Call) Return(b bool) *Transactions_Has_Call
func (*Transactions_Has_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Has_Call) Run(run func(identifier flow.Identifier)) *Transactions_Has_Call
func (*Transactions_Has_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Has_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *Transactions_Has_Call
type Transactions_Remove_Call ¶ added in v0.46.0
Transactions_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*Transactions_Remove_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Remove_Call) Return(b bool) *Transactions_Remove_Call
func (*Transactions_Remove_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Remove_Call) Run(run func(identifier flow.Identifier)) *Transactions_Remove_Call
func (*Transactions_Remove_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Remove_Call) RunAndReturn(run func(identifier flow.Identifier) bool) *Transactions_Remove_Call
type Transactions_Size_Call ¶ added in v0.46.0
Transactions_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*Transactions_Size_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Size_Call) Return(v uint) *Transactions_Size_Call
func (*Transactions_Size_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Size_Call) Run(run func()) *Transactions_Size_Call
func (*Transactions_Size_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Size_Call) RunAndReturn(run func() uint) *Transactions_Size_Call
type Transactions_Values_Call ¶ added in v0.46.0
Transactions_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*Transactions_Values_Call) Return ¶ added in v0.46.0
func (_c *Transactions_Values_Call) Return(transactionBodys []*flow.TransactionBody) *Transactions_Values_Call
func (*Transactions_Values_Call) Run ¶ added in v0.46.0
func (_c *Transactions_Values_Call) Run(run func()) *Transactions_Values_Call
func (*Transactions_Values_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Transactions_Values_Call) RunAndReturn(run func() []*flow.TransactionBody) *Transactions_Values_Call