Help us shape the future of Go! Take the 2026 Go Developer Survey

mockfetcher

package
v0.31.21 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 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 added in v0.26.1

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 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

type ChunkDataPackHandler struct {
	mock.Mock
}

ChunkDataPackHandler is an autogenerated mock type for the ChunkDataPackHandler type

func NewChunkDataPackHandler added in v0.26.1

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 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

type ChunkDataPackRequester struct {
	mock.Mock
}

ChunkDataPackRequester is an autogenerated mock type for the ChunkDataPackRequester type

func NewChunkDataPackRequester added in v0.26.1

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 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

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

Jump to

Keyboard shortcuts

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