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 ¶
func (m *MockBeaconNetwork) EXPECT() *MockBeaconNetworkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBeaconNetwork) GetSlotStartTime ¶
func (m *MockBeaconNetwork) GetSlotStartTime(slot phase0.Slot) time.Time
GetSlotStartTime mocks base method.
func (*MockBeaconNetwork) SlotDurationSec ¶
func (m *MockBeaconNetwork) SlotDurationSec() time.Duration
SlotDurationSec mocks base method.
type MockBeaconNetworkMockRecorder ¶
type MockBeaconNetworkMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconNetworkMockRecorder is the mock recorder for MockBeaconNetwork.
func (*MockBeaconNetworkMockRecorder) GetSlotStartTime ¶
func (mr *MockBeaconNetworkMockRecorder) GetSlotStartTime(slot interface{}) *gomock.Call
GetSlotStartTime indicates an expected call of GetSlotStartTime.
func (*MockBeaconNetworkMockRecorder) SlotDurationSec ¶
func (mr *MockBeaconNetworkMockRecorder) SlotDurationSec() *gomock.Call
SlotDurationSec indicates an expected call of SlotDurationSec.
type MockTimer ¶
type MockTimer struct {
// contains filtered or unexported fields
}
MockTimer is a mock of Timer interface.
func NewMockTimer ¶
func NewMockTimer(ctrl *gomock.Controller) *MockTimer
NewMockTimer creates a new mock instance.
func (*MockTimer) EXPECT ¶
func (m *MockTimer) EXPECT() *MockTimerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTimerMockRecorder ¶
type MockTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerMockRecorder is the mock recorder for MockTimer.
func (*MockTimerMockRecorder) TimeoutForRound ¶
func (mr *MockTimerMockRecorder) TimeoutForRound(height, round interface{}) *gomock.Call
TimeoutForRound indicates an expected call of TimeoutForRound.