mocks

package
v0.5.5-jatov2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockDutyController

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

MockDutyController is a mock of DutyController interface.

func NewMockDutyController

func NewMockDutyController(ctrl *gomock.Controller) *MockDutyController

NewMockDutyController creates a new mock instance.

func (*MockDutyController) EXPECT

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

func (*MockDutyController) Start

func (m *MockDutyController) Start(logger *zap.Logger)

Start mocks base method.

type MockDutyControllerMockRecorder

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

MockDutyControllerMockRecorder is the mock recorder for MockDutyController.

func (*MockDutyControllerMockRecorder) Start

func (mr *MockDutyControllerMockRecorder) Start(logger interface{}) *gomock.Call

Start indicates an expected call of Start.

type MockDutyExecutor

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

MockDutyExecutor is a mock of DutyExecutor interface.

func NewMockDutyExecutor

func NewMockDutyExecutor(ctrl *gomock.Controller) *MockDutyExecutor

NewMockDutyExecutor creates a new mock instance.

func (*MockDutyExecutor) EXPECT

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

func (*MockDutyExecutor) ExecuteDuty

func (m *MockDutyExecutor) ExecuteDuty(logger *zap.Logger, duty *types.Duty) error

ExecuteDuty mocks base method.

type MockDutyExecutorMockRecorder

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

MockDutyExecutorMockRecorder is the mock recorder for MockDutyExecutor.

func (*MockDutyExecutorMockRecorder) ExecuteDuty

func (mr *MockDutyExecutorMockRecorder) ExecuteDuty(logger, duty interface{}) *gomock.Call

ExecuteDuty indicates an expected call of ExecuteDuty.

type MockDutyFetcher

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

MockDutyFetcher is a mock of DutyFetcher interface.

func NewMockDutyFetcher

func NewMockDutyFetcher(ctrl *gomock.Controller) *MockDutyFetcher

NewMockDutyFetcher creates a new mock instance.

func (*MockDutyFetcher) EXPECT

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

func (*MockDutyFetcher) Events added in v0.4.7

func (m *MockDutyFetcher) Events(ctx context.Context, topics []string, handler client.EventHandlerFunc) error

Events mocks base method.

func (*MockDutyFetcher) GetDuties

func (m *MockDutyFetcher) GetDuties(logger *zap.Logger, slot phase0.Slot) ([]types.Duty, error)

GetDuties mocks base method.

func (*MockDutyFetcher) SyncCommitteeDuties added in v0.4.7

func (m *MockDutyFetcher) SyncCommitteeDuties(logger *zap.Logger, epoch phase0.Epoch, indices []phase0.ValidatorIndex) ([]*v1.SyncCommitteeDuty, error)

SyncCommitteeDuties mocks base method.

type MockDutyFetcherMockRecorder

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

MockDutyFetcherMockRecorder is the mock recorder for MockDutyFetcher.

func (*MockDutyFetcherMockRecorder) Events added in v0.4.7

func (mr *MockDutyFetcherMockRecorder) Events(ctx, topics, handler interface{}) *gomock.Call

Events indicates an expected call of Events.

func (*MockDutyFetcherMockRecorder) GetDuties

func (mr *MockDutyFetcherMockRecorder) GetDuties(logger, slot interface{}) *gomock.Call

GetDuties indicates an expected call of GetDuties.

func (*MockDutyFetcherMockRecorder) SyncCommitteeDuties added in v0.4.7

func (mr *MockDutyFetcherMockRecorder) SyncCommitteeDuties(logger, epoch, indices interface{}) *gomock.Call

SyncCommitteeDuties indicates an expected call of SyncCommitteeDuties.

type MockvalidatorsIndicesFetcher

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

MockvalidatorsIndicesFetcher is a mock of validatorsIndicesFetcher interface.

func NewMockvalidatorsIndicesFetcher

func NewMockvalidatorsIndicesFetcher(ctrl *gomock.Controller) *MockvalidatorsIndicesFetcher

NewMockvalidatorsIndicesFetcher creates a new mock instance.

func (*MockvalidatorsIndicesFetcher) ActiveValidatorIndices

func (m *MockvalidatorsIndicesFetcher) ActiveValidatorIndices(logger *zap.Logger) []phase0.ValidatorIndex

ActiveValidatorIndices mocks base method.

func (*MockvalidatorsIndicesFetcher) EXPECT

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

type MockvalidatorsIndicesFetcherMockRecorder

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

MockvalidatorsIndicesFetcherMockRecorder is the mock recorder for MockvalidatorsIndicesFetcher.

func (*MockvalidatorsIndicesFetcherMockRecorder) ActiveValidatorIndices

func (mr *MockvalidatorsIndicesFetcherMockRecorder) ActiveValidatorIndices(logger interface{}) *gomock.Call

ActiveValidatorIndices indicates an expected call of ActiveValidatorIndices.

Jump to

Keyboard shortcuts

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