Refactor Distributed Analytics project structure
[demo.git] / vnfs / DAaaS / microservices / collectd-operator / pkg / controller / add_collectdplugin.go
diff --git a/vnfs/DAaaS/microservices/collectd-operator/pkg/controller/add_collectdplugin.go b/vnfs/DAaaS/microservices/collectd-operator/pkg/controller/add_collectdplugin.go
new file mode 100644 (file)
index 0000000..da8d1e1
--- /dev/null
@@ -0,0 +1,10 @@
+package controller
+
+import (
+       "demo/vnfs/DAaaS/collectd-operator/pkg/controller/collectdplugin"
+)
+
+func init() {
+       // AddToManagerFuncs is a list of functions to create controllers and add them to a manager.
+       AddToManagerFuncs = append(AddToManagerFuncs, collectdplugin.Add)
+}