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