cert-manager: github.com/jetstack/cert-manager/pkg/controller/acmechallenges/scheduler Index | Files

package scheduler

import "github.com/jetstack/cert-manager/pkg/controller/acmechallenges/scheduler"

Index

Package Files

scheduler.go

type Scheduler Uses

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 Uses

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

New will construct a new instance of a scheduler

func (*Scheduler) ScheduleN Uses

func (s *Scheduler) ScheduleN(n int) ([]*cmacme.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.

Package scheduler imports 8 packages (graph) and is imported by 3 packages. Updated 2019-10-08. Refresh now. Tools for package owners.