mockfetcher

package
v0.29.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignedChunkProcessor

type AssignedChunkProcessor struct {
	mock.Mock
}

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

type ChunkDataPackHandler struct {
	mock.Mock
}

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

type ChunkDataPackRequester struct {
	mock.Mock
}

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL