Documentation ¶
Index ¶
- Constants
- Variables
- func AlignHostname(host string) string
- func DNSNameMatcher(dnsname string) resources.ObjectMatcher
- func NormalizeHostname(host string) string
- func SupportedRecordType(t string) bool
- type Cache
- type DNSSet
- func (this *DNSSet) Clone() *DNSSet
- func (this *DNSSet) GetAttr(name string) string
- func (this *DNSSet) GetOwner() string
- func (this *DNSSet) IsForeign(owners utils.StringSet) bool
- func (this *DNSSet) IsOwnedBy(owners utils.StringSet) bool
- func (this *DNSSet) SetAttr(name string, value string)
- func (this *DNSSet) SetOwner(ownerid string) *DNSSet
- func (this *DNSSet) SetRecordSet(rtype string, ttl int64, values ...string)
- type DNSSets
- type Group
- type GroupInfo
- type GroupKey
- type Record
- type RecordSet
- func (this *RecordSet) Add(records ...*Record) *RecordSet
- func (this *RecordSet) Clone() *RecordSet
- func (this *RecordSet) DiffTo(set *RecordSet) (new Records, update Records, delete Records)
- func (this *RecordSet) GetAttr(name string) string
- func (this *RecordSet) Length() int
- func (this *RecordSet) Match(set *RecordSet) bool
- func (this *RecordSet) RecordString() string
- func (this *RecordSet) SetAttr(name string, value string)
- type RecordSets
- type Records
Constants ¶
View Source
const ( ATTR_OWNER = "owner" ATTR_PREFIX = "prefix" ATTR_CNAMES = "cnames" )
View Source
const ANNOTATION_GROUP = "dns.gardener.cloud"
View Source
const CLASS_ANNOTATION = ANNOTATION_GROUP + "/class"
View Source
const CONTROLLER_GROUP_DNS_CONTROLLERS = "dnscontrollers"
View Source
const CONTROLLER_GROUP_DNS_SOURCES = "dnssources"
View Source
const DEFAULT_CLASS = "gardendns"
View Source
const OPT_SETUP = "setup"
View Source
const REALM_ANNOTATION = ANNOTATION_GROUP + "/realms"
View Source
const RS_A = "A"
View Source
const RS_ALIAS = "ALIAS" // provider specific alias for CNAME record (e.g. AWS alias target)
View Source
const RS_CNAME = "CNAME"
View Source
const RS_META = "META"
View Source
const RS_NS = "NS"
View Source
const RS_TXT = "TXT"
Variables ¶
View Source
var TxtPrefix = "comment-"
Functions ¶
func AlignHostname ¶
func DNSNameMatcher ¶
func DNSNameMatcher(dnsname string) resources.ObjectMatcher
func NormalizeHostname ¶
func SupportedRecordType ¶
Types ¶
type DNSSet ¶
type DNSSet struct { Name string Sets RecordSets }
type DNSSets ¶
func (DNSSets) AddRecordSet ¶
func (DNSSets) AddRecordSetFromProvider ¶
func (DNSSets) RemoveRecordSet ¶
type RecordSets ¶
func (RecordSets) Clone ¶ added in v0.7.14
func (this RecordSets) Clone() RecordSets
Click to show internal directories.
Click to hide internal directories.