package
4.17.0
Repository: https://github.com/stackexchange/dnscontrol.git
Documentation: pkg.go.dev

# Functions

ByLabel takes two lists of records (existing and desired) and returns instructions for turning existing into desired.
ByRecord takes two lists of records (existing and desired) and returns instructions for turning existing into desired.
ByRecordSet takes two lists of records (existing and desired) and returns instructions for turning existing into desired.
ByZone takes two lists of records (existing and desired) and returns text to output to users describing the change, a bool indicating if there were any changes, and a possible err value.
NewCompareConfig creates a CompareConfig from a set of records and other data.

# Constants

Change existing record/recordset/label.
Create a record/recordset/label where none existed before.
Delete existing record/recordset/label.
No change, but I have something to say!.

# Variables

DisableOrdering can be set to true to disable the reordering of the changes.

# Structs

ByResults is the results of ByZone() and perhaps someday all the By*() functions.
Change is an instruction to the provider.
CompareConfig stores a zone's records in a structure that makes comparing two zones convenient.

# Type aliases

ChangeList is a list of Change.
ComparableFunc is a signature for functions used to generate a comparable blob for custom records and records with metadata.
Verb indicates the Change's type (create, delete, etc.).