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

mock

package
v0.47.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: AGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionDataRequester added in v0.26.2

type ExecutionDataRequester struct {
	mock.Mock
}

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

type ExecutionDataRequester_Done_Call struct {
	*mock.Call
}

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

Done is a helper method to define mock.On call

func (*ExecutionDataRequester_Expecter) HighestConsecutiveHeight added in v0.46.0

HighestConsecutiveHeight is a helper method to define mock.On call

func (*ExecutionDataRequester_Expecter) Ready added in v0.46.0

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

type ExecutionDataRequester_HighestConsecutiveHeight_Call struct {
	*mock.Call
}

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 (*ExecutionDataRequester_HighestConsecutiveHeight_Call) Run added in v0.46.0

func (*ExecutionDataRequester_HighestConsecutiveHeight_Call) RunAndReturn added in v0.46.0

type ExecutionDataRequester_Ready_Call added in v0.46.0

type ExecutionDataRequester_Ready_Call struct {
	*mock.Call
}

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

type ExecutionDataRequester_Start_Call struct {
	*mock.Call
}

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 (*ExecutionDataRequester_Start_Call) Run added in v0.46.0

func (*ExecutionDataRequester_Start_Call) RunAndReturn added in v0.46.0

type IndexReporter added in v0.32.10

type IndexReporter struct {
	mock.Mock
}

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

HighestIndexedHeight is a helper method to define mock.On call

func (*IndexReporter_Expecter) LowestIndexedHeight added in v0.46.0

LowestIndexedHeight is a helper method to define mock.On call

type IndexReporter_HighestIndexedHeight_Call added in v0.46.0

type IndexReporter_HighestIndexedHeight_Call struct {
	*mock.Call
}

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 (*IndexReporter_HighestIndexedHeight_Call) Run added in v0.46.0

func (*IndexReporter_HighestIndexedHeight_Call) RunAndReturn added in v0.46.0

type IndexReporter_LowestIndexedHeight_Call added in v0.46.0

type IndexReporter_LowestIndexedHeight_Call struct {
	*mock.Call
}

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 (*IndexReporter_LowestIndexedHeight_Call) Run added in v0.46.0

func (*IndexReporter_LowestIndexedHeight_Call) RunAndReturn added in v0.46.0

Jump to

Keyboard shortcuts

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