dns

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package dns contains implementation for Akamai Terraform sub-provider responsible for managing DNS zones configuration

Index

Constants

View Source
const (
	RRTypeA          = "A"
	RRTypeAaaa       = "AAAA"
	RRTypeAfsdb      = "AFSDB"
	RRTypeAkamaiCdn  = "AKAMAICDN"
	RRTypeAkamaiTlc  = "AKAMAITLC"
	RRTypeCaa        = "CAA"
	RRTypeCname      = "CNAME"
	RRTypeHinfo      = "HINFO"
	RRTypeLoc        = "LOC"
	RRTypeMx         = "MX"
	RRTypeNaptr      = "NAPTR"
	RRTypeNs         = "NS"
	RRTypePtr        = "PTR"
	RRTypeRp         = "RP"
	RRTypeSoa        = "SOA"
	RRTypeSrv        = "SRV"
	RRTypeSpf        = "SPF"
	RRTypeSshfp      = "SSHFP"
	RRTypeTlsa       = "TLSA"
	RRTypeTxt        = "TXT"
	RRTypeDnskey     = "DNSKEY"
	RRTypeDs         = "DS"
	RRTypeNsec3      = "NSEC3"
	RRTypeNsec3Param = "NSEC3PARAM"
	RRTypeRrsig      = "RRSIG"
	RRTypeCert       = "CERT"
	RRTypeHTTPS      = "HTTPS"
	RRTypeSvcb       = "SVCB"
)

Resource record types supported by the Akamai Edge DNS API

Variables

This section is empty.

Functions

func FullIPv6

func FullIPv6(ip net.IP) string

FullIPv6 encodes IPV6 as a full string

Types

type Subprovider

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

Subprovider gathers dns resources and data sources

func NewSubprovider

func NewSubprovider() *Subprovider

NewSubprovider returns a core sub provider

func (*Subprovider) Client

func (p *Subprovider) Client(meta meta.Meta) dns.DNS

Client returns the DNS interface

func (*Subprovider) DataSources

func (p *Subprovider) DataSources() map[string]*schema.Resource

DataSources returns terraform data sources for dns

func (*Subprovider) Resources

func (p *Subprovider) Resources() map[string]*schema.Resource

Resources returns terraform resources for imadnsging

Directories

Path Synopsis
internal
txtrecord
Package txtrecord contains logic used handling and transforming DNS records of type TXT.
Package txtrecord contains logic used handling and transforming DNS records of type TXT.

Jump to

Keyboard shortcuts

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