type DeprecatedControllerOptions … // AddFlags adds flags related to DeprecatedController for controller manager to the specified FlagSet. func (o *DeprecatedControllerOptions) AddFlags(fs *pflag.FlagSet) { … } // ApplyTo fills up DeprecatedController config with options. func (o *DeprecatedControllerOptions) ApplyTo(cfg *kubectrlmgrconfig.DeprecatedControllerConfiguration) error { … } // Validate checks validation of DeprecatedControllerOptions. func (o *DeprecatedControllerOptions) Validate() []error { … }