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