mock_services

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuilderClient

type MockBuilderClient struct {
	// contains filtered or unexported fields
}

MockBuilderClient is a mock of BuilderClient interface.

func NewMockBuilderClient

func NewMockBuilderClient(ctrl *gomock.Controller) *MockBuilderClient

NewMockBuilderClient creates a new mock instance.

func (*MockBuilderClient) EXPECT

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

func (*MockBuilderClient) GetHeader

func (m *MockBuilderClient) GetHeader(ctx context.Context, slot int64, parentHash common.Hash, pubKey common.Bytes48) (*builder.ExecutionHeader, error)

GetHeader mocks base method.

func (*MockBuilderClient) GetStatus

func (m *MockBuilderClient) GetStatus(ctx context.Context) error

GetStatus mocks base method.

func (*MockBuilderClient) RegisterValidator

func (m *MockBuilderClient) RegisterValidator(ctx context.Context, registers []*cltypes.ValidatorRegistration) error

RegisterValidator mocks base method.

func (*MockBuilderClient) SubmitBlindedBlocks

SubmitBlindedBlocks mocks base method.

type MockBuilderClientGetHeaderCall

type MockBuilderClientGetHeaderCall struct {
	*gomock.Call
}

MockBuilderClientGetHeaderCall wrap *gomock.Call

func (*MockBuilderClientGetHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockBuilderClientGetHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBuilderClientGetHeaderCall) Return

Return rewrite *gomock.Call.Return

type MockBuilderClientGetStatusCall

type MockBuilderClientGetStatusCall struct {
	*gomock.Call
}

MockBuilderClientGetStatusCall wrap *gomock.Call

func (*MockBuilderClientGetStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockBuilderClientGetStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBuilderClientGetStatusCall) Return

Return rewrite *gomock.Call.Return

type MockBuilderClientMockRecorder

type MockBuilderClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuilderClientMockRecorder is the mock recorder for MockBuilderClient.

func (*MockBuilderClientMockRecorder) GetHeader

func (mr *MockBuilderClientMockRecorder) GetHeader(ctx, slot, parentHash, pubKey any) *MockBuilderClientGetHeaderCall

GetHeader indicates an expected call of GetHeader.

func (*MockBuilderClientMockRecorder) GetStatus

GetStatus indicates an expected call of GetStatus.

func (*MockBuilderClientMockRecorder) RegisterValidator

func (mr *MockBuilderClientMockRecorder) RegisterValidator(ctx, registers any) *MockBuilderClientRegisterValidatorCall

RegisterValidator indicates an expected call of RegisterValidator.

func (*MockBuilderClientMockRecorder) SubmitBlindedBlocks

func (mr *MockBuilderClientMockRecorder) SubmitBlindedBlocks(ctx, block any) *MockBuilderClientSubmitBlindedBlocksCall

SubmitBlindedBlocks indicates an expected call of SubmitBlindedBlocks.

type MockBuilderClientRegisterValidatorCall

type MockBuilderClientRegisterValidatorCall struct {
	*gomock.Call
}

MockBuilderClientRegisterValidatorCall wrap *gomock.Call

func (*MockBuilderClientRegisterValidatorCall) Do

Do rewrite *gomock.Call.Do

func (*MockBuilderClientRegisterValidatorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBuilderClientRegisterValidatorCall) Return

Return rewrite *gomock.Call.Return

type MockBuilderClientSubmitBlindedBlocksCall

type MockBuilderClientSubmitBlindedBlocksCall struct {
	*gomock.Call
}

MockBuilderClientSubmitBlindedBlocksCall wrap *gomock.Call

func (*MockBuilderClientSubmitBlindedBlocksCall) Do

Do rewrite *gomock.Call.Do

func (*MockBuilderClientSubmitBlindedBlocksCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBuilderClientSubmitBlindedBlocksCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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