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 ¶ added in v0.3.19
type MockRegistrationManager struct {
// contains filtered or unexported fields
}
MockRegistrationManager is a mock of RegistrationManager interface.
func NewMockRegistrationManager ¶ added in v0.3.19
func NewMockRegistrationManager(ctrl *gomock.Controller) *MockRegistrationManager
NewMockRegistrationManager creates a new mock instance.
func (*MockRegistrationManager) Check ¶ added in v0.3.19
func (m *MockRegistrationManager) Check(arg0 *types.RegisterValidatorRequestMessage) bool
Check mocks base method.
func (*MockRegistrationManager) EXPECT ¶ added in v0.3.19
func (m *MockRegistrationManager) EXPECT() *MockRegistrationManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistrationManager) GetRegistration ¶ added in v0.3.19
func (m *MockRegistrationManager) GetRegistration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
GetRegistration mocks base method.
func (*MockRegistrationManager) SendStore ¶ added in v0.3.19
func (m *MockRegistrationManager) SendStore(arg0 validators.StoreReq)
SendStore mocks base method.
type MockRegistrationManagerMockRecorder ¶ added in v0.3.19
type MockRegistrationManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistrationManagerMockRecorder is the mock recorder for MockRegistrationManager.
func (*MockRegistrationManagerMockRecorder) Check ¶ added in v0.3.19
func (mr *MockRegistrationManagerMockRecorder) Check(arg0 interface{}) *gomock.Call
Check indicates an expected call of Check.
func (*MockRegistrationManagerMockRecorder) GetRegistration ¶ added in v0.3.19
func (mr *MockRegistrationManagerMockRecorder) GetRegistration(arg0, arg1 interface{}) *gomock.Call
GetRegistration indicates an expected call of GetRegistration.
func (*MockRegistrationManagerMockRecorder) SendStore ¶ added in v0.3.19
func (mr *MockRegistrationManagerMockRecorder) SendStore(arg0 interface{}) *gomock.Call
SendStore indicates an expected call of SendStore.
type MockState ¶ added in v0.3.19
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface.
func NewMockState ¶ added in v0.3.19
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 ¶ added in v0.3.19
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 ¶ added in v0.3.19
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 ¶ added in v0.3.19
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface.
func NewMockVerifier ¶ added in v0.3.19
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance.
func (*MockVerifier) EXPECT ¶ added in v0.3.19
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVerifier) GetVerifyChan ¶ added in v0.3.19
func (m *MockVerifier) GetVerifyChan(arg0 uint) chan verify.Request
GetVerifyChan mocks base method.
type MockVerifierMockRecorder ¶ added in v0.3.19
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (*MockVerifierMockRecorder) GetVerifyChan ¶ added in v0.3.19
func (mr *MockVerifierMockRecorder) GetVerifyChan(arg0 interface{}) *gomock.Call
GetVerifyChan indicates an expected call of GetVerifyChan.