mocks

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

GetBlockReceived mocks base method.

func (*MockService) GetHeader

GetHeader mocks base method.

func (*MockService) GetPayload

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL