type CSRSigningControllerOptions … // AddFlags adds flags related to CSRSigningController for controller manager to the specified FlagSet. func (o *CSRSigningControllerOptions) AddFlags(fs *pflag.FlagSet) { … } // ApplyTo fills up CSRSigningController config with options. func (o *CSRSigningControllerOptions) ApplyTo(cfg *csrsigningconfig.CSRSigningControllerConfiguration) error { … } // Validate checks validation of CSRSigningControllerOptions. func (o *CSRSigningControllerOptions) Validate() []error { … } // both must be specified or both must be empty func csrSigningFilesValid(config csrsigningconfig.CSRSigningConfiguration) error { … }