Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToManagerFuncs = []AddToManagerFunc{ csr.Add, managedcluster.Add, importconfig.Add, manifestwork.Add, selfmanagedcluster.Add, autoimport.Add, clusterdeployment.Add, }
AddToManagerFuncs is a list of functions to add all controllers to the manager
Functions ¶
func AddToManager ¶
func AddToManager(manager manager.Manager, clientHolder *helpers.ClientHolder, importSecretInformer, autoImportSecretInformer cache.SharedIndexInformer) error
AddToManager adds all controllers to the manager
Types ¶
type AddToManagerFunc ¶
type AddToManagerFunc func(manager.Manager, *helpers.ClientHolder, cache.SharedIndexInformer, cache.SharedIndexInformer) (string, error)
Click to show internal directories.
Click to hide internal directories.