coyote

package
v0.0.0-...-2a03479 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Store        store.Store
	ContactEmail string
	DirectoyURI  string
	AcceptTOS    bool
	SecretKey    string
}

Config describes the coyote configuration settings

type Coyote

type Coyote interface {
	// Authorize authorizes a domain under the users control.
	Authorize(domain string) error
	// BeginAuthorize fetches a challenge for the given domain.
	BeginAuthorize(domain string) (*acmelib.HTTPAuthChallenge, error)
	// CompleteAuthorize tells the ACME server to complete the challenge.
	CompleteAuthorize(challengeURI string) error
	// NewCertificate creates one or more certificates for the specified domains, grouped by registered domain.
	NewCertificate(domains []string) ([]*store.Certificate, error)
	// RenewExpiringCertificates checks expiry dates on certificates and renews certificates that will
	// expire before `before` has elapsed.
	RenewExpiringCertificates(before time.Duration) ([]*store.Certificate, error)
	// GetCertificates gets all certificates in the store.
	GetCertificates() ([]*store.Certificate, error)
}

Coyote describes the things that the coyote tool can do

func NewCoyote

func NewCoyote(config *Config) (Coyote, error)

NewCoyote creates a new instance of the Coyote interface

Jump to

Keyboard shortcuts

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