Documentation
¶
Index ¶
- type BaseTracker
- func (_m *BaseTracker) EXPECT() *BaseTracker_Expecter
- func (_mock *BaseTracker) GetStartHeightFromBlockID(identifier flow.Identifier) (uint64, error)
- func (_mock *BaseTracker) GetStartHeightFromHeight(v uint64) (uint64, error)
- func (_mock *BaseTracker) GetStartHeightFromLatest(context1 context.Context) (uint64, error)
- type BaseTracker_Expecter
- func (_e *BaseTracker_Expecter) GetStartHeightFromBlockID(identifier interface{}) *BaseTracker_GetStartHeightFromBlockID_Call
- func (_e *BaseTracker_Expecter) GetStartHeightFromHeight(v interface{}) *BaseTracker_GetStartHeightFromHeight_Call
- func (_e *BaseTracker_Expecter) GetStartHeightFromLatest(context1 interface{}) *BaseTracker_GetStartHeightFromLatest_Call
- type BaseTracker_GetStartHeightFromBlockID_Call
- func (_c *BaseTracker_GetStartHeightFromBlockID_Call) Return(v uint64, err error) *BaseTracker_GetStartHeightFromBlockID_Call
- func (_c *BaseTracker_GetStartHeightFromBlockID_Call) Run(run func(identifier flow.Identifier)) *BaseTracker_GetStartHeightFromBlockID_Call
- func (_c *BaseTracker_GetStartHeightFromBlockID_Call) RunAndReturn(run func(identifier flow.Identifier) (uint64, error)) *BaseTracker_GetStartHeightFromBlockID_Call
- type BaseTracker_GetStartHeightFromHeight_Call
- func (_c *BaseTracker_GetStartHeightFromHeight_Call) Return(v1 uint64, err error) *BaseTracker_GetStartHeightFromHeight_Call
- func (_c *BaseTracker_GetStartHeightFromHeight_Call) Run(run func(v uint64)) *BaseTracker_GetStartHeightFromHeight_Call
- func (_c *BaseTracker_GetStartHeightFromHeight_Call) RunAndReturn(run func(v uint64) (uint64, error)) *BaseTracker_GetStartHeightFromHeight_Call
- type BaseTracker_GetStartHeightFromLatest_Call
- func (_c *BaseTracker_GetStartHeightFromLatest_Call) Return(v uint64, err error) *BaseTracker_GetStartHeightFromLatest_Call
- func (_c *BaseTracker_GetStartHeightFromLatest_Call) Run(run func(context1 context.Context)) *BaseTracker_GetStartHeightFromLatest_Call
- func (_c *BaseTracker_GetStartHeightFromLatest_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *BaseTracker_GetStartHeightFromLatest_Call
- type BlockTracker
- func (_m *BlockTracker) EXPECT() *BlockTracker_Expecter
- func (_mock *BlockTracker) GetHighestHeight(blockStatus flow.BlockStatus) (uint64, error)
- func (_mock *BlockTracker) GetStartHeightFromBlockID(identifier flow.Identifier) (uint64, error)
- func (_mock *BlockTracker) GetStartHeightFromHeight(v uint64) (uint64, error)
- func (_mock *BlockTracker) GetStartHeightFromLatest(context1 context.Context) (uint64, error)
- func (_mock *BlockTracker) ProcessOnFinalizedBlock() error
- type BlockTracker_Expecter
- func (_e *BlockTracker_Expecter) GetHighestHeight(blockStatus interface{}) *BlockTracker_GetHighestHeight_Call
- func (_e *BlockTracker_Expecter) GetStartHeightFromBlockID(identifier interface{}) *BlockTracker_GetStartHeightFromBlockID_Call
- func (_e *BlockTracker_Expecter) GetStartHeightFromHeight(v interface{}) *BlockTracker_GetStartHeightFromHeight_Call
- func (_e *BlockTracker_Expecter) GetStartHeightFromLatest(context1 interface{}) *BlockTracker_GetStartHeightFromLatest_Call
- func (_e *BlockTracker_Expecter) ProcessOnFinalizedBlock() *BlockTracker_ProcessOnFinalizedBlock_Call
- type BlockTracker_GetHighestHeight_Call
- func (_c *BlockTracker_GetHighestHeight_Call) Return(v uint64, err error) *BlockTracker_GetHighestHeight_Call
- func (_c *BlockTracker_GetHighestHeight_Call) Run(run func(blockStatus flow.BlockStatus)) *BlockTracker_GetHighestHeight_Call
- func (_c *BlockTracker_GetHighestHeight_Call) RunAndReturn(run func(blockStatus flow.BlockStatus) (uint64, error)) *BlockTracker_GetHighestHeight_Call
- type BlockTracker_GetStartHeightFromBlockID_Call
- func (_c *BlockTracker_GetStartHeightFromBlockID_Call) Return(v uint64, err error) *BlockTracker_GetStartHeightFromBlockID_Call
- func (_c *BlockTracker_GetStartHeightFromBlockID_Call) Run(run func(identifier flow.Identifier)) *BlockTracker_GetStartHeightFromBlockID_Call
- func (_c *BlockTracker_GetStartHeightFromBlockID_Call) RunAndReturn(run func(identifier flow.Identifier) (uint64, error)) *BlockTracker_GetStartHeightFromBlockID_Call
- type BlockTracker_GetStartHeightFromHeight_Call
- func (_c *BlockTracker_GetStartHeightFromHeight_Call) Return(v1 uint64, err error) *BlockTracker_GetStartHeightFromHeight_Call
- func (_c *BlockTracker_GetStartHeightFromHeight_Call) Run(run func(v uint64)) *BlockTracker_GetStartHeightFromHeight_Call
- func (_c *BlockTracker_GetStartHeightFromHeight_Call) RunAndReturn(run func(v uint64) (uint64, error)) *BlockTracker_GetStartHeightFromHeight_Call
- type BlockTracker_GetStartHeightFromLatest_Call
- func (_c *BlockTracker_GetStartHeightFromLatest_Call) Return(v uint64, err error) *BlockTracker_GetStartHeightFromLatest_Call
- func (_c *BlockTracker_GetStartHeightFromLatest_Call) Run(run func(context1 context.Context)) *BlockTracker_GetStartHeightFromLatest_Call
- func (_c *BlockTracker_GetStartHeightFromLatest_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *BlockTracker_GetStartHeightFromLatest_Call
- type BlockTracker_ProcessOnFinalizedBlock_Call
- func (_c *BlockTracker_ProcessOnFinalizedBlock_Call) Return(err error) *BlockTracker_ProcessOnFinalizedBlock_Call
- func (_c *BlockTracker_ProcessOnFinalizedBlock_Call) Run(run func()) *BlockTracker_ProcessOnFinalizedBlock_Call
- func (_c *BlockTracker_ProcessOnFinalizedBlock_Call) RunAndReturn(run func() error) *BlockTracker_ProcessOnFinalizedBlock_Call
- type ExecutionDataTracker
- func (_m *ExecutionDataTracker) EXPECT() *ExecutionDataTracker_Expecter
- func (_mock *ExecutionDataTracker) GetHighestHeight() uint64
- func (_mock *ExecutionDataTracker) GetStartHeight(context1 context.Context, identifier flow.Identifier, v uint64) (uint64, error)
- func (_mock *ExecutionDataTracker) GetStartHeightFromBlockID(identifier flow.Identifier) (uint64, error)
- func (_mock *ExecutionDataTracker) GetStartHeightFromHeight(v uint64) (uint64, error)
- func (_mock *ExecutionDataTracker) GetStartHeightFromLatest(context1 context.Context) (uint64, error)
- func (_mock *ExecutionDataTracker) OnExecutionData(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity)
- type ExecutionDataTracker_Expecter
- func (_e *ExecutionDataTracker_Expecter) GetHighestHeight() *ExecutionDataTracker_GetHighestHeight_Call
- func (_e *ExecutionDataTracker_Expecter) GetStartHeight(context1 interface{}, identifier interface{}, v interface{}) *ExecutionDataTracker_GetStartHeight_Call
- func (_e *ExecutionDataTracker_Expecter) GetStartHeightFromBlockID(identifier interface{}) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
- func (_e *ExecutionDataTracker_Expecter) GetStartHeightFromHeight(v interface{}) *ExecutionDataTracker_GetStartHeightFromHeight_Call
- func (_e *ExecutionDataTracker_Expecter) GetStartHeightFromLatest(context1 interface{}) *ExecutionDataTracker_GetStartHeightFromLatest_Call
- func (_e *ExecutionDataTracker_Expecter) OnExecutionData(blockExecutionDataEntity interface{}) *ExecutionDataTracker_OnExecutionData_Call
- type ExecutionDataTracker_GetHighestHeight_Call
- func (_c *ExecutionDataTracker_GetHighestHeight_Call) Return(v uint64) *ExecutionDataTracker_GetHighestHeight_Call
- func (_c *ExecutionDataTracker_GetHighestHeight_Call) Run(run func()) *ExecutionDataTracker_GetHighestHeight_Call
- func (_c *ExecutionDataTracker_GetHighestHeight_Call) RunAndReturn(run func() uint64) *ExecutionDataTracker_GetHighestHeight_Call
- type ExecutionDataTracker_GetStartHeightFromBlockID_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromBlockID_Call) Return(v uint64, err error) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromBlockID_Call) Run(run func(identifier flow.Identifier)) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromBlockID_Call) RunAndReturn(run func(identifier flow.Identifier) (uint64, error)) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
- type ExecutionDataTracker_GetStartHeightFromHeight_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromHeight_Call) Return(v1 uint64, err error) *ExecutionDataTracker_GetStartHeightFromHeight_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromHeight_Call) Run(run func(v uint64)) *ExecutionDataTracker_GetStartHeightFromHeight_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromHeight_Call) RunAndReturn(run func(v uint64) (uint64, error)) *ExecutionDataTracker_GetStartHeightFromHeight_Call
- type ExecutionDataTracker_GetStartHeightFromLatest_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromLatest_Call) Return(v uint64, err error) *ExecutionDataTracker_GetStartHeightFromLatest_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromLatest_Call) Run(run func(context1 context.Context)) *ExecutionDataTracker_GetStartHeightFromLatest_Call
- func (_c *ExecutionDataTracker_GetStartHeightFromLatest_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *ExecutionDataTracker_GetStartHeightFromLatest_Call
- type ExecutionDataTracker_GetStartHeight_Call
- func (_c *ExecutionDataTracker_GetStartHeight_Call) Return(v1 uint64, err error) *ExecutionDataTracker_GetStartHeight_Call
- func (_c *ExecutionDataTracker_GetStartHeight_Call) Run(run func(context1 context.Context, identifier flow.Identifier, v uint64)) *ExecutionDataTracker_GetStartHeight_Call
- func (_c *ExecutionDataTracker_GetStartHeight_Call) RunAndReturn(...) *ExecutionDataTracker_GetStartHeight_Call
- type ExecutionDataTracker_OnExecutionData_Call
- func (_c *ExecutionDataTracker_OnExecutionData_Call) Return() *ExecutionDataTracker_OnExecutionData_Call
- func (_c *ExecutionDataTracker_OnExecutionData_Call) Run(run func(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity)) *ExecutionDataTracker_OnExecutionData_Call
- func (_c *ExecutionDataTracker_OnExecutionData_Call) RunAndReturn(run func(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity)) *ExecutionDataTracker_OnExecutionData_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTracker ¶ added in v0.43.2
BaseTracker is an autogenerated mock type for the BaseTracker type
func NewBaseTracker ¶ added in v0.43.2
func NewBaseTracker(t interface {
mock.TestingT
Cleanup(func())
}) *BaseTracker
NewBaseTracker creates a new instance of BaseTracker. 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 (*BaseTracker) EXPECT ¶ added in v0.46.0
func (_m *BaseTracker) EXPECT() *BaseTracker_Expecter
func (*BaseTracker) GetStartHeightFromBlockID ¶ added in v0.43.2
func (_mock *BaseTracker) GetStartHeightFromBlockID(identifier flow.Identifier) (uint64, error)
GetStartHeightFromBlockID provides a mock function for the type BaseTracker
func (*BaseTracker) GetStartHeightFromHeight ¶ added in v0.43.2
func (_mock *BaseTracker) GetStartHeightFromHeight(v uint64) (uint64, error)
GetStartHeightFromHeight provides a mock function for the type BaseTracker
func (*BaseTracker) GetStartHeightFromLatest ¶ added in v0.43.2
func (_mock *BaseTracker) GetStartHeightFromLatest(context1 context.Context) (uint64, error)
GetStartHeightFromLatest provides a mock function for the type BaseTracker
type BaseTracker_Expecter ¶ added in v0.46.0
type BaseTracker_Expecter struct {
// contains filtered or unexported fields
}
func (*BaseTracker_Expecter) GetStartHeightFromBlockID ¶ added in v0.46.0
func (_e *BaseTracker_Expecter) GetStartHeightFromBlockID(identifier interface{}) *BaseTracker_GetStartHeightFromBlockID_Call
GetStartHeightFromBlockID is a helper method to define mock.On call
- identifier flow.Identifier
func (*BaseTracker_Expecter) GetStartHeightFromHeight ¶ added in v0.46.0
func (_e *BaseTracker_Expecter) GetStartHeightFromHeight(v interface{}) *BaseTracker_GetStartHeightFromHeight_Call
GetStartHeightFromHeight is a helper method to define mock.On call
- v uint64
func (*BaseTracker_Expecter) GetStartHeightFromLatest ¶ added in v0.46.0
func (_e *BaseTracker_Expecter) GetStartHeightFromLatest(context1 interface{}) *BaseTracker_GetStartHeightFromLatest_Call
GetStartHeightFromLatest is a helper method to define mock.On call
- context1 context.Context
type BaseTracker_GetStartHeightFromBlockID_Call ¶ added in v0.46.0
BaseTracker_GetStartHeightFromBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromBlockID'
func (*BaseTracker_GetStartHeightFromBlockID_Call) Return ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromBlockID_Call) Return(v uint64, err error) *BaseTracker_GetStartHeightFromBlockID_Call
func (*BaseTracker_GetStartHeightFromBlockID_Call) Run ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromBlockID_Call) Run(run func(identifier flow.Identifier)) *BaseTracker_GetStartHeightFromBlockID_Call
func (*BaseTracker_GetStartHeightFromBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromBlockID_Call) RunAndReturn(run func(identifier flow.Identifier) (uint64, error)) *BaseTracker_GetStartHeightFromBlockID_Call
type BaseTracker_GetStartHeightFromHeight_Call ¶ added in v0.46.0
BaseTracker_GetStartHeightFromHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromHeight'
func (*BaseTracker_GetStartHeightFromHeight_Call) Return ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromHeight_Call) Return(v1 uint64, err error) *BaseTracker_GetStartHeightFromHeight_Call
func (*BaseTracker_GetStartHeightFromHeight_Call) Run ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromHeight_Call) Run(run func(v uint64)) *BaseTracker_GetStartHeightFromHeight_Call
func (*BaseTracker_GetStartHeightFromHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromHeight_Call) RunAndReturn(run func(v uint64) (uint64, error)) *BaseTracker_GetStartHeightFromHeight_Call
type BaseTracker_GetStartHeightFromLatest_Call ¶ added in v0.46.0
BaseTracker_GetStartHeightFromLatest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromLatest'
func (*BaseTracker_GetStartHeightFromLatest_Call) Return ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromLatest_Call) Return(v uint64, err error) *BaseTracker_GetStartHeightFromLatest_Call
func (*BaseTracker_GetStartHeightFromLatest_Call) Run ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromLatest_Call) Run(run func(context1 context.Context)) *BaseTracker_GetStartHeightFromLatest_Call
func (*BaseTracker_GetStartHeightFromLatest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BaseTracker_GetStartHeightFromLatest_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *BaseTracker_GetStartHeightFromLatest_Call
type BlockTracker ¶
BlockTracker is an autogenerated mock type for the BlockTracker type
func NewBlockTracker ¶
func NewBlockTracker(t interface {
mock.TestingT
Cleanup(func())
}) *BlockTracker
NewBlockTracker creates a new instance of BlockTracker. 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 (*BlockTracker) EXPECT ¶ added in v0.46.0
func (_m *BlockTracker) EXPECT() *BlockTracker_Expecter
func (*BlockTracker) GetHighestHeight ¶
func (_mock *BlockTracker) GetHighestHeight(blockStatus flow.BlockStatus) (uint64, error)
GetHighestHeight provides a mock function for the type BlockTracker
func (*BlockTracker) GetStartHeightFromBlockID ¶
func (_mock *BlockTracker) GetStartHeightFromBlockID(identifier flow.Identifier) (uint64, error)
GetStartHeightFromBlockID provides a mock function for the type BlockTracker
func (*BlockTracker) GetStartHeightFromHeight ¶
func (_mock *BlockTracker) GetStartHeightFromHeight(v uint64) (uint64, error)
GetStartHeightFromHeight provides a mock function for the type BlockTracker
func (*BlockTracker) GetStartHeightFromLatest ¶
func (_mock *BlockTracker) GetStartHeightFromLatest(context1 context.Context) (uint64, error)
GetStartHeightFromLatest provides a mock function for the type BlockTracker
func (*BlockTracker) ProcessOnFinalizedBlock ¶
func (_mock *BlockTracker) ProcessOnFinalizedBlock() error
ProcessOnFinalizedBlock provides a mock function for the type BlockTracker
type BlockTracker_Expecter ¶ added in v0.46.0
type BlockTracker_Expecter struct {
// contains filtered or unexported fields
}
func (*BlockTracker_Expecter) GetHighestHeight ¶ added in v0.46.0
func (_e *BlockTracker_Expecter) GetHighestHeight(blockStatus interface{}) *BlockTracker_GetHighestHeight_Call
GetHighestHeight is a helper method to define mock.On call
- blockStatus flow.BlockStatus
func (*BlockTracker_Expecter) GetStartHeightFromBlockID ¶ added in v0.46.0
func (_e *BlockTracker_Expecter) GetStartHeightFromBlockID(identifier interface{}) *BlockTracker_GetStartHeightFromBlockID_Call
GetStartHeightFromBlockID is a helper method to define mock.On call
- identifier flow.Identifier
func (*BlockTracker_Expecter) GetStartHeightFromHeight ¶ added in v0.46.0
func (_e *BlockTracker_Expecter) GetStartHeightFromHeight(v interface{}) *BlockTracker_GetStartHeightFromHeight_Call
GetStartHeightFromHeight is a helper method to define mock.On call
- v uint64
func (*BlockTracker_Expecter) GetStartHeightFromLatest ¶ added in v0.46.0
func (_e *BlockTracker_Expecter) GetStartHeightFromLatest(context1 interface{}) *BlockTracker_GetStartHeightFromLatest_Call
GetStartHeightFromLatest is a helper method to define mock.On call
- context1 context.Context
func (*BlockTracker_Expecter) ProcessOnFinalizedBlock ¶ added in v0.46.0
func (_e *BlockTracker_Expecter) ProcessOnFinalizedBlock() *BlockTracker_ProcessOnFinalizedBlock_Call
ProcessOnFinalizedBlock is a helper method to define mock.On call
type BlockTracker_GetHighestHeight_Call ¶ added in v0.46.0
BlockTracker_GetHighestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHighestHeight'
func (*BlockTracker_GetHighestHeight_Call) Return ¶ added in v0.46.0
func (_c *BlockTracker_GetHighestHeight_Call) Return(v uint64, err error) *BlockTracker_GetHighestHeight_Call
func (*BlockTracker_GetHighestHeight_Call) Run ¶ added in v0.46.0
func (_c *BlockTracker_GetHighestHeight_Call) Run(run func(blockStatus flow.BlockStatus)) *BlockTracker_GetHighestHeight_Call
func (*BlockTracker_GetHighestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockTracker_GetHighestHeight_Call) RunAndReturn(run func(blockStatus flow.BlockStatus) (uint64, error)) *BlockTracker_GetHighestHeight_Call
type BlockTracker_GetStartHeightFromBlockID_Call ¶ added in v0.46.0
BlockTracker_GetStartHeightFromBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromBlockID'
func (*BlockTracker_GetStartHeightFromBlockID_Call) Return ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromBlockID_Call) Return(v uint64, err error) *BlockTracker_GetStartHeightFromBlockID_Call
func (*BlockTracker_GetStartHeightFromBlockID_Call) Run ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromBlockID_Call) Run(run func(identifier flow.Identifier)) *BlockTracker_GetStartHeightFromBlockID_Call
func (*BlockTracker_GetStartHeightFromBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromBlockID_Call) RunAndReturn(run func(identifier flow.Identifier) (uint64, error)) *BlockTracker_GetStartHeightFromBlockID_Call
type BlockTracker_GetStartHeightFromHeight_Call ¶ added in v0.46.0
BlockTracker_GetStartHeightFromHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromHeight'
func (*BlockTracker_GetStartHeightFromHeight_Call) Return ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromHeight_Call) Return(v1 uint64, err error) *BlockTracker_GetStartHeightFromHeight_Call
func (*BlockTracker_GetStartHeightFromHeight_Call) Run ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromHeight_Call) Run(run func(v uint64)) *BlockTracker_GetStartHeightFromHeight_Call
func (*BlockTracker_GetStartHeightFromHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromHeight_Call) RunAndReturn(run func(v uint64) (uint64, error)) *BlockTracker_GetStartHeightFromHeight_Call
type BlockTracker_GetStartHeightFromLatest_Call ¶ added in v0.46.0
BlockTracker_GetStartHeightFromLatest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromLatest'
func (*BlockTracker_GetStartHeightFromLatest_Call) Return ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromLatest_Call) Return(v uint64, err error) *BlockTracker_GetStartHeightFromLatest_Call
func (*BlockTracker_GetStartHeightFromLatest_Call) Run ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromLatest_Call) Run(run func(context1 context.Context)) *BlockTracker_GetStartHeightFromLatest_Call
func (*BlockTracker_GetStartHeightFromLatest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockTracker_GetStartHeightFromLatest_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *BlockTracker_GetStartHeightFromLatest_Call
type BlockTracker_ProcessOnFinalizedBlock_Call ¶ added in v0.46.0
BlockTracker_ProcessOnFinalizedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessOnFinalizedBlock'
func (*BlockTracker_ProcessOnFinalizedBlock_Call) Return ¶ added in v0.46.0
func (_c *BlockTracker_ProcessOnFinalizedBlock_Call) Return(err error) *BlockTracker_ProcessOnFinalizedBlock_Call
func (*BlockTracker_ProcessOnFinalizedBlock_Call) Run ¶ added in v0.46.0
func (_c *BlockTracker_ProcessOnFinalizedBlock_Call) Run(run func()) *BlockTracker_ProcessOnFinalizedBlock_Call
func (*BlockTracker_ProcessOnFinalizedBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockTracker_ProcessOnFinalizedBlock_Call) RunAndReturn(run func() error) *BlockTracker_ProcessOnFinalizedBlock_Call
type ExecutionDataTracker ¶
ExecutionDataTracker is an autogenerated mock type for the ExecutionDataTracker type
func NewExecutionDataTracker ¶
func NewExecutionDataTracker(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionDataTracker
NewExecutionDataTracker creates a new instance of ExecutionDataTracker. 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 (*ExecutionDataTracker) EXPECT ¶ added in v0.46.0
func (_m *ExecutionDataTracker) EXPECT() *ExecutionDataTracker_Expecter
func (*ExecutionDataTracker) GetHighestHeight ¶
func (_mock *ExecutionDataTracker) GetHighestHeight() uint64
GetHighestHeight provides a mock function for the type ExecutionDataTracker
func (*ExecutionDataTracker) GetStartHeight ¶
func (_mock *ExecutionDataTracker) GetStartHeight(context1 context.Context, identifier flow.Identifier, v uint64) (uint64, error)
GetStartHeight provides a mock function for the type ExecutionDataTracker
func (*ExecutionDataTracker) GetStartHeightFromBlockID ¶
func (_mock *ExecutionDataTracker) GetStartHeightFromBlockID(identifier flow.Identifier) (uint64, error)
GetStartHeightFromBlockID provides a mock function for the type ExecutionDataTracker
func (*ExecutionDataTracker) GetStartHeightFromHeight ¶
func (_mock *ExecutionDataTracker) GetStartHeightFromHeight(v uint64) (uint64, error)
GetStartHeightFromHeight provides a mock function for the type ExecutionDataTracker
func (*ExecutionDataTracker) GetStartHeightFromLatest ¶
func (_mock *ExecutionDataTracker) GetStartHeightFromLatest(context1 context.Context) (uint64, error)
GetStartHeightFromLatest provides a mock function for the type ExecutionDataTracker
func (*ExecutionDataTracker) OnExecutionData ¶
func (_mock *ExecutionDataTracker) OnExecutionData(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity)
OnExecutionData provides a mock function for the type ExecutionDataTracker
type ExecutionDataTracker_Expecter ¶ added in v0.46.0
type ExecutionDataTracker_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionDataTracker_Expecter) GetHighestHeight ¶ added in v0.46.0
func (_e *ExecutionDataTracker_Expecter) GetHighestHeight() *ExecutionDataTracker_GetHighestHeight_Call
GetHighestHeight is a helper method to define mock.On call
func (*ExecutionDataTracker_Expecter) GetStartHeight ¶ added in v0.46.0
func (_e *ExecutionDataTracker_Expecter) GetStartHeight(context1 interface{}, identifier interface{}, v interface{}) *ExecutionDataTracker_GetStartHeight_Call
GetStartHeight is a helper method to define mock.On call
- context1 context.Context
- identifier flow.Identifier
- v uint64
func (*ExecutionDataTracker_Expecter) GetStartHeightFromBlockID ¶ added in v0.46.0
func (_e *ExecutionDataTracker_Expecter) GetStartHeightFromBlockID(identifier interface{}) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
GetStartHeightFromBlockID is a helper method to define mock.On call
- identifier flow.Identifier
func (*ExecutionDataTracker_Expecter) GetStartHeightFromHeight ¶ added in v0.46.0
func (_e *ExecutionDataTracker_Expecter) GetStartHeightFromHeight(v interface{}) *ExecutionDataTracker_GetStartHeightFromHeight_Call
GetStartHeightFromHeight is a helper method to define mock.On call
- v uint64
func (*ExecutionDataTracker_Expecter) GetStartHeightFromLatest ¶ added in v0.46.0
func (_e *ExecutionDataTracker_Expecter) GetStartHeightFromLatest(context1 interface{}) *ExecutionDataTracker_GetStartHeightFromLatest_Call
GetStartHeightFromLatest is a helper method to define mock.On call
- context1 context.Context
func (*ExecutionDataTracker_Expecter) OnExecutionData ¶ added in v0.46.0
func (_e *ExecutionDataTracker_Expecter) OnExecutionData(blockExecutionDataEntity interface{}) *ExecutionDataTracker_OnExecutionData_Call
OnExecutionData is a helper method to define mock.On call
- blockExecutionDataEntity *execution_data.BlockExecutionDataEntity
type ExecutionDataTracker_GetHighestHeight_Call ¶ added in v0.46.0
ExecutionDataTracker_GetHighestHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHighestHeight'
func (*ExecutionDataTracker_GetHighestHeight_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetHighestHeight_Call) Return(v uint64) *ExecutionDataTracker_GetHighestHeight_Call
func (*ExecutionDataTracker_GetHighestHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetHighestHeight_Call) Run(run func()) *ExecutionDataTracker_GetHighestHeight_Call
func (*ExecutionDataTracker_GetHighestHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetHighestHeight_Call) RunAndReturn(run func() uint64) *ExecutionDataTracker_GetHighestHeight_Call
type ExecutionDataTracker_GetStartHeightFromBlockID_Call ¶ added in v0.46.0
ExecutionDataTracker_GetStartHeightFromBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromBlockID'
func (*ExecutionDataTracker_GetStartHeightFromBlockID_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromBlockID_Call) Return(v uint64, err error) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
func (*ExecutionDataTracker_GetStartHeightFromBlockID_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromBlockID_Call) Run(run func(identifier flow.Identifier)) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
func (*ExecutionDataTracker_GetStartHeightFromBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromBlockID_Call) RunAndReturn(run func(identifier flow.Identifier) (uint64, error)) *ExecutionDataTracker_GetStartHeightFromBlockID_Call
type ExecutionDataTracker_GetStartHeightFromHeight_Call ¶ added in v0.46.0
ExecutionDataTracker_GetStartHeightFromHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromHeight'
func (*ExecutionDataTracker_GetStartHeightFromHeight_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromHeight_Call) Return(v1 uint64, err error) *ExecutionDataTracker_GetStartHeightFromHeight_Call
func (*ExecutionDataTracker_GetStartHeightFromHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromHeight_Call) Run(run func(v uint64)) *ExecutionDataTracker_GetStartHeightFromHeight_Call
func (*ExecutionDataTracker_GetStartHeightFromHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromHeight_Call) RunAndReturn(run func(v uint64) (uint64, error)) *ExecutionDataTracker_GetStartHeightFromHeight_Call
type ExecutionDataTracker_GetStartHeightFromLatest_Call ¶ added in v0.46.0
ExecutionDataTracker_GetStartHeightFromLatest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeightFromLatest'
func (*ExecutionDataTracker_GetStartHeightFromLatest_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromLatest_Call) Return(v uint64, err error) *ExecutionDataTracker_GetStartHeightFromLatest_Call
func (*ExecutionDataTracker_GetStartHeightFromLatest_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromLatest_Call) Run(run func(context1 context.Context)) *ExecutionDataTracker_GetStartHeightFromLatest_Call
func (*ExecutionDataTracker_GetStartHeightFromLatest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeightFromLatest_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *ExecutionDataTracker_GetStartHeightFromLatest_Call
type ExecutionDataTracker_GetStartHeight_Call ¶ added in v0.46.0
ExecutionDataTracker_GetStartHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartHeight'
func (*ExecutionDataTracker_GetStartHeight_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeight_Call) Return(v1 uint64, err error) *ExecutionDataTracker_GetStartHeight_Call
func (*ExecutionDataTracker_GetStartHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeight_Call) Run(run func(context1 context.Context, identifier flow.Identifier, v uint64)) *ExecutionDataTracker_GetStartHeight_Call
func (*ExecutionDataTracker_GetStartHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataTracker_GetStartHeight_Call) RunAndReturn(run func(context1 context.Context, identifier flow.Identifier, v uint64) (uint64, error)) *ExecutionDataTracker_GetStartHeight_Call
type ExecutionDataTracker_OnExecutionData_Call ¶ added in v0.46.0
ExecutionDataTracker_OnExecutionData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnExecutionData'
func (*ExecutionDataTracker_OnExecutionData_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataTracker_OnExecutionData_Call) Return() *ExecutionDataTracker_OnExecutionData_Call
func (*ExecutionDataTracker_OnExecutionData_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataTracker_OnExecutionData_Call) Run(run func(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity)) *ExecutionDataTracker_OnExecutionData_Call
func (*ExecutionDataTracker_OnExecutionData_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataTracker_OnExecutionData_Call) RunAndReturn(run func(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity)) *ExecutionDataTracker_OnExecutionData_Call