ordermanager

package
v0.0.0-...-17e8d90 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Staging    = "https://acme-staging-v02.api.letsencrypt.org/directory"
	Production = autocert.DefaultACMEDirectory
)

Variables

View Source
var (
	// Endpoint is the ACME API to use, it defaults to Production, but
	// can be pointed at Staging or other compatible endpoints.
	Endpoint = Production
)
View Source
var ErrHTTP01Unavailable = errors.New("The CA didn't list HTTP01 as a viable certificate challenge.")

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Order(ctx context.Context, domains []string, owner interface{}) (challenges []*apis.URL, cert *tls.Certificate, err error)
}

Interface defines the interface for ordering new certificates.

func New

New creates a new OrderManager.

type OrderUpCallback

type OrderUpCallback func(owner interface{})

OrderUpCallback is the signature of the function for notifying owners that their order is up, and that they should invoke Order again to pick it up.

Jump to

Keyboard shortcuts

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