Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBeaconNode
- func (m *MockBeaconNode) EXPECT() *MockBeaconNodeMockRecorder
- func (m *MockBeaconNode) Endpoint() string
- func (m *MockBeaconNode) Genesis() (structs.GenesisInfo, error)
- func (m *MockBeaconNode) GetForkSchedule() (*client.GetForkScheduleResponse, error)
- func (m *MockBeaconNode) GetProposerDuties(arg0 structs.Epoch) (*client.RegisteredProposersResponse, error)
- func (m *MockBeaconNode) GetWithdrawals(arg0 structs.Slot) (*client.GetWithdrawalsResponse, error)
- func (m *MockBeaconNode) KnownValidators(arg0 structs.Slot) (client.AllValidatorsResponse, error)
- func (m *MockBeaconNode) PublishBlock(arg0 context.Context, arg1 structs.SignedBeaconBlock) error
- func (m *MockBeaconNode) Randao(arg0 structs.Slot) (string, error)
- func (m *MockBeaconNode) SubscribeToHeadEvents(arg0 context.Context, arg1 chan client.HeadEvent)
- func (m *MockBeaconNode) SubscribeToPayloadAttributesEvents(arg0 chan client.PayloadAttributesEvent)
- func (m *MockBeaconNode) SyncStatus() (*client.SyncStatusPayloadData, error)
- type MockBeaconNodeMockRecorder
- func (mr *MockBeaconNodeMockRecorder) Endpoint() *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) Genesis() *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) GetForkSchedule() *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) GetProposerDuties(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) GetWithdrawals(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) KnownValidators(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) PublishBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) Randao(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) SubscribeToHeadEvents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) SubscribeToPayloadAttributesEvents(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconNodeMockRecorder) SyncStatus() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBeaconNode ¶
type MockBeaconNode struct {
// contains filtered or unexported fields
}
MockBeaconNode is a mock of BeaconNode interface.
func NewMockBeaconNode ¶
func NewMockBeaconNode(ctrl *gomock.Controller) *MockBeaconNode
NewMockBeaconNode creates a new mock instance.
func (*MockBeaconNode) EXPECT ¶
func (m *MockBeaconNode) EXPECT() *MockBeaconNodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBeaconNode) Endpoint ¶
func (m *MockBeaconNode) Endpoint() string
Endpoint mocks base method.
func (*MockBeaconNode) Genesis ¶
func (m *MockBeaconNode) Genesis() (structs.GenesisInfo, error)
Genesis mocks base method.
func (*MockBeaconNode) GetForkSchedule ¶
func (m *MockBeaconNode) GetForkSchedule() (*client.GetForkScheduleResponse, error)
GetForkSchedule mocks base method.
func (*MockBeaconNode) GetProposerDuties ¶
func (m *MockBeaconNode) GetProposerDuties(arg0 structs.Epoch) (*client.RegisteredProposersResponse, error)
GetProposerDuties mocks base method.
func (*MockBeaconNode) GetWithdrawals ¶
func (m *MockBeaconNode) GetWithdrawals(arg0 structs.Slot) (*client.GetWithdrawalsResponse, error)
GetWithdrawals mocks base method.
func (*MockBeaconNode) KnownValidators ¶
func (m *MockBeaconNode) KnownValidators(arg0 structs.Slot) (client.AllValidatorsResponse, error)
KnownValidators mocks base method.
func (*MockBeaconNode) PublishBlock ¶
func (m *MockBeaconNode) PublishBlock(arg0 context.Context, arg1 structs.SignedBeaconBlock) error
PublishBlock mocks base method.
func (*MockBeaconNode) Randao ¶
func (m *MockBeaconNode) Randao(arg0 structs.Slot) (string, error)
Randao mocks base method.
func (*MockBeaconNode) SubscribeToHeadEvents ¶
func (m *MockBeaconNode) SubscribeToHeadEvents(arg0 context.Context, arg1 chan client.HeadEvent)
SubscribeToHeadEvents mocks base method.
func (*MockBeaconNode) SubscribeToPayloadAttributesEvents ¶ added in v0.4.14
func (m *MockBeaconNode) SubscribeToPayloadAttributesEvents(arg0 chan client.PayloadAttributesEvent)
SubscribeToPayloadAttributesEvents mocks base method.
func (*MockBeaconNode) SyncStatus ¶
func (m *MockBeaconNode) SyncStatus() (*client.SyncStatusPayloadData, error)
SyncStatus mocks base method.
type MockBeaconNodeMockRecorder ¶
type MockBeaconNodeMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconNodeMockRecorder is the mock recorder for MockBeaconNode.
func (*MockBeaconNodeMockRecorder) Endpoint ¶
func (mr *MockBeaconNodeMockRecorder) Endpoint() *gomock.Call
Endpoint indicates an expected call of Endpoint.
func (*MockBeaconNodeMockRecorder) Genesis ¶
func (mr *MockBeaconNodeMockRecorder) Genesis() *gomock.Call
Genesis indicates an expected call of Genesis.
func (*MockBeaconNodeMockRecorder) GetForkSchedule ¶
func (mr *MockBeaconNodeMockRecorder) GetForkSchedule() *gomock.Call
GetForkSchedule indicates an expected call of GetForkSchedule.
func (*MockBeaconNodeMockRecorder) GetProposerDuties ¶
func (mr *MockBeaconNodeMockRecorder) GetProposerDuties(arg0 interface{}) *gomock.Call
GetProposerDuties indicates an expected call of GetProposerDuties.
func (*MockBeaconNodeMockRecorder) GetWithdrawals ¶
func (mr *MockBeaconNodeMockRecorder) GetWithdrawals(arg0 interface{}) *gomock.Call
GetWithdrawals indicates an expected call of GetWithdrawals.
func (*MockBeaconNodeMockRecorder) KnownValidators ¶
func (mr *MockBeaconNodeMockRecorder) KnownValidators(arg0 interface{}) *gomock.Call
KnownValidators indicates an expected call of KnownValidators.
func (*MockBeaconNodeMockRecorder) PublishBlock ¶
func (mr *MockBeaconNodeMockRecorder) PublishBlock(arg0, arg1 interface{}) *gomock.Call
PublishBlock indicates an expected call of PublishBlock.
func (*MockBeaconNodeMockRecorder) Randao ¶
func (mr *MockBeaconNodeMockRecorder) Randao(arg0 interface{}) *gomock.Call
Randao indicates an expected call of Randao.
func (*MockBeaconNodeMockRecorder) SubscribeToHeadEvents ¶
func (mr *MockBeaconNodeMockRecorder) SubscribeToHeadEvents(arg0, arg1 interface{}) *gomock.Call
SubscribeToHeadEvents indicates an expected call of SubscribeToHeadEvents.
func (*MockBeaconNodeMockRecorder) SubscribeToPayloadAttributesEvents ¶ added in v0.4.14
func (mr *MockBeaconNodeMockRecorder) SubscribeToPayloadAttributesEvents(arg0 interface{}) *gomock.Call
SubscribeToPayloadAttributesEvents indicates an expected call of SubscribeToPayloadAttributesEvents.
func (*MockBeaconNodeMockRecorder) SyncStatus ¶
func (mr *MockBeaconNodeMockRecorder) SyncStatus() *gomock.Call
SyncStatus indicates an expected call of SyncStatus.