1 2 3 4 5 6 7 8 9 10
package controller import ( "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) }