From a81cf3b385e45587a6be51f7958f9042975fc0c6 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 20 Aug 2026 21:57:55 +0200 Subject: Add bunny.net provider Signed-off-by: Mel --- provider/provider.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'provider/provider.go') diff --git a/provider/provider.go b/provider/provider.go index ce4a715..3f147e5 100644 --- a/provider/provider.go +++ b/provider/provider.go @@ -15,8 +15,8 @@ import ( type Kind string const ( - // only the generic dummy testing provider for now KindDummy Kind = "dummy" + KindBunny Kind = "bunny" ) type RecordType string @@ -75,6 +75,8 @@ func New(log *slog.Logger, name string, cfg Config) (Provider, error) { switch cfg.Kind { case KindDummy: return newDummy(log) + case KindBunny: + return newBunny(log, cfg) default: return nil, fmt.Errorf("unknown provider kind %q", cfg.Kind) } -- cgit v1.3.1