Documentation ¶
Index ¶
- type DNSProvider
- type OpenDNSConfig
- func (o OpenDNSConfig) GetRecord(zone string, name string, record_type string) (*dns.RecordBody, error)
- func (o OpenDNSConfig) RecordDelete(rec *dns.RecordBody, zone string) error
- func (o OpenDNSConfig) RecordSave(rec *dns.RecordBody, zone string) error
- func (o OpenDNSConfig) RecordUpdate(rec *dns.RecordBody, zone string) error
- type OpenEdgegridDNSService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSProvider ¶
type DNSProvider struct { TTL int // contains filtered or unexported fields }
DNSProvider is an implementation of the acme.ChallengeProvider interface
func NewDNSProvider ¶
func NewDNSProvider(serviceConsumerDomain, clientToken, clientSecret, accessToken string, dns01Nameservers []string) (*DNSProvider, error)
NewDNSProvider returns a DNSProvider instance configured for Akamai.
func (*DNSProvider) CleanUp ¶
func (a *DNSProvider) CleanUp(domain, fqdn, value string) error
CleanUp removes/updates the TXT record matching the specified parameters.
func (*DNSProvider) Present ¶
func (a *DNSProvider) Present(domain, fqdn, value string) error
Present creates/updates a TXT record to fulfill the dns-01 challenge.
type OpenDNSConfig ¶ added in v1.4.0
type OpenDNSConfig struct {
// contains filtered or unexported fields
}
func (OpenDNSConfig) GetRecord ¶ added in v1.4.0
func (o OpenDNSConfig) GetRecord(zone string, name string, record_type string) (*dns.RecordBody, error)
func (OpenDNSConfig) RecordDelete ¶ added in v1.4.0
func (o OpenDNSConfig) RecordDelete(rec *dns.RecordBody, zone string) error
func (OpenDNSConfig) RecordSave ¶ added in v1.4.0
func (o OpenDNSConfig) RecordSave(rec *dns.RecordBody, zone string) error
func (OpenDNSConfig) RecordUpdate ¶ added in v1.4.0
func (o OpenDNSConfig) RecordUpdate(rec *dns.RecordBody, zone string) error
type OpenEdgegridDNSService ¶ added in v1.4.0
type OpenEdgegridDNSService interface { GetRecord(zone string, name string, record_type string) (*dns.RecordBody, error) RecordSave(rec *dns.RecordBody, zone string) error RecordUpdate(rec *dns.RecordBody, zone string) error RecordDelete(rec *dns.RecordBody, zone string) error }
Interface defined to enable mocking and required functions
Click to show internal directories.
Click to hide internal directories.