type CloudProviderOptions … // Validate checks validation of cloudprovider options. func (s *CloudProviderOptions) Validate() []error { … } // AddFlags adds flags related to cloudprovider for controller manager to the specified FlagSet. func (s *CloudProviderOptions) AddFlags(fs *pflag.FlagSet) { … } // ApplyTo fills up cloudprovider config with options. func (s *CloudProviderOptions) ApplyTo(cfg *cpconfig.CloudProviderConfiguration) error { … }