akamai

package
v1.6.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

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

Jump to

Keyboard shortcuts

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