Documentation ¶
Index ¶
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 given 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) Ready ¶
func (_m *Downloader) Ready() <-chan struct{}
Ready provides a mock function with given fields:
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