Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockController
- func (m *MockController) EXPECT() *MockControllerMockRecorder
- func (m *MockController) Eth1EventHandler(handlers ...validator.ShareEventHandlerFunc) eth1.SyncEventHandler
- func (m *MockController) GetAllValidatorShares() ([]*message.Share, error)
- func (m *MockController) GetValidator(pubKey string) (validator0.IValidator, bool)
- func (m *MockController) GetValidatorsIndices() []phase0.ValidatorIndex
- func (m *MockController) ListenToEth1Events(feed *event.Feed)
- func (m *MockController) StartNetworkMediators()
- func (m *MockController) StartValidators()
- func (m *MockController) UpdateValidatorMetaDataLoop()
- type MockControllerMockRecorder
- func (mr *MockControllerMockRecorder) Eth1EventHandler(handlers ...interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetAllValidatorShares() *gomock.Call
- func (mr *MockControllerMockRecorder) GetValidator(pubKey interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetValidatorsIndices() *gomock.Call
- func (mr *MockControllerMockRecorder) ListenToEth1Events(feed interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) StartNetworkMediators() *gomock.Call
- func (mr *MockControllerMockRecorder) StartValidators() *gomock.Call
- func (mr *MockControllerMockRecorder) UpdateValidatorMetaDataLoop() *gomock.Call
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 ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockController) Eth1EventHandler ¶
func (m *MockController) Eth1EventHandler(handlers ...validator.ShareEventHandlerFunc) eth1.SyncEventHandler
Eth1EventHandler mocks base method
func (*MockController) GetAllValidatorShares ¶
func (m *MockController) GetAllValidatorShares() ([]*message.Share, error)
GetAllValidatorShares mocks base method
func (*MockController) GetValidator ¶
func (m *MockController) GetValidator(pubKey string) (validator0.IValidator, bool)
GetValidator mocks base method
func (*MockController) GetValidatorsIndices ¶
func (m *MockController) GetValidatorsIndices() []phase0.ValidatorIndex
GetValidatorsIndices mocks base method
func (*MockController) ListenToEth1Events ¶
func (m *MockController) ListenToEth1Events(feed *event.Feed)
ListenToEth1Events mocks base method
func (*MockController) StartNetworkMediators ¶
func (m *MockController) StartNetworkMediators()
StartNetworkMediators mocks base method
func (*MockController) StartValidators ¶
func (m *MockController) StartValidators()
StartValidators mocks base method
func (*MockController) UpdateValidatorMetaDataLoop ¶
func (m *MockController) UpdateValidatorMetaDataLoop()
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(handlers ...interface{}) *gomock.Call
Eth1EventHandler indicates an expected call of Eth1EventHandler
func (*MockControllerMockRecorder) GetAllValidatorShares ¶
func (mr *MockControllerMockRecorder) GetAllValidatorShares() *gomock.Call
GetAllValidatorShares indicates an expected call of GetAllValidatorShares
func (*MockControllerMockRecorder) GetValidator ¶
func (mr *MockControllerMockRecorder) GetValidator(pubKey interface{}) *gomock.Call
GetValidator indicates an expected call of GetValidator
func (*MockControllerMockRecorder) GetValidatorsIndices ¶
func (mr *MockControllerMockRecorder) GetValidatorsIndices() *gomock.Call
GetValidatorsIndices indicates an expected call of GetValidatorsIndices
func (*MockControllerMockRecorder) ListenToEth1Events ¶
func (mr *MockControllerMockRecorder) ListenToEth1Events(feed interface{}) *gomock.Call
ListenToEth1Events indicates an expected call of ListenToEth1Events
func (*MockControllerMockRecorder) StartNetworkMediators ¶
func (mr *MockControllerMockRecorder) StartNetworkMediators() *gomock.Call
StartNetworkMediators indicates an expected call of StartNetworkMediators
func (*MockControllerMockRecorder) StartValidators ¶
func (mr *MockControllerMockRecorder) StartValidators() *gomock.Call
StartValidators indicates an expected call of StartValidators
func (*MockControllerMockRecorder) UpdateValidatorMetaDataLoop ¶
func (mr *MockControllerMockRecorder) UpdateValidatorMetaDataLoop() *gomock.Call
UpdateValidatorMetaDataLoop indicates an expected call of UpdateValidatorMetaDataLoop