// AddToManager adds all Controllers which have all their mandatory GVs installed to the Manager
AddToManager adds all Controllers which have all their mandatory GVs installed to the Manager
// AddToManager adds all Controllers which have all their mandatory GVs installed to the Manager
func AddToManager(m manager.Manager, missingGVS []schema.GroupVersion) error {
	for _, a := range AddToManagerFuncs {
		if mandatoryGVSatisfied(a, missingGVS) {
			log.Info(fmt.Sprintf("Add to manager %s:", a.MandatoryGroupVersions))
			if err := a.function(m); err != nil {
				return err
			}
		}
	}
	return nil
}
func AddToManager ( m manager . Manager , missingGVS [ ] schema . GroupVersion ) error { for _ , a := range AddToManagerFuncs { if mandatoryGVSatisfied ( a , missingGVS ) { log . Info ( fmt . Sprintf ( " " , a . MandatoryGroupVersions ) ) if err := a . function ( m ) ; err != nil { return err } } } return nil }
AddToManager adds all Controllers which have all their mandatory GVs installed to the Manager
AddToManager adds all Controllers which have all their mandatory GVs installed to the Manager