Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignedChunkProcessor ¶
AssignedChunkProcessor is an autogenerated mock type for the AssignedChunkProcessor type
func NewAssignedChunkProcessor ¶
func NewAssignedChunkProcessor(t mockConstructorTestingTNewAssignedChunkProcessor) *AssignedChunkProcessor
NewAssignedChunkProcessor creates a new instance of AssignedChunkProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AssignedChunkProcessor) Done ¶
func (_m *AssignedChunkProcessor) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*AssignedChunkProcessor) ProcessAssignedChunk ¶
func (_m *AssignedChunkProcessor) ProcessAssignedChunk(locator *chunks.Locator)
ProcessAssignedChunk provides a mock function with given fields: locator
func (*AssignedChunkProcessor) Ready ¶
func (_m *AssignedChunkProcessor) Ready() <-chan struct{}
Ready provides a mock function with given fields:
func (*AssignedChunkProcessor) WithChunkConsumerNotifier ¶
func (_m *AssignedChunkProcessor) WithChunkConsumerNotifier(notifier module.ProcessingNotifier)
WithChunkConsumerNotifier provides a mock function with given fields: notifier
type ChunkDataPackHandler ¶
ChunkDataPackHandler is an autogenerated mock type for the ChunkDataPackHandler type
func NewChunkDataPackHandler ¶
func NewChunkDataPackHandler(t mockConstructorTestingTNewChunkDataPackHandler) *ChunkDataPackHandler
NewChunkDataPackHandler creates a new instance of ChunkDataPackHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChunkDataPackHandler) HandleChunkDataPack ¶
func (_m *ChunkDataPackHandler) HandleChunkDataPack(originID flow.Identifier, response *verification.ChunkDataPackResponse)
HandleChunkDataPack provides a mock function with given fields: originID, response
func (*ChunkDataPackHandler) NotifyChunkDataPackSealed ¶
func (_m *ChunkDataPackHandler) NotifyChunkDataPackSealed(chunkIndex uint64, resultID flow.Identifier)
NotifyChunkDataPackSealed provides a mock function with given fields: chunkIndex, resultID
type ChunkDataPackRequester ¶
ChunkDataPackRequester is an autogenerated mock type for the ChunkDataPackRequester type
func NewChunkDataPackRequester ¶
func NewChunkDataPackRequester(t mockConstructorTestingTNewChunkDataPackRequester) *ChunkDataPackRequester
NewChunkDataPackRequester creates a new instance of ChunkDataPackRequester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChunkDataPackRequester) Done ¶
func (_m *ChunkDataPackRequester) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*ChunkDataPackRequester) Ready ¶
func (_m *ChunkDataPackRequester) Ready() <-chan struct{}
Ready provides a mock function with given fields:
func (*ChunkDataPackRequester) Request ¶
func (_m *ChunkDataPackRequester) Request(request *verification.ChunkDataPackRequest)
Request provides a mock function with given fields: request
func (*ChunkDataPackRequester) WithChunkDataPackHandler ¶
func (_m *ChunkDataPackRequester) WithChunkDataPackHandler(handler fetcher.ChunkDataPackHandler)
WithChunkDataPackHandler provides a mock function with given fields: handler