route53

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 4 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 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