aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/collectd-operator/pkg/controller/controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/collectd-operator/pkg/controller/controller.go')
-rw-r--r--vnfs/DAaaS/collectd-operator/pkg/controller/controller.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/vnfs/DAaaS/collectd-operator/pkg/controller/controller.go b/vnfs/DAaaS/collectd-operator/pkg/controller/controller.go
deleted file mode 100644
index 7c069f3e..00000000
--- a/vnfs/DAaaS/collectd-operator/pkg/controller/controller.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package controller
-
-import (
- "sigs.k8s.io/controller-runtime/pkg/manager"
-)
-
-// AddToManagerFuncs is a list of functions to add all Controllers to the Manager
-var AddToManagerFuncs []func(manager.Manager) error
-
-// AddToManager adds all Controllers to the Manager
-func AddToManager(m manager.Manager) error {
- for _, f := range AddToManagerFuncs {
- if err := f(m); err != nil {
- return err
- }
- }
- return nil
-}