Help us shape the future of Go! Take the 2026 Go Developer Survey

scheduler

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler added in v0.6.0

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

Scheduler implements an ACME challenge scheduler that applies heuristics to challenge resources in order to determine which challenges should be processing at a given time.

func New

func New(ctx context.Context, l cmlisters.ChallengeLister, maxConcurrentChallenges int) *Scheduler

New will construct a new instance of a scheduler

func (*Scheduler) ScheduleN added in v0.6.0

func (s *Scheduler) ScheduleN(n int) ([]*cmapi.Challenge, error)

ScheduleN will return a maximum of N challenge resources that should be scheduled for processing. It may return an empty list if there are no challenges that can/should be scheduled.

Jump to

Keyboard shortcuts

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