acme

package
v2.0.0-...-1526504 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MPL-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZEROSSL_ERR_NEW_ACCOUNT_TOO_MANY_REQUESTS   = "429 ::POST :: https://acme.zerossl.com/v2/DV90/newAccount"
	ZEROSSL_ERR_NEW_NONCE_TOO_MANY_REQUESTS     = "429 ::HEAD :: https://acme.zerossl.com/v2/DV90/newNonce"
	ZEROSSL_ERR_GET_DIRECTORY_TOO_MANY_REQUESTS = "429 ::GET :: https://acme.zerossl.com/v2/DV90"
	ZEROSSL_ERR_AUTHZ_TOO_MANY_REQUESTS         = "429 ::POST :: https://acme.zerossl.com/v2/DV90/authz"
	ZEROSSL_ERR_NEW_ORDER_TOO_MANY_REQUESTS     = "429 ::POST :: https://acme.zerossl.com/v2/DV90/newOrder"
	ZEROSSL_ERR_ACCOUNT_TOO_MANY_REQUESTS       = "429 ::POST :: https://acme.zerossl.com/v2/DV90/account"
	ZEROSSL_ERR_REVOKE_CERT_TOO_MANY_REQUESTS   = "429 ::POST :: https://acme.zerossl.com/v2/DV90/revokeCert"
	ZEROSSL_ERR_CHALLENGE_TOO_MANY_REQUESTS     = "429 ::POST :: https://acme.zerossl.com/v2/DV90/chall"
	LETSENCRYPT_ERR_RATE_LIMITED                = "429 :: POST :: https://acme-staging-v02.api.letsencrypt.org/acme/new-acct"
	ERR_TIME_LIMIT_EXCEEDED                     = "time limit exceeded"
	ERR_SERVER_NO_RESPONSE                      = "net/http: timeout awaiting response headers"
)
View Source
const (
	DefaultMaxElapsedTime = 120 * time.Minute
)

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider returns the terraform.ResourceProvider structure for the ACME provider.

Types

type Config

type Config struct {
	// The ACME server URL.
	ServerURL string
}

Config represents the configuration of the provider.

type DNSProviderWrapper

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

DNSProviderWrapper is a multi-provider wrapper to support multiple DNS challenges.

func NewDNSProviderWrapper

func NewDNSProviderWrapper() (*DNSProviderWrapper, error)

NewDNSProviderWrapper returns an freshly initialized DNSProviderWrapper.

func (*DNSProviderWrapper) CleanUp

func (d *DNSProviderWrapper) CleanUp(domain, token, keyAuth string) error

CleanUp implements challenge.Provider for DNSProviderWrapper.

func (*DNSProviderWrapper) Present

func (d *DNSProviderWrapper) Present(domain, token, keyAuth string) error

Present implements challenge.Provider for DNSProviderWrapper.

func (*DNSProviderWrapper) Timeout

func (d *DNSProviderWrapper) Timeout() (time.Duration, time.Duration)

Timeout implements challenge.ProviderTimeout for DNSProviderWrapper.

The highest polling interval and timeout values defined across all providers is used.

Directories

Path Synopsis
Auto-generated file.
Auto-generated file.

Jump to

Keyboard shortcuts

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