mocks

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 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 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

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

func (*MockRegistrations) GetValidators added in v0.3.9

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

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

GetHeader mocks base method

func (*MockRelay) GetPayload added in v0.3.9

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

Jump to

Keyboard shortcuts

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