Documentation ¶ Index ¶ type Scheduler func New(source spec.JobSource, worker spec.WorkerInfo, tickInterval time.Duration, ...) *Scheduler func (s *Scheduler) C() <-chan spec.Lease func (s *Scheduler) Run(ctx context.Context) 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 New ¶ func New(source spec.JobSource, worker spec.WorkerInfo, tickInterval time.Duration, buffer int) *Scheduler func (*Scheduler) C ¶ func (s *Scheduler) C() <-chan spec.Lease func (*Scheduler) Run ¶ func (s *Scheduler) Run(ctx context.Context) Source Files ¶ View all Source files scheduler.go Click to show internal directories. Click to hide internal directories.