package
3.31.4
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

EnableDiff2 is true to activate the experimental diff2 algorithm.

# Structs

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.).