Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func NewForT ¶
func NewForT(t *testing.T, clock clockwork.Clock, delayFunc delayFunc, pubkeys []core.PubKey, eth2Svc eth2client.Service) *Scheduler
NewForT returns a new scheduler for testing supporting a fake clock.
func (*Scheduler) GetDutyDefinition ¶ added in v0.7.0
func (s *Scheduler) GetDutyDefinition(ctx context.Context, duty core.Duty) (core.DutyDefinitionSet, error)
GetDutyDefinition returns the definition for a duty if resolved already, otherwise an error.
Click to show internal directories.
Click to hide internal directories.