diff options
| author | Elizabeth <elizabeth@simponic.xyz> | 2024-04-03 14:27:55 -0600 |
|---|---|---|
| committer | Elizabeth <elizabeth@simponic.xyz> | 2024-04-03 14:27:55 -0600 |
| commit | cc33a90bfd455f36169b01b0cca064cd35e2524f (patch) | |
| tree | f5c061592caedddf767afe7a8b581000e0c7e5ce /adapters/external_dns.go | |
| parent | c32ca84e8a1a87994d5233a2d51c640a368b88bc (diff) | |
| download | hatecomputers.club-cc33a90bfd455f36169b01b0cca064cd35e2524f.tar.gz hatecomputers.club-cc33a90bfd455f36169b01b0cca064cd35e2524f.zip | |
abstract dns adapter
Diffstat (limited to 'adapters/external_dns.go')
| -rw-r--r-- | adapters/external_dns.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/adapters/external_dns.go b/adapters/external_dns.go new file mode 100644 index 0000000..c861283 --- /dev/null +++ b/adapters/external_dns.go @@ -0,0 +1,8 @@ +package external_dns + +import "git.hatecomputers.club/hatecomputers/hatecomputers.club/database" + +type ExternalDNSAdapter interface { + CreateDNSRecord(record *database.DNSRecord) (string, error) + DeleteDNSRecord(id string) error +} |
