summaryrefslogtreecommitdiff
path: root/provider/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'provider/provider.go')
-rw-r--r--provider/provider.go4
1 files changed, 3 insertions, 1 deletions
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)
}