dns

package
v6.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 30 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 new DNS subprovider

func (*Subprovider) Client

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

Client returns the DNS interface

func (*Subprovider) FrameworkDataSources

func (p *Subprovider) FrameworkDataSources() []func() datasource.DataSource

FrameworkDataSources returns the DNS data sources implemented using terraform-plugin-framework

func (*Subprovider) FrameworkResources

func (p *Subprovider) FrameworkResources() []func() resource.Resource

FrameworkResources returns the DNS resources implemented using terraform-plugin-framework

func (*Subprovider) SDKDataSources

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

SDKDataSources returns the DNS data sources implemented using terraform-plugin-sdk

func (*Subprovider) SDKResources

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

SDKResources returns the DNS resources implemented using terraform-plugin-sdk

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