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