route53

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestDnsAnswer added in v0.1.5

func TestDnsAnswer(zoneID string, recordName string, recordType string) (string, error)

func Update added in v0.1.5

func Update(zoneID string, change ChangeResourceRecordSet, dir string) (string, error)

Types

type Change

type Change struct {
	Action            string            `json:"Action"`
	ResourceRecordSet ResourceRecordSet `json:"ResourceRecordSet"`
}

type ChangeResourceRecordSet

type ChangeResourceRecordSet struct {
	Changes []Change `json:"Changes"`
}

func A added in v0.0.24

func A(record string, value string, action string) ChangeResourceRecordSet

func CNAME

func CNAME(record string, value string, action string) ChangeResourceRecordSet

type DNSAnswer added in v0.1.5

type DNSAnswer struct {
	Nameserver   string   `json:"Nameserver"`
	RecordName   string   `json:"RecordName"`
	RecordType   string   `json:"RecordType"`
	RecordData   []string `json:"RecordData"`
	ResponseCode string   `json:"ResponseCode"`
	Protocol     string   `json:"Protocol"`
}

type RecordValues added in v1.8.0

type RecordValues struct {
	Name   string
	Type   string
	Record string
}

func GetRecord added in v1.8.0

func GetRecord(zoneID string, domainname string) (RecordValues, error)

External delete_cluster.go needs to query an existing record, to get the actual record type for deletion

type ResourceRecord

type ResourceRecord struct {
	Value string `json:"Value"`
}

type ResourceRecordSet

type ResourceRecordSet struct {
	Name            string           `json:"Name"`
	Type            string           `json:"Type"`
	TTL             int              `json:"TTL"`
	ResourceRecords []ResourceRecord `json:"ResourceRecords"`
}

Jump to

Keyboard shortcuts

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