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
- func (m *MockDutyFetcher) EXPECT() *MockDutyFetcherMockRecorder
- func (m *MockDutyFetcher) Events(ctx context.Context, topics []string, handler client.EventHandlerFunc) error
- func (m *MockDutyFetcher) GetDuties(logger *zap.Logger, slot phase0.Slot) ([]types.Duty, error)
- func (m *MockDutyFetcher) SyncCommitteeDuties(logger *zap.Logger, epoch phase0.Epoch, indices []phase0.ValidatorIndex) ([]*v1.SyncCommitteeDuty, error)
- type MockDutyFetcherMockRecorder
- 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) EXPECT ¶
func (m *MockDutyController) EXPECT() *MockDutyControllerMockRecorder
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 ¶
func (m *MockDutyExecutor) EXPECT() *MockDutyExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDutyExecutor) ExecuteDuty ¶
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 ¶
func (m *MockDutyFetcher) EXPECT() *MockDutyFetcherMockRecorder
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) 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 ¶
func (m *MockvalidatorsIndicesFetcher) EXPECT() *MockvalidatorsIndicesFetcherMockRecorder
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.