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