mocks

package
v0.4.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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 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) 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 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) SyncStatus

func (mr *MockBeaconNodeMockRecorder) SyncStatus() *gomock.Call

SyncStatus indicates an expected call of SyncStatus.

Jump to

Keyboard shortcuts

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