package
2.10.0+incompatible
Repository: https://github.com/stackexchange/dnscontrol.git
Documentation: pkg.go.dev
# Functions
CreateDomains contains all data/flags needed to run create-domains, independently of CLI.
ExecuteDSL executes the dnsconfig.js contents.
No description provided by the author
GetDNSConfig reads the json-formatted IR file.
InitializeProviders takes a creds file path and a DNSConfig object.
Preview implements the preview subcommand.
PrintIR implements the print-ir subcommand.
PrintJSON outputs/prettyprints the IR data.
PrintValidationErrors formats and prints the validation errors and warnings.
Push implements the push subcommand.
Run will execute the CLI.
# Structs
CreateDomainsArgs args required for the create-domain subcommand.
ExecuteDSLArgs are used anytime we need to read and execute dnscontrol DSL.
FilterArgs encapsulates the flags/args for sub-commands that can filter by provider or domain.
No description provided by the author
GetCredentialsArgs encapsulates the flags/args for sub-commands that use the creds.json file.
GetDNSConfigArgs contains what we need to get a valid dns config.
PreviewArgs contains all data/flags needed to run preview, independently of CLI.
PrintIRArgs encapsulates the flags/arguments for the print-ir command.
PrintJSONArgs are used anytime a command may print some json.
PushArgs contains all data/flags needed to run push, independently of CLI.