mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: GPL-3.0 Imports: 5 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) CurrentSlotChan

func (m *MockDutyController) CurrentSlotChan() <-chan uint64

CurrentSlotChan mocks base method

func (*MockDutyController) EXPECT

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

func (*MockDutyController) Start

func (m *MockDutyController) Start()

Start mocks base method

type MockDutyControllerMockRecorder

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

MockDutyControllerMockRecorder is the mock recorder for MockDutyController

func (*MockDutyControllerMockRecorder) CurrentSlotChan

func (mr *MockDutyControllerMockRecorder) CurrentSlotChan() *gomock.Call

CurrentSlotChan indicates an expected call of CurrentSlotChan

func (*MockDutyControllerMockRecorder) Start

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(duty *spectypes.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(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) GetDuties

func (m *MockDutyFetcher) GetDuties(slot uint64) ([]spectypes.Duty, error)

GetDuties mocks base method

type MockDutyFetcherMockRecorder

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

MockDutyFetcherMockRecorder is the mock recorder for MockDutyFetcher

func (*MockDutyFetcherMockRecorder) GetDuties

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

GetDuties indicates an expected call of GetDuties

type MockbeaconDutiesClient

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

MockbeaconDutiesClient is a mock of beaconDutiesClient interface

func NewMockbeaconDutiesClient

func NewMockbeaconDutiesClient(ctrl *gomock.Controller) *MockbeaconDutiesClient

NewMockbeaconDutiesClient creates a new mock instance

func (*MockbeaconDutiesClient) EXPECT

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

func (*MockbeaconDutiesClient) GetDuties

func (m *MockbeaconDutiesClient) GetDuties(epoch phase0.Epoch, validatorIndices []phase0.ValidatorIndex) ([]*spectypes.Duty, error)

GetDuties mocks base method

func (*MockbeaconDutiesClient) SubscribeToCommitteeSubnet

func (m *MockbeaconDutiesClient) SubscribeToCommitteeSubnet(subscription []*v1.BeaconCommitteeSubscription) error

SubscribeToCommitteeSubnet mocks base method

type MockbeaconDutiesClientMockRecorder

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

MockbeaconDutiesClientMockRecorder is the mock recorder for MockbeaconDutiesClient

func (*MockbeaconDutiesClientMockRecorder) GetDuties

func (mr *MockbeaconDutiesClientMockRecorder) GetDuties(epoch, validatorIndices interface{}) *gomock.Call

GetDuties indicates an expected call of GetDuties

func (*MockbeaconDutiesClientMockRecorder) SubscribeToCommitteeSubnet

func (mr *MockbeaconDutiesClientMockRecorder) SubscribeToCommitteeSubnet(subscription interface{}) *gomock.Call

SubscribeToCommitteeSubnet indicates an expected call of SubscribeToCommitteeSubnet

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) EXPECT

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

func (*MockvalidatorsIndicesFetcher) GetValidatorsIndices

func (m *MockvalidatorsIndicesFetcher) GetValidatorsIndices() []phase0.ValidatorIndex

GetValidatorsIndices mocks base method

type MockvalidatorsIndicesFetcherMockRecorder

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

MockvalidatorsIndicesFetcherMockRecorder is the mock recorder for MockvalidatorsIndicesFetcher

func (*MockvalidatorsIndicesFetcherMockRecorder) GetValidatorsIndices

func (mr *MockvalidatorsIndicesFetcherMockRecorder) GetValidatorsIndices() *gomock.Call

GetValidatorsIndices indicates an expected call of GetValidatorsIndices

Jump to

Keyboard shortcuts

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