acmechallenges

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "challenges"
)
View Source
const MaxChallengesPerSchedule = 20

MaxChallengesPerSchedule is the maximum number of challenges that can be scheduled with a single call to the scheduler. This provides a very crude rate limit on how many challenges we will schedule per second. It may be better to remove this altogether in favour of some other method of rate limiting creations. TODO: make this configurable

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	controllerpkg.Context
	// contains filtered or unexported fields
}

func New

func New(ctx *controllerpkg.Context) *Controller

func (*Controller) Run

func (c *Controller) Run(workers int, stopCh <-chan struct{}) error

func (*Controller) Sync

func (c *Controller) Sync(ctx context.Context, ch *cmapi.Challenge) (err error)

Sync will process this ACME Challenge. It is the core control function for ACME challenges.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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