mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: GPL-3.0 Imports: 8 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 MockController

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

MockController is a mock of Controller interface.

func NewMockController

func NewMockController(ctrl *gomock.Controller) *MockController

NewMockController creates a new mock instance.

func (*MockController) EXPECT

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

func (*MockController) Eth1EventHandler

func (m *MockController) Eth1EventHandler(logger *zap.Logger, ongoingSync bool) eth1.SyncEventHandler

Eth1EventHandler mocks base method.

func (*MockController) GetOperatorData added in v0.4.7

func (m *MockController) GetOperatorData() *storage.OperatorData

GetOperatorData mocks base method.

func (*MockController) GetValidator

func (m *MockController) GetValidator(pubKey string) (*validator.Validator, bool)

GetValidator mocks base method.

func (*MockController) GetValidatorStats added in v0.3.2

func (m *MockController) GetValidatorStats(logger *zap.Logger) (uint64, uint64, uint64, error)

GetValidatorStats mocks base method.

func (*MockController) GetValidatorsIndices

func (m *MockController) GetValidatorsIndices(logger *zap.Logger) []phase0.ValidatorIndex

GetValidatorsIndices mocks base method.

func (*MockController) ListenToEth1Events

func (m *MockController) ListenToEth1Events(logger *zap.Logger, feed *event.Feed)

ListenToEth1Events mocks base method.

func (*MockController) StartNetworkHandlers added in v0.3.0

func (m *MockController) StartNetworkHandlers(logger *zap.Logger)

StartNetworkHandlers mocks base method.

func (*MockController) StartValidators

func (m *MockController) StartValidators(logger *zap.Logger)

StartValidators mocks base method.

func (*MockController) UpdateValidatorMetaDataLoop

func (m *MockController) UpdateValidatorMetaDataLoop(logger *zap.Logger)

UpdateValidatorMetaDataLoop mocks base method.

type MockControllerMockRecorder

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

MockControllerMockRecorder is the mock recorder for MockController.

func (*MockControllerMockRecorder) Eth1EventHandler

func (mr *MockControllerMockRecorder) Eth1EventHandler(logger, ongoingSync interface{}) *gomock.Call

Eth1EventHandler indicates an expected call of Eth1EventHandler.

func (*MockControllerMockRecorder) GetOperatorData added in v0.4.7

func (mr *MockControllerMockRecorder) GetOperatorData() *gomock.Call

GetOperatorData indicates an expected call of GetOperatorData.

func (*MockControllerMockRecorder) GetValidator

func (mr *MockControllerMockRecorder) GetValidator(pubKey interface{}) *gomock.Call

GetValidator indicates an expected call of GetValidator.

func (*MockControllerMockRecorder) GetValidatorStats added in v0.3.2

func (mr *MockControllerMockRecorder) GetValidatorStats(logger interface{}) *gomock.Call

GetValidatorStats indicates an expected call of GetValidatorStats.

func (*MockControllerMockRecorder) GetValidatorsIndices

func (mr *MockControllerMockRecorder) GetValidatorsIndices(logger interface{}) *gomock.Call

GetValidatorsIndices indicates an expected call of GetValidatorsIndices.

func (*MockControllerMockRecorder) ListenToEth1Events

func (mr *MockControllerMockRecorder) ListenToEth1Events(logger, feed interface{}) *gomock.Call

ListenToEth1Events indicates an expected call of ListenToEth1Events.

func (*MockControllerMockRecorder) StartNetworkHandlers added in v0.3.0

func (mr *MockControllerMockRecorder) StartNetworkHandlers(logger interface{}) *gomock.Call

StartNetworkHandlers indicates an expected call of StartNetworkHandlers.

func (*MockControllerMockRecorder) StartValidators

func (mr *MockControllerMockRecorder) StartValidators(logger interface{}) *gomock.Call

StartValidators indicates an expected call of StartValidators.

func (*MockControllerMockRecorder) UpdateValidatorMetaDataLoop

func (mr *MockControllerMockRecorder) UpdateValidatorMetaDataLoop(logger interface{}) *gomock.Call

UpdateValidatorMetaDataLoop indicates an expected call of UpdateValidatorMetaDataLoop.

Jump to

Keyboard shortcuts

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