1 2 3 4 5 6 7 8 9 10
package controller import ( "monitor/pkg/controller/resourcebundlestate" ) func init() { AddToManagerFuncs = append(AddToManagerFuncs, resourcebundlestate.Add) AddToManagerFuncs = append(AddToManagerFuncs, resourcebundlestate.AddPodController) }