forked from TrueCloudLab/lego
fix: typos. (#954)
This commit is contained in:
parent
76c850a580
commit
cf879d0b3c
52 changed files with 54 additions and 53 deletions
|
@ -61,6 +61,7 @@ More information [here](/lego/dns/#configuration-and-credentials).
|
|||
## More information
|
||||
|
||||
- [API documentation](https://cart.liquidweb.com/storm/api/docs/v1/)
|
||||
- [Go client](https://github.com/liquidweb/liquidweb-go)
|
||||
|
||||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
||||
<!-- providers/dns/liquidweb/liquidweb.toml -->
|
||||
|
|
|
@ -33,7 +33,7 @@ type acmeDNSClient interface {
|
|||
RegisterAccount([]string) (goacmedns.Account, error)
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface for
|
||||
// DNSProvider is an implementation of the challenge.Provider interface for
|
||||
// an ACME-DNS server.
|
||||
type DNSProvider struct {
|
||||
client acmeDNSClient
|
||||
|
|
|
@ -38,7 +38,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *alidns.Client
|
||||
|
|
|
@ -51,7 +51,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
authorizer autorest.Authorizer
|
||||
|
|
|
@ -31,7 +31,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses
|
||||
// DNSProvider is an implementation of the challenge.Provider interface that uses
|
||||
// Bindman's Address Manager REST API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -46,7 +46,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses
|
||||
// DNSProvider is an implementation of the challenge.Provider interface that uses
|
||||
// Bluecat's Address Manager REST API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -39,7 +39,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
client *cloudflare.API
|
||||
config *Config
|
||||
|
|
|
@ -34,7 +34,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *internal.Client
|
||||
|
|
|
@ -34,7 +34,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *internal.Client
|
||||
|
|
|
@ -37,7 +37,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *internal.Client
|
||||
|
|
|
@ -35,7 +35,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
// that uses DigitalOcean's REST API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -33,7 +33,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *dnsimple.Client
|
||||
|
|
|
@ -41,7 +41,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses
|
||||
// DNSProvider is an implementation of the challenge.Provider interface that uses
|
||||
// DNSMadeEasy's DNS API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -35,7 +35,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *dnspod.Client
|
||||
|
|
|
@ -35,7 +35,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses
|
||||
// DNSProvider is an implementation of the challenge.Provider interface that uses
|
||||
// Dyn's Managed DNS API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -11,10 +11,9 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/go-acme/lego/v3/challenge/dns01"
|
||||
"github.com/go-acme/lego/v3/platform/config/env"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
// Config is used to configure the creation of the DNSProvider
|
||||
|
@ -70,7 +69,7 @@ func NewDNSProvider() (*DNSProvider, error) {
|
|||
return NewDNSProviderConfig(config)
|
||||
}
|
||||
|
||||
// NewDNSProviderConfig return a DNSProvider .
|
||||
// NewDNSProviderConfig return a DNSProvider instance configured for EasyDNS.
|
||||
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
|
||||
if config == nil {
|
||||
return nil, errors.New("easydns: the configuration of the DNS provider is nil")
|
||||
|
|
|
@ -38,7 +38,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *egoscale.Client
|
||||
|
|
|
@ -30,7 +30,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ type inProgressInfo struct {
|
|||
}
|
||||
|
||||
// DNSProvider is an implementation of the
|
||||
// acme.ChallengeProviderTimeout interface that uses Gandi's XML-RPC
|
||||
// challenge.ProviderTimeout interface that uses Gandi's XML-RPC
|
||||
// API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
inProgressFQDNs map[string]inProgressInfo
|
||||
|
|
|
@ -50,7 +50,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
|
||||
// DNSProvider is an implementation of the
|
||||
// acme.ChallengeProviderTimeout interface that uses Gandi's LiveDNS
|
||||
// challenge.ProviderTimeout interface that uses Gandi's LiveDNS
|
||||
// API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -42,7 +42,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
|
||||
// DNSProvider is an implementation of the
|
||||
// acme.ChallengeProviderTimeout interface that uses GleSYS
|
||||
// challenge.ProviderTimeout interface that uses GleSYS
|
||||
// API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -42,7 +42,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
recordIDs map[string]string
|
||||
|
|
|
@ -75,7 +75,7 @@ func NewDNSProvider() (*DNSProvider, error) {
|
|||
return NewDNSProviderConfig(config)
|
||||
}
|
||||
|
||||
// NewDNSProviderConfig return a DNSProvider .
|
||||
// NewDNSProviderConfig return a DNSProvider.
|
||||
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
|
||||
if config == nil {
|
||||
return nil, errors.New("httpreq: the configuration of the DNS provider is nil")
|
||||
|
|
|
@ -32,7 +32,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider implements the acme.ChallengeProvider interface
|
||||
// DNSProvider implements the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
api *doapi.API
|
||||
config *Config
|
||||
|
|
|
@ -32,7 +32,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *goinwx.Client
|
||||
|
|
|
@ -59,7 +59,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider implements the acme.ChallengeProvider interface
|
||||
// DNSProvider implements the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
client *lightsail.Lightsail
|
||||
config *Config
|
||||
|
|
|
@ -38,7 +38,7 @@ type hostedZoneInfo struct {
|
|||
resourceName string
|
||||
}
|
||||
|
||||
// DNSProvider implements the acme.ChallengeProvider interface.
|
||||
// DNSProvider implements the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *dns.DNS
|
||||
|
|
|
@ -44,7 +44,7 @@ type hostedZoneInfo struct {
|
|||
resourceName string
|
||||
}
|
||||
|
||||
// DNSProvider implements the acme.ChallengeProvider interface.
|
||||
// DNSProvider implements the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *linodego.Client
|
||||
|
|
|
@ -41,7 +41,7 @@ func NewDefaultConfig() *Config {
|
|||
return config
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
// that uses Liquid Web's REST API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -25,3 +25,4 @@ lego --dns liquidweb --email someaccount@email.com --domains "foo.email.com" run
|
|||
|
||||
[Links]
|
||||
API = "https://cart.liquidweb.com/storm/api/docs/v1/"
|
||||
GoClient = "https://github.com/liquidweb/liquidweb-go"
|
||||
|
|
|
@ -33,7 +33,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@ func NewDNSProvider() (*DNSProvider, error) {
|
|||
return NewDNSProviderConfig(config)
|
||||
}
|
||||
|
||||
// NewDNSProviderConfig return a DNSProvider instance configured for namecheap.
|
||||
// NewDNSProviderConfig return a DNSProvider instance configured for Namecheap.
|
||||
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
|
||||
if config == nil {
|
||||
return nil, errors.New("namecheap: the configuration of the DNS provider is nil")
|
||||
|
|
|
@ -39,7 +39,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
client *namecom.NameCom
|
||||
config *Config
|
||||
|
|
|
@ -34,7 +34,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
client *namesilo.Client
|
||||
config *Config
|
||||
|
@ -56,7 +56,7 @@ func NewDNSProvider() (*DNSProvider, error) {
|
|||
return NewDNSProviderConfig(config)
|
||||
}
|
||||
|
||||
// NewDNSProviderConfig return a DNSProvider instance configured for DNSimple.
|
||||
// NewDNSProviderConfig return a DNSProvider instance configured for Namesilo.
|
||||
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
|
||||
if config == nil {
|
||||
return nil, errors.New("namesilo: the configuration of the DNS provider is nil")
|
||||
|
|
|
@ -38,7 +38,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
client *internal.Client
|
||||
config *Config
|
||||
|
|
|
@ -37,7 +37,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider implements the acme.ChallengeProvider interface
|
||||
// DNSProvider implements the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
client *internal.Client
|
||||
config *Config
|
||||
|
|
|
@ -36,7 +36,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
client *rest.Client
|
||||
config *Config
|
||||
|
|
|
@ -35,7 +35,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
client *dns.DnsClient
|
||||
config *Config
|
||||
|
|
|
@ -58,7 +58,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface that uses
|
||||
// DNSProvider is an implementation of the challenge.Provider interface that uses
|
||||
// OTC's Managed DNS API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -51,7 +51,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
// that uses OVH's REST API to manage TXT records for a domain.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -37,7 +37,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
apiVersion int
|
||||
config *Config
|
||||
|
|
|
@ -40,7 +40,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface
|
||||
// DNSProvider is an implementation of the challenge.Provider interface
|
||||
// used to store the reusable token and DNS API endpoint
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -38,7 +38,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface that
|
||||
// DNSProvider is an implementation of the challenge.Provider interface that
|
||||
// uses dynamic DNS updates (RFC 2136) to create TXT records on a nameserver.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
|
|
|
@ -38,7 +38,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider implements the acme.ChallengeProvider interface
|
||||
// DNSProvider implements the challenge.Provider interface
|
||||
type DNSProvider struct {
|
||||
client *route53.Route53
|
||||
config *Config
|
||||
|
|
|
@ -34,7 +34,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *api.DNSAPI
|
||||
|
|
|
@ -52,7 +52,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *internal.Client
|
||||
|
|
|
@ -41,7 +41,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
BaseURL *url.URL
|
||||
client *http.Client
|
||||
|
|
|
@ -64,7 +64,7 @@ func NewDNSProvider() (*DNSProvider, error) {
|
|||
return NewDNSProviderConfig(config)
|
||||
}
|
||||
|
||||
// NewDNSProviderConfig return a DNSProvider .
|
||||
// NewDNSProviderConfig return a DNSProvider instance configured for Versio.
|
||||
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
|
||||
if config == nil {
|
||||
return nil, errors.New("versio: the configuration of the DNS provider is nil")
|
||||
|
|
|
@ -53,7 +53,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *internal.Client
|
||||
|
|
|
@ -42,7 +42,7 @@ func NewDefaultConfig() *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// DNSProvider is an implementation of the acme.ChallengeProvider interface.
|
||||
// DNSProvider is an implementation of the challenge.Provider interface.
|
||||
type DNSProvider struct {
|
||||
config *Config
|
||||
client *govultr.Client
|
||||
|
|
|
@ -63,7 +63,7 @@ func NewDNSProvider() (*DNSProvider, error) {
|
|||
return NewDNSProviderConfig(config)
|
||||
}
|
||||
|
||||
// NewDNSProviderConfig return a DNSProvider .
|
||||
// NewDNSProviderConfig return a DNSProvider instance configured for Zone.ee
|
||||
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
|
||||
if config == nil {
|
||||
return nil, errors.New("zoneee: the configuration of the DNS provider is nil")
|
||||
|
|
Loading…
Reference in a new issue