mocks

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 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 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegistrations) GetValidators

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

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

GetBlockReceived mocks base method.

func (*MockRelay) GetHeader

GetHeader mocks base method.

func (*MockRelay) GetPayload

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.

Jump to

Keyboard shortcuts

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