Documentation
¶
Index ¶
- type ExecutionDataRequester
- func (_mock *ExecutionDataRequester) Done() <-chan struct{}
- func (_m *ExecutionDataRequester) EXPECT() *ExecutionDataRequester_Expecter
- func (_mock *ExecutionDataRequester) HighestConsecutiveHeight() (uint64, error)
- func (_mock *ExecutionDataRequester) Ready() <-chan struct{}
- func (_mock *ExecutionDataRequester) Start(signalerContext irrecoverable.SignalerContext)
- type ExecutionDataRequester_Done_Call
- func (_c *ExecutionDataRequester_Done_Call) Return(valCh <-chan struct{}) *ExecutionDataRequester_Done_Call
- func (_c *ExecutionDataRequester_Done_Call) Run(run func()) *ExecutionDataRequester_Done_Call
- func (_c *ExecutionDataRequester_Done_Call) RunAndReturn(run func() <-chan struct{}) *ExecutionDataRequester_Done_Call
- type ExecutionDataRequester_Expecter
- func (_e *ExecutionDataRequester_Expecter) Done() *ExecutionDataRequester_Done_Call
- func (_e *ExecutionDataRequester_Expecter) HighestConsecutiveHeight() *ExecutionDataRequester_HighestConsecutiveHeight_Call
- func (_e *ExecutionDataRequester_Expecter) Ready() *ExecutionDataRequester_Ready_Call
- func (_e *ExecutionDataRequester_Expecter) Start(signalerContext interface{}) *ExecutionDataRequester_Start_Call
- type ExecutionDataRequester_HighestConsecutiveHeight_Call
- func (_c *ExecutionDataRequester_HighestConsecutiveHeight_Call) Return(v uint64, err error) *ExecutionDataRequester_HighestConsecutiveHeight_Call
- func (_c *ExecutionDataRequester_HighestConsecutiveHeight_Call) Run(run func()) *ExecutionDataRequester_HighestConsecutiveHeight_Call
- func (_c *ExecutionDataRequester_HighestConsecutiveHeight_Call) RunAndReturn(run func() (uint64, error)) *ExecutionDataRequester_HighestConsecutiveHeight_Call
- type ExecutionDataRequester_Ready_Call
- func (_c *ExecutionDataRequester_Ready_Call) Return(valCh <-chan struct{}) *ExecutionDataRequester_Ready_Call
- func (_c *ExecutionDataRequester_Ready_Call) Run(run func()) *ExecutionDataRequester_Ready_Call
- func (_c *ExecutionDataRequester_Ready_Call) RunAndReturn(run func() <-chan struct{}) *ExecutionDataRequester_Ready_Call
- type ExecutionDataRequester_Start_Call
- func (_c *ExecutionDataRequester_Start_Call) Return() *ExecutionDataRequester_Start_Call
- func (_c *ExecutionDataRequester_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *ExecutionDataRequester_Start_Call
- func (_c *ExecutionDataRequester_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *ExecutionDataRequester_Start_Call
- type IndexReporter
- type IndexReporter_Expecter
- type IndexReporter_HighestIndexedHeight_Call
- func (_c *IndexReporter_HighestIndexedHeight_Call) Return(v uint64, err error) *IndexReporter_HighestIndexedHeight_Call
- func (_c *IndexReporter_HighestIndexedHeight_Call) Run(run func()) *IndexReporter_HighestIndexedHeight_Call
- func (_c *IndexReporter_HighestIndexedHeight_Call) RunAndReturn(run func() (uint64, error)) *IndexReporter_HighestIndexedHeight_Call
- type IndexReporter_LowestIndexedHeight_Call
- func (_c *IndexReporter_LowestIndexedHeight_Call) Return(v uint64, err error) *IndexReporter_LowestIndexedHeight_Call
- func (_c *IndexReporter_LowestIndexedHeight_Call) Run(run func()) *IndexReporter_LowestIndexedHeight_Call
- func (_c *IndexReporter_LowestIndexedHeight_Call) RunAndReturn(run func() (uint64, error)) *IndexReporter_LowestIndexedHeight_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionDataRequester ¶ added in v0.26.2
ExecutionDataRequester is an autogenerated mock type for the ExecutionDataRequester type
func NewExecutionDataRequester ¶ added in v0.26.2
func NewExecutionDataRequester(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionDataRequester
NewExecutionDataRequester creates a new instance of ExecutionDataRequester. 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 (*ExecutionDataRequester) Done ¶ added in v0.26.2
func (_mock *ExecutionDataRequester) Done() <-chan struct{}
Done provides a mock function for the type ExecutionDataRequester
func (*ExecutionDataRequester) EXPECT ¶ added in v0.46.0
func (_m *ExecutionDataRequester) EXPECT() *ExecutionDataRequester_Expecter
func (*ExecutionDataRequester) HighestConsecutiveHeight ¶ added in v0.31.0
func (_mock *ExecutionDataRequester) HighestConsecutiveHeight() (uint64, error)
HighestConsecutiveHeight provides a mock function for the type ExecutionDataRequester
func (*ExecutionDataRequester) Ready ¶ added in v0.26.2
func (_mock *ExecutionDataRequester) Ready() <-chan struct{}
Ready provides a mock function for the type ExecutionDataRequester
func (*ExecutionDataRequester) Start ¶ added in v0.26.2
func (_mock *ExecutionDataRequester) Start(signalerContext irrecoverable.SignalerContext)
Start provides a mock function for the type ExecutionDataRequester
type ExecutionDataRequester_Done_Call ¶ added in v0.46.0
ExecutionDataRequester_Done_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Done'
func (*ExecutionDataRequester_Done_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Done_Call) Return(valCh <-chan struct{}) *ExecutionDataRequester_Done_Call
func (*ExecutionDataRequester_Done_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Done_Call) Run(run func()) *ExecutionDataRequester_Done_Call
func (*ExecutionDataRequester_Done_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Done_Call) RunAndReturn(run func() <-chan struct{}) *ExecutionDataRequester_Done_Call
type ExecutionDataRequester_Expecter ¶ added in v0.46.0
type ExecutionDataRequester_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionDataRequester_Expecter) Done ¶ added in v0.46.0
func (_e *ExecutionDataRequester_Expecter) Done() *ExecutionDataRequester_Done_Call
Done is a helper method to define mock.On call
func (*ExecutionDataRequester_Expecter) HighestConsecutiveHeight ¶ added in v0.46.0
func (_e *ExecutionDataRequester_Expecter) HighestConsecutiveHeight() *ExecutionDataRequester_HighestConsecutiveHeight_Call
HighestConsecutiveHeight is a helper method to define mock.On call
func (*ExecutionDataRequester_Expecter) Ready ¶ added in v0.46.0
func (_e *ExecutionDataRequester_Expecter) Ready() *ExecutionDataRequester_Ready_Call
Ready is a helper method to define mock.On call
func (*ExecutionDataRequester_Expecter) Start ¶ added in v0.46.0
func (_e *ExecutionDataRequester_Expecter) Start(signalerContext interface{}) *ExecutionDataRequester_Start_Call
Start is a helper method to define mock.On call
- signalerContext irrecoverable.SignalerContext
type ExecutionDataRequester_HighestConsecutiveHeight_Call ¶ added in v0.46.0
ExecutionDataRequester_HighestConsecutiveHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HighestConsecutiveHeight'
func (*ExecutionDataRequester_HighestConsecutiveHeight_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataRequester_HighestConsecutiveHeight_Call) Return(v uint64, err error) *ExecutionDataRequester_HighestConsecutiveHeight_Call
func (*ExecutionDataRequester_HighestConsecutiveHeight_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequester_HighestConsecutiveHeight_Call) Run(run func()) *ExecutionDataRequester_HighestConsecutiveHeight_Call
func (*ExecutionDataRequester_HighestConsecutiveHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequester_HighestConsecutiveHeight_Call) RunAndReturn(run func() (uint64, error)) *ExecutionDataRequester_HighestConsecutiveHeight_Call
type ExecutionDataRequester_Ready_Call ¶ added in v0.46.0
ExecutionDataRequester_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*ExecutionDataRequester_Ready_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Ready_Call) Return(valCh <-chan struct{}) *ExecutionDataRequester_Ready_Call
func (*ExecutionDataRequester_Ready_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Ready_Call) Run(run func()) *ExecutionDataRequester_Ready_Call
func (*ExecutionDataRequester_Ready_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Ready_Call) RunAndReturn(run func() <-chan struct{}) *ExecutionDataRequester_Ready_Call
type ExecutionDataRequester_Start_Call ¶ added in v0.46.0
ExecutionDataRequester_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ExecutionDataRequester_Start_Call) Return ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Start_Call) Return() *ExecutionDataRequester_Start_Call
func (*ExecutionDataRequester_Start_Call) Run ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Start_Call) Run(run func(signalerContext irrecoverable.SignalerContext)) *ExecutionDataRequester_Start_Call
func (*ExecutionDataRequester_Start_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionDataRequester_Start_Call) RunAndReturn(run func(signalerContext irrecoverable.SignalerContext)) *ExecutionDataRequester_Start_Call
type IndexReporter ¶ added in v0.32.10
IndexReporter is an autogenerated mock type for the IndexReporter type
func NewIndexReporter ¶ added in v0.32.10
func NewIndexReporter(t interface {
mock.TestingT
Cleanup(func())
}) *IndexReporter
NewIndexReporter creates a new instance of IndexReporter. 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 (*IndexReporter) EXPECT ¶ added in v0.46.0
func (_m *IndexReporter) EXPECT() *IndexReporter_Expecter
func (*IndexReporter) HighestIndexedHeight ¶ added in v0.32.10
func (_mock *IndexReporter) HighestIndexedHeight() (uint64, error)
HighestIndexedHeight provides a mock function for the type IndexReporter
func (*IndexReporter) LowestIndexedHeight ¶ added in v0.32.10
func (_mock *IndexReporter) LowestIndexedHeight() (uint64, error)
LowestIndexedHeight provides a mock function for the type IndexReporter
type IndexReporter_Expecter ¶ added in v0.46.0
type IndexReporter_Expecter struct {
// contains filtered or unexported fields
}
func (*IndexReporter_Expecter) HighestIndexedHeight ¶ added in v0.46.0
func (_e *IndexReporter_Expecter) HighestIndexedHeight() *IndexReporter_HighestIndexedHeight_Call
HighestIndexedHeight is a helper method to define mock.On call
func (*IndexReporter_Expecter) LowestIndexedHeight ¶ added in v0.46.0
func (_e *IndexReporter_Expecter) LowestIndexedHeight() *IndexReporter_LowestIndexedHeight_Call
LowestIndexedHeight is a helper method to define mock.On call
type IndexReporter_HighestIndexedHeight_Call ¶ added in v0.46.0
IndexReporter_HighestIndexedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HighestIndexedHeight'
func (*IndexReporter_HighestIndexedHeight_Call) Return ¶ added in v0.46.0
func (_c *IndexReporter_HighestIndexedHeight_Call) Return(v uint64, err error) *IndexReporter_HighestIndexedHeight_Call
func (*IndexReporter_HighestIndexedHeight_Call) Run ¶ added in v0.46.0
func (_c *IndexReporter_HighestIndexedHeight_Call) Run(run func()) *IndexReporter_HighestIndexedHeight_Call
func (*IndexReporter_HighestIndexedHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IndexReporter_HighestIndexedHeight_Call) RunAndReturn(run func() (uint64, error)) *IndexReporter_HighestIndexedHeight_Call
type IndexReporter_LowestIndexedHeight_Call ¶ added in v0.46.0
IndexReporter_LowestIndexedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LowestIndexedHeight'
func (*IndexReporter_LowestIndexedHeight_Call) Return ¶ added in v0.46.0
func (_c *IndexReporter_LowestIndexedHeight_Call) Return(v uint64, err error) *IndexReporter_LowestIndexedHeight_Call
func (*IndexReporter_LowestIndexedHeight_Call) Run ¶ added in v0.46.0
func (_c *IndexReporter_LowestIndexedHeight_Call) Run(run func()) *IndexReporter_LowestIndexedHeight_Call
func (*IndexReporter_LowestIndexedHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *IndexReporter_LowestIndexedHeight_Call) RunAndReturn(run func() (uint64, error)) *IndexReporter_LowestIndexedHeight_Call