Versions in this module Expand all Collapse all v1 v1.1.0 Jun 1, 2024 v1.0.0 Jun 1, 2024 Changes in this version + const RULES_NEXISTS_CREATE + const RULES_NEXISTS_SKIP + const RULES_NEXISTS_TAG + const RULES_UPDATE_ALWAYS + const RULES_UPDATE_NEVER + const RULES_UPDATE_TAG + var CONFIG_MAP_PATH = os.Getenv("CONFIG_MAP_PATH") + var CONFIG_MOD_PATH = os.Getenv("CONFIG_MOD_PATH") + type Cloudflare struct + APIKey string + Api *cfgo.API + Email string + SLog *slog.Instance + UserInfo cfgo.User + func (cf *Cloudflare) CreateDNSRecord(zone *Zone, dns *Dns) error + func (cf *Cloudflare) DNSRecordHasDiff(zone *Zone, dns *Dns) bool + func (cf *Cloudflare) ExistsDNSRecord(zone *Zone, dns *Dns) bool + func (cf *Cloudflare) ExistsZone(zone *Zone) bool + func (cf *Cloudflare) Initialize() *Cloudflare + func (cf *Cloudflare) LoadDNSRecords(zone *Zone) + func (cf *Cloudflare) UpdateDNSRecord(zone *Zone, dns *Dns) error + type CloudflareZoneManager struct + ConfigMap ConfigMap + SLog *slog.Instance + Srv struct{ ... } + func (e *CloudflareZoneManager) Init() + func (e *CloudflareZoneManager) InitServices() + func (e *CloudflareZoneManager) VerifyAndUpdateZones() + type ConfigMap struct + Cloudflare Cloudflare + Zones []Zone + func (cMap *ConfigMap) ReadConfigMap() + type DNSMetadata struct + Data string + Key string + type Dns struct + Content string + Dtype string + ID string + Module Module + Name string + Proxied bool + Rules Rules + TTL int + type Module struct + Metadata []DNSMetadata + Mods *Modules + Name string + func (m *Module) Resolve() string + type ModuleLoad struct + Name string + Plugin *plugin.Plugin + type Modules struct + Loaded []*ModuleLoad + SLog *slog.Instance + func (m *Modules) LoadAllModules() + type Plugin interface + Resolve func(interface{}) string + type Rules struct + NotExist string + Update string + func (r *Rules) VerifyRule(tag string) bool + type Zone struct + DNSRecords []cfgo.DNSRecord + Dns []Dns + Hostname string + Id string v1.0.0-rc0.1 Jun 1, 2024