Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRegistrations
- func (m *MockRegistrations) EXPECT() *MockRegistrationsMockRecorder
- func (m *MockRegistrations) GetValidators(arg0 *structs.MetricGroup) structs.BuilderGetValidatorsResponseEntrySlice
- func (m *MockRegistrations) RegisterValidator(arg0 context.Context, arg1 *structs.MetricGroup, ...) error
- func (m *MockRegistrations) Registration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
- type MockRegistrationsMockRecorder
- type MockRelay
- func (m *MockRelay) EXPECT() *MockRelayMockRecorder
- func (m *MockRelay) GetBlockReceived(arg0 context.Context, arg1 structs.SubmissionTraceQuery) ([]structs.BidTraceWithTimestamp, error)
- func (m *MockRelay) GetHeader(arg0 context.Context, arg1 *structs.MetricGroup, arg2 structs.HeaderRequest) (structs.GetHeaderResponse, error)
- func (m *MockRelay) GetPayload(arg0 context.Context, arg1 *structs.MetricGroup, ...) (structs.GetPayloadResponse, error)
- func (m *MockRelay) GetPayloadDelivered(arg0 context.Context, arg1 structs.PayloadTraceQuery) ([]structs.BidTraceExtended, error)
- func (m *MockRelay) SubmitBlock(arg0 context.Context, arg1 *structs.MetricGroup, ...) error
- type MockRelayMockRecorder
- func (mr *MockRelayMockRecorder) GetBlockReceived(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) GetHeader(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) GetPayload(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) GetPayloadDelivered(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) SubmitBlock(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRegistrations ¶
type MockRegistrations struct {
// contains filtered or unexported fields
}
MockRegistrations is a mock of Registrations interface.
func NewMockRegistrations ¶
func NewMockRegistrations(ctrl *gomock.Controller) *MockRegistrations
NewMockRegistrations creates a new mock instance.
func (*MockRegistrations) EXPECT ¶
func (m *MockRegistrations) EXPECT() *MockRegistrationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistrations) GetValidators ¶
func (m *MockRegistrations) GetValidators(arg0 *structs.MetricGroup) structs.BuilderGetValidatorsResponseEntrySlice
GetValidators mocks base method.
func (*MockRegistrations) RegisterValidator ¶
func (m *MockRegistrations) RegisterValidator(arg0 context.Context, arg1 *structs.MetricGroup, arg2 []types.SignedValidatorRegistration) error
RegisterValidator mocks base method.
func (*MockRegistrations) Registration ¶
func (m *MockRegistrations) Registration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
Registration mocks base method.
type MockRegistrationsMockRecorder ¶
type MockRegistrationsMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistrationsMockRecorder is the mock recorder for MockRegistrations.
func (*MockRegistrationsMockRecorder) GetValidators ¶
func (mr *MockRegistrationsMockRecorder) GetValidators(arg0 interface{}) *gomock.Call
GetValidators indicates an expected call of GetValidators.
func (*MockRegistrationsMockRecorder) RegisterValidator ¶
func (mr *MockRegistrationsMockRecorder) RegisterValidator(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterValidator indicates an expected call of RegisterValidator.
func (*MockRegistrationsMockRecorder) Registration ¶
func (mr *MockRegistrationsMockRecorder) Registration(arg0, arg1 interface{}) *gomock.Call
Registration indicates an expected call of Registration.
type MockRelay ¶
type MockRelay struct {
// contains filtered or unexported fields
}
MockRelay is a mock of Relay interface.
func NewMockRelay ¶
func NewMockRelay(ctrl *gomock.Controller) *MockRelay
NewMockRelay creates a new mock instance.
func (*MockRelay) EXPECT ¶
func (m *MockRelay) EXPECT() *MockRelayMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelay) GetBlockReceived ¶
func (m *MockRelay) GetBlockReceived(arg0 context.Context, arg1 structs.SubmissionTraceQuery) ([]structs.BidTraceWithTimestamp, error)
GetBlockReceived mocks base method.
func (*MockRelay) GetHeader ¶
func (m *MockRelay) GetHeader(arg0 context.Context, arg1 *structs.MetricGroup, arg2 structs.HeaderRequest) (structs.GetHeaderResponse, error)
GetHeader mocks base method.
func (*MockRelay) GetPayload ¶
func (m *MockRelay) GetPayload(arg0 context.Context, arg1 *structs.MetricGroup, arg2 structs.SignedBlindedBeaconBlock) (structs.GetPayloadResponse, error)
GetPayload mocks base method.
func (*MockRelay) GetPayloadDelivered ¶
func (m *MockRelay) GetPayloadDelivered(arg0 context.Context, arg1 structs.PayloadTraceQuery) ([]structs.BidTraceExtended, error)
GetPayloadDelivered mocks base method.
func (*MockRelay) SubmitBlock ¶
func (m *MockRelay) SubmitBlock(arg0 context.Context, arg1 *structs.MetricGroup, arg2 structs.SubmitBlockRequest) error
SubmitBlock mocks base method.
type MockRelayMockRecorder ¶
type MockRelayMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayMockRecorder is the mock recorder for MockRelay.
func (*MockRelayMockRecorder) GetBlockReceived ¶
func (mr *MockRelayMockRecorder) GetBlockReceived(arg0, arg1 interface{}) *gomock.Call
GetBlockReceived indicates an expected call of GetBlockReceived.
func (*MockRelayMockRecorder) GetHeader ¶
func (mr *MockRelayMockRecorder) GetHeader(arg0, arg1, arg2 interface{}) *gomock.Call
GetHeader indicates an expected call of GetHeader.
func (*MockRelayMockRecorder) GetPayload ¶
func (mr *MockRelayMockRecorder) GetPayload(arg0, arg1, arg2 interface{}) *gomock.Call
GetPayload indicates an expected call of GetPayload.
func (*MockRelayMockRecorder) GetPayloadDelivered ¶
func (mr *MockRelayMockRecorder) GetPayloadDelivered(arg0, arg1 interface{}) *gomock.Call
GetPayloadDelivered indicates an expected call of GetPayloadDelivered.
func (*MockRelayMockRecorder) SubmitBlock ¶
func (mr *MockRelayMockRecorder) SubmitBlock(arg0, arg1, arg2 interface{}) *gomock.Call
SubmitBlock indicates an expected call of SubmitBlock.