package
0.0.0-20230227000145-7f8d8f8780fe
Repository: https://github.com/neophenix/lxdepot.git
Documentation: pkg.go.dev
# Functions
New should just hand back the appropriate interface for our config settings, returning from the correct "New" function for our integration.
NewAmazonDNS will return our Amazon Route 53 DNS interface.
NewGoogleDNS will return our GCP DNS interface The creds, project, and zone here are actually in the options as well, but they are important enough to warrant being "top level" items.
# Variables
DNSOptions holds the various options from the main config we might want to use, this does mean these values are in multiple places, which is odd but they dont' change execpt on restart (today).
# Structs
AmazonDNS stores all the options we need to talk to Route 53.
GoogleDNS stores all the options we need to talk to GCP.
RecordList is a simple look at DNS records used as a common return for our interface.
# Interfaces
The DNS interface provides the list of functions all our 3rd party integrations should support.