Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRegistrationManager
- func (m *MockRegistrationManager) Check(arg0 *types.RegisterValidatorRequestMessage) bool
- func (m *MockRegistrationManager) EXPECT() *MockRegistrationManagerMockRecorder
- func (m *MockRegistrationManager) GetRegistration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
- func (m *MockRegistrationManager) SendStore(arg0 validators.StoreReq)
- type MockRegistrationManagerMockRecorder
- type MockState
- type MockStateMockRecorder
- type MockVerifier
- type MockVerifierMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRegistrationManager ¶
type MockRegistrationManager struct {
// contains filtered or unexported fields
}
MockRegistrationManager is a mock of RegistrationManager interface.
func NewMockRegistrationManager ¶
func NewMockRegistrationManager(ctrl *gomock.Controller) *MockRegistrationManager
NewMockRegistrationManager creates a new mock instance.
func (*MockRegistrationManager) Check ¶
func (m *MockRegistrationManager) Check(arg0 *types.RegisterValidatorRequestMessage) bool
Check mocks base method.
func (*MockRegistrationManager) EXPECT ¶
func (m *MockRegistrationManager) EXPECT() *MockRegistrationManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistrationManager) GetRegistration ¶
func (m *MockRegistrationManager) GetRegistration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
GetRegistration mocks base method.
func (*MockRegistrationManager) SendStore ¶
func (m *MockRegistrationManager) SendStore(arg0 validators.StoreReq)
SendStore mocks base method.
type MockRegistrationManagerMockRecorder ¶
type MockRegistrationManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistrationManagerMockRecorder is the mock recorder for MockRegistrationManager.
func (*MockRegistrationManagerMockRecorder) Check ¶
func (mr *MockRegistrationManagerMockRecorder) Check(arg0 interface{}) *gomock.Call
Check indicates an expected call of Check.
func (*MockRegistrationManagerMockRecorder) GetRegistration ¶
func (mr *MockRegistrationManagerMockRecorder) GetRegistration(arg0, arg1 interface{}) *gomock.Call
GetRegistration indicates an expected call of GetRegistration.
func (*MockRegistrationManagerMockRecorder) SendStore ¶
func (mr *MockRegistrationManagerMockRecorder) SendStore(arg0 interface{}) *gomock.Call
SendStore indicates an expected call of SendStore.
type MockState ¶
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface.
func NewMockState ¶
func NewMockState(ctrl *gomock.Controller) *MockState
NewMockState creates a new mock instance.
func (*MockState) Duties ¶
func (m *MockState) Duties() structs.DutiesState
Duties mocks base method.
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockState) KnownValidators ¶
func (m *MockState) KnownValidators() structs.ValidatorsState
KnownValidators mocks base method.
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState.
func (*MockStateMockRecorder) Duties ¶
func (mr *MockStateMockRecorder) Duties() *gomock.Call
Duties indicates an expected call of Duties.
func (*MockStateMockRecorder) KnownValidators ¶
func (mr *MockStateMockRecorder) KnownValidators() *gomock.Call
KnownValidators indicates an expected call of KnownValidators.
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface.
func NewMockVerifier ¶
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance.
func (*MockVerifier) EXPECT ¶
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVerifier) GetVerifyChan ¶
func (m *MockVerifier) GetVerifyChan(arg0 uint) chan verify.Request
GetVerifyChan mocks base method.
type MockVerifierMockRecorder ¶
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (*MockVerifierMockRecorder) GetVerifyChan ¶
func (mr *MockVerifierMockRecorder) GetVerifyChan(arg0 interface{}) *gomock.Call
GetVerifyChan indicates an expected call of GetVerifyChan.