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.HeaderTraceQuery) ([]structs.BidTraceWithTimestamp, error)
- func (m *MockRelay) GetHeader(arg0 context.Context, arg1 *structs.MetricGroup, arg2 structs.HeaderRequest) (*types.GetHeaderResponse, error)
- func (m *MockRelay) GetPayload(arg0 context.Context, arg1 *structs.MetricGroup, ...) (*types.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 ¶ added in v0.3.9
type MockRegistrations struct {
// contains filtered or unexported fields
}
MockRegistrations is a mock of Registrations interface.
func NewMockRegistrations ¶ added in v0.3.9
func NewMockRegistrations(ctrl *gomock.Controller) *MockRegistrations
NewMockRegistrations creates a new mock instance.
func (*MockRegistrations) EXPECT ¶ added in v0.3.9
func (m *MockRegistrations) EXPECT() *MockRegistrationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistrations) GetValidators ¶ added in v0.3.9
func (m *MockRegistrations) GetValidators(arg0 *structs.MetricGroup) structs.BuilderGetValidatorsResponseEntrySlice
GetValidators mocks base method.
func (*MockRegistrations) RegisterValidator ¶ added in v0.3.9
func (m *MockRegistrations) RegisterValidator(arg0 context.Context, arg1 *structs.MetricGroup, arg2 []types.SignedValidatorRegistration) error
RegisterValidator mocks base method.
func (*MockRegistrations) Registration ¶ added in v0.3.9
func (m *MockRegistrations) Registration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
Registration mocks base method.
type MockRegistrationsMockRecorder ¶ added in v0.3.9
type MockRegistrationsMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistrationsMockRecorder is the mock recorder for MockRegistrations.
func (*MockRegistrationsMockRecorder) GetValidators ¶ added in v0.3.9
func (mr *MockRegistrationsMockRecorder) GetValidators(arg0 interface{}) *gomock.Call
GetValidators indicates an expected call of GetValidators.
func (*MockRegistrationsMockRecorder) RegisterValidator ¶ added in v0.3.9
func (mr *MockRegistrationsMockRecorder) RegisterValidator(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterValidator indicates an expected call of RegisterValidator.
func (*MockRegistrationsMockRecorder) Registration ¶ added in v0.3.9
func (mr *MockRegistrationsMockRecorder) Registration(arg0, arg1 interface{}) *gomock.Call
Registration indicates an expected call of Registration.
type MockRelay ¶ added in v0.3.9
type MockRelay struct {
// contains filtered or unexported fields
}
MockRelay is a mock of Relay interface.
func NewMockRelay ¶ added in v0.3.9
func NewMockRelay(ctrl *gomock.Controller) *MockRelay
NewMockRelay creates a new mock instance.
func (*MockRelay) EXPECT ¶ added in v0.3.9
func (m *MockRelay) EXPECT() *MockRelayMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelay) GetBlockReceived ¶ added in v0.3.9
func (m *MockRelay) GetBlockReceived(arg0 context.Context, arg1 structs.HeaderTraceQuery) ([]structs.BidTraceWithTimestamp, error)
GetBlockReceived mocks base method.
func (*MockRelay) GetHeader ¶ added in v0.3.9
func (m *MockRelay) GetHeader(arg0 context.Context, arg1 *structs.MetricGroup, arg2 structs.HeaderRequest) (*types.GetHeaderResponse, error)
GetHeader mocks base method.
func (*MockRelay) GetPayload ¶ added in v0.3.9
func (m *MockRelay) GetPayload(arg0 context.Context, arg1 *structs.MetricGroup, arg2 *types.SignedBlindedBeaconBlock) (*types.GetPayloadResponse, error)
GetPayload mocks base method.
func (*MockRelay) GetPayloadDelivered ¶ added in v0.3.9
func (m *MockRelay) GetPayloadDelivered(arg0 context.Context, arg1 structs.PayloadTraceQuery) ([]structs.BidTraceExtended, error)
GetPayloadDelivered mocks base method.
func (*MockRelay) SubmitBlock ¶ added in v0.3.9
func (m *MockRelay) SubmitBlock(arg0 context.Context, arg1 *structs.MetricGroup, arg2 *types.BuilderSubmitBlockRequest) error
SubmitBlock mocks base method.
type MockRelayMockRecorder ¶ added in v0.3.9
type MockRelayMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayMockRecorder is the mock recorder for MockRelay.
func (*MockRelayMockRecorder) GetBlockReceived ¶ added in v0.3.9
func (mr *MockRelayMockRecorder) GetBlockReceived(arg0, arg1 interface{}) *gomock.Call
GetBlockReceived indicates an expected call of GetBlockReceived.
func (*MockRelayMockRecorder) GetHeader ¶ added in v0.3.9
func (mr *MockRelayMockRecorder) GetHeader(arg0, arg1, arg2 interface{}) *gomock.Call
GetHeader indicates an expected call of GetHeader.
func (*MockRelayMockRecorder) GetPayload ¶ added in v0.3.9
func (mr *MockRelayMockRecorder) GetPayload(arg0, arg1, arg2 interface{}) *gomock.Call
GetPayload indicates an expected call of GetPayload.
func (*MockRelayMockRecorder) GetPayloadDelivered ¶ added in v0.3.9
func (mr *MockRelayMockRecorder) GetPayloadDelivered(arg0, arg1 interface{}) *gomock.Call
GetPayloadDelivered indicates an expected call of GetPayloadDelivered.
func (*MockRelayMockRecorder) SubmitBlock ¶ added in v0.3.9
func (mr *MockRelayMockRecorder) SubmitBlock(arg0, arg1, arg2 interface{}) *gomock.Call
SubmitBlock indicates an expected call of SubmitBlock.