Versions in this module Expand all Collapse all v1 v1.15.1 Feb 17, 2020 v1.15.0 Feb 17, 2020 Changes in this version + const DefaultTTL + const RecordTypeA + const RecordTypeAlias + const RecordTypeCNAME + const RoleTypeExternal + const RoleTypeInternal + func AliasForNodesInRole(role, roleType string) string + func EnsureDotSuffix(s string) string + func FixWildcards(s string) string + type Context interface + CreateScope func(name string) (Scope, error) + type DNSController struct + func NewDNSController(dnsProviders []dnsprovider.Interface, zoneRules *ZoneRules, updateInterval int) (*DNSController, error) + func (c *DNSController) CreateScope(scopeName string) (Scope, error) + func (c *DNSController) RemoveRecordsImmediate(records []Record) error + func (c *DNSController) Run() + type DNSControllerScope struct + Ready bool + Records map[string][]Record + ScopeName string + func (s *DNSControllerScope) AllKeys() []string + func (s *DNSControllerScope) MarkReady() + func (s *DNSControllerScope) Replace(recordName string, records []Record) + type Record struct + AliasTarget bool + FQDN string + RecordType RecordType + Value string + func (r *Record) String() string + type RecordType string + type Scope interface + AllKeys func() []string + MarkReady func() + Replace func(recordName string, records []Record) + type ZoneRules struct + Wildcard bool + Zones []*ZoneSpec + func ParseZoneRules(zones []string) (*ZoneRules, error) + func (r *ZoneRules) MatchesExplicitly(zone dnsprovider.Zone) bool + type ZoneSpec struct + ID string + Name string + func ParseZoneSpec(s string) (*ZoneSpec, error)