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 ¶ added in v0.26.1
func NewAssignedChunkProcessor(t NewAssignedChunkProcessorT) *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 ¶ added in v0.18.3
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 ¶ added in v0.18.3
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 ¶ added in v0.16.0
ChunkDataPackHandler is an autogenerated mock type for the ChunkDataPackHandler type
func NewChunkDataPackHandler ¶ added in v0.26.1
func NewChunkDataPackHandler(t NewChunkDataPackHandlerT) *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 ¶ added in v0.16.0
func (_m *ChunkDataPackHandler) HandleChunkDataPack(originID flow.Identifier, response *verification.ChunkDataPackResponse)
HandleChunkDataPack provides a mock function with given fields: originID, response
func (*ChunkDataPackHandler) NotifyChunkDataPackSealed ¶ added in v0.16.0
func (_m *ChunkDataPackHandler) NotifyChunkDataPackSealed(chunkIndex uint64, resultID flow.Identifier)
NotifyChunkDataPackSealed provides a mock function with given fields: chunkIndex, resultID
type ChunkDataPackRequester ¶ added in v0.16.0
ChunkDataPackRequester is an autogenerated mock type for the ChunkDataPackRequester type
func NewChunkDataPackRequester ¶ added in v0.26.1
func NewChunkDataPackRequester(t NewChunkDataPackRequesterT) *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 ¶ added in v0.18.3
func (_m *ChunkDataPackRequester) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*ChunkDataPackRequester) Ready ¶ added in v0.18.3
func (_m *ChunkDataPackRequester) Ready() <-chan struct{}
Ready provides a mock function with given fields:
func (*ChunkDataPackRequester) Request ¶ added in v0.16.0
func (_m *ChunkDataPackRequester) Request(request *verification.ChunkDataPackRequest)
Request provides a mock function with given fields: request
func (*ChunkDataPackRequester) WithChunkDataPackHandler ¶ added in v0.17.0
func (_m *ChunkDataPackRequester) WithChunkDataPackHandler(handler fetcher.ChunkDataPackHandler)
WithChunkDataPackHandler provides a mock function with given fields: handler