mocks

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: GPL-3.0 Imports: 6 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 MockBeaconNetwork

type MockBeaconNetwork struct {
	// contains filtered or unexported fields
}

MockBeaconNetwork is a mock of BeaconNetwork interface.

func NewMockBeaconNetwork

func NewMockBeaconNetwork(ctrl *gomock.Controller) *MockBeaconNetwork

NewMockBeaconNetwork creates a new mock instance.

func (*MockBeaconNetwork) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBeaconNetwork) EpochStartTime

func (m *MockBeaconNetwork) EpochStartTime(epoch phase0.Epoch) time.Time

EpochStartTime mocks base method.

func (*MockBeaconNetwork) EpochsPerSyncCommitteePeriod

func (m *MockBeaconNetwork) EpochsPerSyncCommitteePeriod() uint64

EpochsPerSyncCommitteePeriod mocks base method.

func (*MockBeaconNetwork) EstimatedCurrentEpoch

func (m *MockBeaconNetwork) EstimatedCurrentEpoch() phase0.Epoch

EstimatedCurrentEpoch mocks base method.

func (*MockBeaconNetwork) EstimatedCurrentSlot

func (m *MockBeaconNetwork) EstimatedCurrentSlot() phase0.Slot

EstimatedCurrentSlot mocks base method.

func (*MockBeaconNetwork) EstimatedEpochAtSlot

func (m *MockBeaconNetwork) EstimatedEpochAtSlot(slot phase0.Slot) phase0.Epoch

EstimatedEpochAtSlot mocks base method.

func (*MockBeaconNetwork) EstimatedSlotAtTime

func (m *MockBeaconNetwork) EstimatedSlotAtTime(time int64) phase0.Slot

EstimatedSlotAtTime mocks base method.

func (*MockBeaconNetwork) EstimatedSyncCommitteePeriodAtEpoch

func (m *MockBeaconNetwork) EstimatedSyncCommitteePeriodAtEpoch(epoch phase0.Epoch) uint64

EstimatedSyncCommitteePeriodAtEpoch mocks base method.

func (*MockBeaconNetwork) EstimatedTimeAtSlot

func (m *MockBeaconNetwork) EstimatedTimeAtSlot(slot phase0.Slot) int64

EstimatedTimeAtSlot mocks base method.

func (*MockBeaconNetwork) FirstEpochOfSyncPeriod

func (m *MockBeaconNetwork) FirstEpochOfSyncPeriod(period uint64) phase0.Epoch

FirstEpochOfSyncPeriod mocks base method.

func (*MockBeaconNetwork) FirstSlotAtEpoch

func (m *MockBeaconNetwork) FirstSlotAtEpoch(epoch phase0.Epoch) phase0.Slot

FirstSlotAtEpoch mocks base method.

func (*MockBeaconNetwork) ForkVersion

func (m *MockBeaconNetwork) ForkVersion() [4]byte

ForkVersion mocks base method.

func (*MockBeaconNetwork) GetBeaconNetwork

func (m *MockBeaconNetwork) GetBeaconNetwork() types.BeaconNetwork

GetBeaconNetwork mocks base method.

func (*MockBeaconNetwork) GetEpochFirstSlot

func (m *MockBeaconNetwork) GetEpochFirstSlot(epoch phase0.Epoch) phase0.Slot

GetEpochFirstSlot mocks base method.

func (*MockBeaconNetwork) GetNetwork

func (m *MockBeaconNetwork) GetNetwork() beacon.Network

GetNetwork mocks base method.

func (*MockBeaconNetwork) GetSlotEndTime

func (m *MockBeaconNetwork) GetSlotEndTime(slot phase0.Slot) time.Time

GetSlotEndTime mocks base method.

func (*MockBeaconNetwork) GetSlotStartTime

func (m *MockBeaconNetwork) GetSlotStartTime(slot phase0.Slot) time.Time

GetSlotStartTime mocks base method.

func (*MockBeaconNetwork) IsFirstSlotOfEpoch

func (m *MockBeaconNetwork) IsFirstSlotOfEpoch(slot phase0.Slot) bool

IsFirstSlotOfEpoch mocks base method.

func (*MockBeaconNetwork) LastSlotOfSyncPeriod

func (m *MockBeaconNetwork) LastSlotOfSyncPeriod(period uint64) phase0.Slot

LastSlotOfSyncPeriod mocks base method.

func (*MockBeaconNetwork) MinGenesisTime

func (m *MockBeaconNetwork) MinGenesisTime() uint64

MinGenesisTime mocks base method.

func (*MockBeaconNetwork) SlotDurationSec

func (m *MockBeaconNetwork) SlotDurationSec() time.Duration

SlotDurationSec mocks base method.

func (*MockBeaconNetwork) SlotsPerEpoch

func (m *MockBeaconNetwork) SlotsPerEpoch() uint64

SlotsPerEpoch mocks base method.

type MockBeaconNetworkMockRecorder

type MockBeaconNetworkMockRecorder struct {
	// contains filtered or unexported fields
}

MockBeaconNetworkMockRecorder is the mock recorder for MockBeaconNetwork.

func (*MockBeaconNetworkMockRecorder) EpochStartTime

func (mr *MockBeaconNetworkMockRecorder) EpochStartTime(epoch interface{}) *gomock.Call

EpochStartTime indicates an expected call of EpochStartTime.

func (*MockBeaconNetworkMockRecorder) EpochsPerSyncCommitteePeriod

func (mr *MockBeaconNetworkMockRecorder) EpochsPerSyncCommitteePeriod() *gomock.Call

EpochsPerSyncCommitteePeriod indicates an expected call of EpochsPerSyncCommitteePeriod.

func (*MockBeaconNetworkMockRecorder) EstimatedCurrentEpoch

func (mr *MockBeaconNetworkMockRecorder) EstimatedCurrentEpoch() *gomock.Call

EstimatedCurrentEpoch indicates an expected call of EstimatedCurrentEpoch.

func (*MockBeaconNetworkMockRecorder) EstimatedCurrentSlot

func (mr *MockBeaconNetworkMockRecorder) EstimatedCurrentSlot() *gomock.Call

EstimatedCurrentSlot indicates an expected call of EstimatedCurrentSlot.

func (*MockBeaconNetworkMockRecorder) EstimatedEpochAtSlot

func (mr *MockBeaconNetworkMockRecorder) EstimatedEpochAtSlot(slot interface{}) *gomock.Call

EstimatedEpochAtSlot indicates an expected call of EstimatedEpochAtSlot.

func (*MockBeaconNetworkMockRecorder) EstimatedSlotAtTime

func (mr *MockBeaconNetworkMockRecorder) EstimatedSlotAtTime(time interface{}) *gomock.Call

EstimatedSlotAtTime indicates an expected call of EstimatedSlotAtTime.

func (*MockBeaconNetworkMockRecorder) EstimatedSyncCommitteePeriodAtEpoch

func (mr *MockBeaconNetworkMockRecorder) EstimatedSyncCommitteePeriodAtEpoch(epoch interface{}) *gomock.Call

EstimatedSyncCommitteePeriodAtEpoch indicates an expected call of EstimatedSyncCommitteePeriodAtEpoch.

func (*MockBeaconNetworkMockRecorder) EstimatedTimeAtSlot

func (mr *MockBeaconNetworkMockRecorder) EstimatedTimeAtSlot(slot interface{}) *gomock.Call

EstimatedTimeAtSlot indicates an expected call of EstimatedTimeAtSlot.

func (*MockBeaconNetworkMockRecorder) FirstEpochOfSyncPeriod

func (mr *MockBeaconNetworkMockRecorder) FirstEpochOfSyncPeriod(period interface{}) *gomock.Call

FirstEpochOfSyncPeriod indicates an expected call of FirstEpochOfSyncPeriod.

func (*MockBeaconNetworkMockRecorder) FirstSlotAtEpoch

func (mr *MockBeaconNetworkMockRecorder) FirstSlotAtEpoch(epoch interface{}) *gomock.Call

FirstSlotAtEpoch indicates an expected call of FirstSlotAtEpoch.

func (*MockBeaconNetworkMockRecorder) ForkVersion

func (mr *MockBeaconNetworkMockRecorder) ForkVersion() *gomock.Call

ForkVersion indicates an expected call of ForkVersion.

func (*MockBeaconNetworkMockRecorder) GetBeaconNetwork

func (mr *MockBeaconNetworkMockRecorder) GetBeaconNetwork() *gomock.Call

GetBeaconNetwork indicates an expected call of GetBeaconNetwork.

func (*MockBeaconNetworkMockRecorder) GetEpochFirstSlot

func (mr *MockBeaconNetworkMockRecorder) GetEpochFirstSlot(epoch interface{}) *gomock.Call

GetEpochFirstSlot indicates an expected call of GetEpochFirstSlot.

func (*MockBeaconNetworkMockRecorder) GetNetwork

func (mr *MockBeaconNetworkMockRecorder) GetNetwork() *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockBeaconNetworkMockRecorder) GetSlotEndTime

func (mr *MockBeaconNetworkMockRecorder) GetSlotEndTime(slot interface{}) *gomock.Call

GetSlotEndTime indicates an expected call of GetSlotEndTime.

func (*MockBeaconNetworkMockRecorder) GetSlotStartTime

func (mr *MockBeaconNetworkMockRecorder) GetSlotStartTime(slot interface{}) *gomock.Call

GetSlotStartTime indicates an expected call of GetSlotStartTime.

func (*MockBeaconNetworkMockRecorder) IsFirstSlotOfEpoch

func (mr *MockBeaconNetworkMockRecorder) IsFirstSlotOfEpoch(slot interface{}) *gomock.Call

IsFirstSlotOfEpoch indicates an expected call of IsFirstSlotOfEpoch.

func (*MockBeaconNetworkMockRecorder) LastSlotOfSyncPeriod

func (mr *MockBeaconNetworkMockRecorder) LastSlotOfSyncPeriod(period interface{}) *gomock.Call

LastSlotOfSyncPeriod indicates an expected call of LastSlotOfSyncPeriod.

func (*MockBeaconNetworkMockRecorder) MinGenesisTime

func (mr *MockBeaconNetworkMockRecorder) MinGenesisTime() *gomock.Call

MinGenesisTime indicates an expected call of MinGenesisTime.

func (*MockBeaconNetworkMockRecorder) SlotDurationSec

func (mr *MockBeaconNetworkMockRecorder) SlotDurationSec() *gomock.Call

SlotDurationSec indicates an expected call of SlotDurationSec.

func (*MockBeaconNetworkMockRecorder) SlotsPerEpoch

func (mr *MockBeaconNetworkMockRecorder) SlotsPerEpoch() *gomock.Call

SlotsPerEpoch indicates an expected call of SlotsPerEpoch.

Jump to

Keyboard shortcuts

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