code: func (o *GenericControllerManagerConfigurationOptions) Validate(allControllers []string, disabledByDefaultControllers []string) []error {
  	if o == nil {
  		return nil
  	}
  
  	errs := []error{}
  	errs = append(errs, o.Debugging.Validate()...)
  
  	allControllersSet := sets.NewString(allControllers...)
  	for _, controller := range o.Controllers {
  		if controller == "*" {
  			continue
  		}
  		if strings.HasPrefix(controller, "-") {
  			controller = controller[1:]
  		}
  		if !allControllersSet.Has(controller) {
  			errs = append(errs, fmt.Errorf("%q is not in the list of known controllers", controller))
  		}
  	}
  
  	return errs
  }
docs: // Validate checks validation of GenericOptions.