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