Documentation ¶
Index ¶
- type DnsServiceAdapter
- type GoogleCloudDns
- func (ns *GoogleCloudDns) HasAFor(name string) (bool, error)
- func (ns *GoogleCloudDns) ListRecordsWithName(name string, recordType string) ([]*dns.ResourceRecordSet, error)
- func (ns *GoogleCloudDns) ListZone() ([]*dns.ResourceRecordSet, error)
- func (ns *GoogleCloudDns) SetDefaultTTL(ttl int)
- func (ns *GoogleCloudDns) SetZone(zoneName string)
- func (ns *GoogleCloudDns) UpdateRecord(domain string, value string, recordType string) (string, error)
- type GoogleServiceAdapter
- type NSUpdate
- type Updater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsServiceAdapter ¶
type GoogleCloudDns ¶
type GoogleCloudDns struct {
// contains filtered or unexported fields
}
func NewGoogleDns ¶
func NewGoogleDns(projectName string) *GoogleCloudDns
func (*GoogleCloudDns) ListRecordsWithName ¶
func (ns *GoogleCloudDns) ListRecordsWithName(name string, recordType string) ([]*dns.ResourceRecordSet, error)
func (*GoogleCloudDns) ListZone ¶
func (ns *GoogleCloudDns) ListZone() ([]*dns.ResourceRecordSet, error)
func (*GoogleCloudDns) SetDefaultTTL ¶
func (ns *GoogleCloudDns) SetDefaultTTL(ttl int)
func (*GoogleCloudDns) SetZone ¶
func (ns *GoogleCloudDns) SetZone(zoneName string)
func (*GoogleCloudDns) UpdateRecord ¶
type GoogleServiceAdapter ¶
type GoogleServiceAdapter struct {
// contains filtered or unexported fields
}
type NSUpdate ¶
type NSUpdate struct { Server string Zone string Domain string DefaultTTL int // contains filtered or unexported fields }
func NewNsUpdater ¶
func (*NSUpdate) SetDefaultTTL ¶
Click to show internal directories.
Click to hide internal directories.