Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdenticalRecords ¶
func IdenticalRecords(a, b cloudflare.DNSRecord, domain string) bool
IdenticalRecords checks that two Cloudflare records have entirely identical configurations
func MatchingRecord ¶
func MatchingRecord(a, b cloudflare.DNSRecord, domain string) bool
MatchingRecord checks that two Cloudflare records have the same uniqueness signature
func MergeConfig ¶
MergeConfig combines the source's valid entries with the target
func ValidateConfig ¶
ValidateConfig determines whether the given config is sufficient
Types ¶
type Config ¶
type Config struct {
Key string `yaml:"key,omitempty"`
Email string `yaml:"email,omitempty"`
Name string `yaml:"name,omitempty"`
Domain string `yaml:"domain,omitempty"`
IP string `yaml:"ip,omitempty"`
RecordType string `yaml:"recordType,omitempty"`
LogLevel string `yaml:"logLevel,omitempty"`
}
Config provides configuration for dddd runner
func ParseConfig ¶
ParseConfig is used to load a config from a specific file
Click to show internal directories.
Click to hide internal directories.