Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDutyController
- type MockDutyControllerMockRecorder
- type MockDutyExecutor
- type MockDutyExecutorMockRecorder
- type MockDutyFetcher
- type MockDutyFetcherMockRecorder
- type MockbeaconDutiesClient
- func (m *MockbeaconDutiesClient) EXPECT() *MockbeaconDutiesClientMockRecorder
- func (m *MockbeaconDutiesClient) GetDuties(epoch phase0.Epoch, validatorIndices []phase0.ValidatorIndex) ([]*beacon.Duty, error)
- func (m *MockbeaconDutiesClient) SubscribeToCommitteeSubnet(subscription []*v1.BeaconCommitteeSubscription) error
- type MockbeaconDutiesClientMockRecorder
- type MockvalidatorsIndicesFetcher
- type MockvalidatorsIndicesFetcherMockRecorder
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 ¶
func (m *MockDutyController) EXPECT() *MockDutyControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (mr *MockDutyControllerMockRecorder) Start() *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 ¶
func (m *MockDutyExecutor) EXPECT() *MockDutyExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDutyExecutor) ExecuteDuty ¶
func (m *MockDutyExecutor) ExecuteDuty(duty *beacon.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 ¶
func (m *MockDutyFetcher) EXPECT() *MockDutyFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockbeaconDutiesClient) EXPECT() *MockbeaconDutiesClientMockRecorder
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) ([]*beacon.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 ¶
func (m *MockvalidatorsIndicesFetcher) EXPECT() *MockvalidatorsIndicesFetcherMockRecorder
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