mocks

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: AGPL-3.0 Imports: 7 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 MockBeaconClient

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

MockBeaconClient is a mock of BeaconClient interface

func NewMockBeaconClient

func NewMockBeaconClient(ctrl *gomock.Controller) *MockBeaconClient

NewMockBeaconClient creates a new mock instance

func (*MockBeaconClient) AttachMetrics added in v0.3.9

func (m *MockBeaconClient) AttachMetrics(arg0 *metrics.Metrics)

AttachMetrics mocks base method

func (*MockBeaconClient) EXPECT

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

func (*MockBeaconClient) Endpoint

func (m *MockBeaconClient) Endpoint() string

Endpoint mocks base method

func (*MockBeaconClient) Genesis

func (m *MockBeaconClient) Genesis() (structs.GenesisInfo, error)

Genesis mocks base method

func (*MockBeaconClient) GetProposerDuties

func (m *MockBeaconClient) GetProposerDuties(arg0 structs.Epoch) (*relay.RegisteredProposersResponse, error)

GetProposerDuties mocks base method

func (*MockBeaconClient) KnownValidators

func (m *MockBeaconClient) KnownValidators(arg0 structs.Slot) (relay.AllValidatorsResponse, error)

KnownValidators mocks base method

func (*MockBeaconClient) PublishBlock added in v0.3.9

func (m *MockBeaconClient) PublishBlock(arg0 *types.SignedBeaconBlock) error

PublishBlock mocks base method

func (*MockBeaconClient) SubscribeToHeadEvents

func (m *MockBeaconClient) SubscribeToHeadEvents(arg0 context.Context, arg1 chan relay.HeadEvent)

SubscribeToHeadEvents mocks base method

func (*MockBeaconClient) SyncStatus

func (m *MockBeaconClient) SyncStatus() (*relay.SyncStatusPayloadData, error)

SyncStatus mocks base method

type MockBeaconClientMockRecorder

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

MockBeaconClientMockRecorder is the mock recorder for MockBeaconClient

func (*MockBeaconClientMockRecorder) AttachMetrics added in v0.3.9

func (mr *MockBeaconClientMockRecorder) AttachMetrics(arg0 interface{}) *gomock.Call

AttachMetrics indicates an expected call of AttachMetrics

func (*MockBeaconClientMockRecorder) Endpoint

func (mr *MockBeaconClientMockRecorder) Endpoint() *gomock.Call

Endpoint indicates an expected call of Endpoint

func (*MockBeaconClientMockRecorder) Genesis

func (mr *MockBeaconClientMockRecorder) Genesis() *gomock.Call

Genesis indicates an expected call of Genesis

func (*MockBeaconClientMockRecorder) GetProposerDuties

func (mr *MockBeaconClientMockRecorder) GetProposerDuties(arg0 interface{}) *gomock.Call

GetProposerDuties indicates an expected call of GetProposerDuties

func (*MockBeaconClientMockRecorder) KnownValidators

func (mr *MockBeaconClientMockRecorder) KnownValidators(arg0 interface{}) *gomock.Call

KnownValidators indicates an expected call of KnownValidators

func (*MockBeaconClientMockRecorder) PublishBlock added in v0.3.9

func (mr *MockBeaconClientMockRecorder) PublishBlock(arg0 interface{}) *gomock.Call

PublishBlock indicates an expected call of PublishBlock

func (*MockBeaconClientMockRecorder) SubscribeToHeadEvents

func (mr *MockBeaconClientMockRecorder) SubscribeToHeadEvents(arg0, arg1 interface{}) *gomock.Call

SubscribeToHeadEvents indicates an expected call of SubscribeToHeadEvents

func (*MockBeaconClientMockRecorder) SyncStatus

func (mr *MockBeaconClientMockRecorder) SyncStatus() *gomock.Call

SyncStatus indicates an expected call of SyncStatus

type MockDatastore

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

MockDatastore is a mock of Datastore interface

func NewMockDatastore

func NewMockDatastore(ctrl *gomock.Controller) *MockDatastore

NewMockDatastore creates a new mock instance

func (*MockDatastore) EXPECT

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

func (*MockDatastore) GetRegistration

GetRegistration mocks base method

type MockDatastoreMockRecorder

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

MockDatastoreMockRecorder is the mock recorder for MockDatastore

func (*MockDatastoreMockRecorder) GetRegistration

func (mr *MockDatastoreMockRecorder) GetRegistration(arg0, arg1 interface{}) *gomock.Call

GetRegistration indicates an expected call of GetRegistration

Jump to

Keyboard shortcuts

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