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