# Functions
Connect opens a connection to the database and runs migrations.
CredentialAddOrUpdate adds a new credential to the database.
CredentialDelete deletes a credential from the database.
CredentialList gets a list of credentials.
CredentialsContains checks if a FQDN is in the given list of credentials.
NewKey generates a new DNSSEC signing key for a zone.
Open opens a postgres database connection with a new logger.
RecordAdd adds a new record to a zone.
RecordDelete deletes a DNS record from a zone.
RecordList returns a list of DNS records for a zone.
RecordListAll returns a list of all DNS records.
RecordUpdate updates a DNS record.
ScriptRecords returns a map of DNS labels to script strings.
ScriptValidate attempts to compile a script.
SuffixList gets the public suffix list.
TestSetup sets up the test environment by opening a database connection, dropping all tables, and inserting test data.
UserAdd creates a new user.
UserCreatePasswordResetToken creates a User's password reset token.
UserDelete deletes a user.
UserFindByAuth finds a user by API key and returns nil if no user exists.
UserFindByEmail finds a user by email and returns nil if no user exists.
UserFindById finds a user by ID and returns nil if no user exists.
UserGroupAdd adds a role to a Group.
UserGroupDelete removes a role from a Group.
UserList gets a list of all users.
UserResetPassword resets a User's password.
UserValidatePasswordResetToken checks that a provided password reset token is valid.
ZoneAdd adds a DNS zone by zone name and user email.
ZoneDelete deletes a DNS zone.
ZoneFind finds a zone by FQDN and returns nil if no zone exists.
ZoneFindByID gets a zone by UUID.
ZoneIncrementSerial increments a zone's SOA serial by 1.
ZoneList gets a list of all zones.
ZoneRotateDNSSECKey rotates a zone's DNSSEC key.
ZoneUserAdd adds a user to a zone.
ZoneUserAuthorized checks if a user is authorized for a zone.
ZoneUserDelete deletes a user from a zone.
ZoneUserGetZones gets all zones a user is a member of.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
User is permitted to modify all resources.
User is permitted to make API requests.