acme

package
v2.23.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MPL-2.0 Imports: 32 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRevocationReason added in v2.19.0

func GetRevocationReason(reason RevocationReason) (uint, error)

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.

type RevocationReason added in v2.19.0

type RevocationReason string
const (
	RevocationReasonUnspecified          RevocationReason = "unspecified"
	RevocationReasonKeyCompromise        RevocationReason = "key-compromise"
	RevocationReasonCACompromise         RevocationReason = "ca-compromise"
	RevocationReasonAffiliationChanged   RevocationReason = "affiliation-changed"
	RevocationReasonSuperseded           RevocationReason = "superseded"
	RevocationReasonCessationOfOperation RevocationReason = "cessation-of-operation"
	RevocationReasonCertificateHold      RevocationReason = "certificate-hold"
	RevocationReasonRemoveFromCRL        RevocationReason = "remove-from-crl"
	RevocationReasonPrivilegeWithdrawn   RevocationReason = "privilege-withdrawn"
	RevocationReasonAACompromise         RevocationReason = "aa-compromise"
)

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