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