Documentation
¶
Index ¶
- type Downloader
- func (_m *Downloader) Done() <-chan struct{}
- func (_m *Downloader) Get(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)
- func (_m *Downloader) HighestCompleteHeight() uint64
- func (_m *Downloader) OnBlockProcessed(_a0 uint64)
- func (_m *Downloader) Ready() <-chan struct{}
- func (_m *Downloader) SetHeightUpdatesConsumer(_a0 execution_data.HeightUpdatesConsumer)
- type ExecutionDataGetter
- type ExecutionDataStore
- type ProcessedHeightRecorder
- type Serializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
Downloader is an autogenerated mock type for the Downloader type
func NewDownloader ¶
func NewDownloader(t interface { mock.TestingT Cleanup(func()) }) *Downloader
NewDownloader creates a new instance of Downloader. 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 (*Downloader) Done ¶
func (_m *Downloader) Done() <-chan struct{}
Done provides a mock function with no fields
func (*Downloader) Get ¶ added in v0.31.0
func (_m *Downloader) Get(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)
Get provides a mock function with given fields: ctx, rootID
func (*Downloader) HighestCompleteHeight ¶ added in v0.37.1
func (_m *Downloader) HighestCompleteHeight() uint64
HighestCompleteHeight provides a mock function with no fields
func (*Downloader) OnBlockProcessed ¶ added in v0.37.1
func (_m *Downloader) OnBlockProcessed(_a0 uint64)
OnBlockProcessed provides a mock function with given fields: _a0
func (*Downloader) Ready ¶
func (_m *Downloader) Ready() <-chan struct{}
Ready provides a mock function with no fields
func (*Downloader) SetHeightUpdatesConsumer ¶ added in v0.37.22
func (_m *Downloader) SetHeightUpdatesConsumer(_a0 execution_data.HeightUpdatesConsumer)
SetHeightUpdatesConsumer provides a mock function with given fields: _a0
type ExecutionDataGetter ¶ added in v0.43.3
ExecutionDataGetter is an autogenerated mock type for the ExecutionDataGetter type
func NewExecutionDataGetter ¶ added in v0.43.3
func NewExecutionDataGetter(t interface { mock.TestingT Cleanup(func()) }) *ExecutionDataGetter
NewExecutionDataGetter creates a new instance of ExecutionDataGetter. 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 (*ExecutionDataGetter) Get ¶ added in v0.43.3
func (_m *ExecutionDataGetter) Get(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)
Get provides a mock function with given fields: ctx, rootID
type ExecutionDataStore ¶
ExecutionDataStore is an autogenerated mock type for the ExecutionDataStore type
func NewExecutionDataStore ¶
func NewExecutionDataStore(t interface { mock.TestingT Cleanup(func()) }) *ExecutionDataStore
NewExecutionDataStore creates a new instance of ExecutionDataStore. 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 (*ExecutionDataStore) Add ¶ added in v0.31.0
func (_m *ExecutionDataStore) Add(ctx context.Context, executionData *execution_data.BlockExecutionData) (flow.Identifier, error)
Add provides a mock function with given fields: ctx, executionData
func (*ExecutionDataStore) Get ¶ added in v0.31.0
func (_m *ExecutionDataStore) Get(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)
Get provides a mock function with given fields: ctx, rootID
type ProcessedHeightRecorder ¶ added in v0.43.3
ProcessedHeightRecorder is an autogenerated mock type for the ProcessedHeightRecorder type
func NewProcessedHeightRecorder ¶ added in v0.43.3
func NewProcessedHeightRecorder(t interface { mock.TestingT Cleanup(func()) }) *ProcessedHeightRecorder
NewProcessedHeightRecorder creates a new instance of ProcessedHeightRecorder. 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 (*ProcessedHeightRecorder) HighestCompleteHeight ¶ added in v0.43.3
func (_m *ProcessedHeightRecorder) HighestCompleteHeight() uint64
HighestCompleteHeight provides a mock function with no fields
func (*ProcessedHeightRecorder) OnBlockProcessed ¶ added in v0.43.3
func (_m *ProcessedHeightRecorder) OnBlockProcessed(_a0 uint64)
OnBlockProcessed provides a mock function with given fields: _a0
func (*ProcessedHeightRecorder) SetHeightUpdatesConsumer ¶ added in v0.43.3
func (_m *ProcessedHeightRecorder) SetHeightUpdatesConsumer(_a0 execution_data.HeightUpdatesConsumer)
SetHeightUpdatesConsumer provides a mock function with given fields: _a0
type Serializer ¶ added in v0.43.3
Serializer is an autogenerated mock type for the Serializer type
func NewSerializer ¶ added in v0.43.3
func NewSerializer(t interface { mock.TestingT Cleanup(func()) }) *Serializer
NewSerializer creates a new instance of Serializer. 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 (*Serializer) Deserialize ¶ added in v0.43.3
func (_m *Serializer) Deserialize(_a0 io.Reader) (interface{}, error)
Deserialize provides a mock function with given fields: _a0