Documentation ¶
Index ¶
- func ChangeDNSRecord(change *dns.Change, svc *dns.Service, dnsProject, dnsZone string) error
- func DeleteDNSRecord(record *DNSRecord, svcAccountKeyFile, dnsProject, dnsZone string) error
- func GetCloudDNSSvc(svcAccountKeyFile string) (*dns.Service, error)
- func MakeRecordSet(record *DNSRecord) *dns.ResourceRecordSet
- type DNSRecord
- type EnvConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeDNSRecord ¶
ChangeDNSRecord changes the given DNS record.
func DeleteDNSRecord ¶
DeleteDNSRecord deletes the given DNS record.
func GetCloudDNSSvc ¶
GetCloudDNSSvc returns the Cloud DNS Service stub. reference: https://github.com/jetstack/cert-manager/blob/master/pkg/issuer/acme/dns/clouddns/clouddns.go
func MakeRecordSet ¶
func MakeRecordSet(record *DNSRecord) *dns.ResourceRecordSet
Types ¶
type EnvConfig ¶
type EnvConfig struct { FullHostName string `envconfig:"full_host_name" required: "true"` DNSZone string `envconfig:"dns_zone" required:"true"` CloudDNSServiceAccountKeyFile string `envconfig:"cloud_dns_service_account_key_file" required:"true"` CloudDNSProject string `envconfig:"cloud_dns_project" required:"true"` IngressIP string `envconfig:"ingress_ip" required:"true"` }
Click to show internal directories.
Click to hide internal directories.