Documentation ¶
Index ¶
- func AddCustomGlobalFlags(fs *pflag.FlagSet)
- type CloudProviderOptions
- type DebuggingOptions
- type GenericControllerManagerConfigurationOptions
- func (o *GenericControllerManagerConfigurationOptions) AddFlags(fss *apiserverflag.NamedFlagSets, ...)
- func (o *GenericControllerManagerConfigurationOptions) ApplyTo(cfg *kubectrlmgrconfig.GenericControllerManagerConfiguration) error
- func (o *GenericControllerManagerConfigurationOptions) Validate(allControllers []string, disabledByDefaultControllers []string) []error
- type KubeCloudSharedOptions
- type ServiceControllerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCustomGlobalFlags ¶
AddCustomGlobalFlags explicitly registers flags that internal packages register against the global flagsets from "flag". We do this in order to prevent unwanted flags from leaking into the *-controller-manager's flagset.
Types ¶
type CloudProviderOptions ¶
CloudProviderOptions holds the cloudprovider options.
func (*CloudProviderOptions) AddFlags ¶
func (s *CloudProviderOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to cloudprovider for controller manager to the specified FlagSet.
func (*CloudProviderOptions) ApplyTo ¶
func (s *CloudProviderOptions) ApplyTo(cfg *kubectrlmgrconfig.CloudProviderConfiguration) error
ApplyTo fills up cloudprovider config with options.
func (*CloudProviderOptions) Validate ¶
func (s *CloudProviderOptions) Validate() []error
Validate checks validation of cloudprovider options.
type DebuggingOptions ¶
DebuggingOptions holds the Debugging options.
func (*DebuggingOptions) AddFlags ¶
func (o *DebuggingOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to debugging for controller manager to the specified FlagSet.
func (*DebuggingOptions) ApplyTo ¶
func (o *DebuggingOptions) ApplyTo(cfg *apiserverconfig.DebuggingConfiguration) error
ApplyTo fills up Debugging config with options.
func (*DebuggingOptions) Validate ¶
func (o *DebuggingOptions) Validate() []error
Validate checks validation of DebuggingOptions.
type GenericControllerManagerConfigurationOptions ¶
type GenericControllerManagerConfigurationOptions struct { Port int32 Address string MinResyncPeriod metav1.Duration ClientConnection apimachineryconfig.ClientConnectionConfiguration ControllerStartInterval metav1.Duration LeaderElection apiserverconfig.LeaderElectionConfiguration Debugging *DebuggingOptions Controllers []string }
GenericControllerManagerConfigurationOptions holds the options which are generic.
func NewGenericControllerManagerConfigurationOptions ¶
func NewGenericControllerManagerConfigurationOptions(cfg kubectrlmgrconfig.GenericControllerManagerConfiguration) *GenericControllerManagerConfigurationOptions
NewGenericControllerManagerConfigurationOptions returns generic configuration default values for both the kube-controller-manager and the cloud-contoller-manager. Any common changes should be made here. Any individual changes should be made in that controller.
func (*GenericControllerManagerConfigurationOptions) AddFlags ¶
func (o *GenericControllerManagerConfigurationOptions) AddFlags(fss *apiserverflag.NamedFlagSets, allControllers, disabledByDefaultControllers []string)
AddFlags adds flags related to generic for controller manager to the specified FlagSet.
func (*GenericControllerManagerConfigurationOptions) ApplyTo ¶
func (o *GenericControllerManagerConfigurationOptions) ApplyTo(cfg *kubectrlmgrconfig.GenericControllerManagerConfiguration) error
ApplyTo fills up generic config with options.
type KubeCloudSharedOptions ¶
type KubeCloudSharedOptions struct {}
KubeCloudSharedOptions holds the options shared between kube-controller-manager and cloud-controller-manager.
func NewKubeCloudSharedOptions ¶
func NewKubeCloudSharedOptions(cfg kubectrlmgrconfig.KubeCloudSharedConfiguration) *KubeCloudSharedOptions
NewKubeCloudSharedOptions returns common/default configuration values for both the kube-controller-manager and the cloud-contoller-manager. Any common changes should be made here. Any individual changes should be made in that controller.
func (*KubeCloudSharedOptions) AddFlags ¶
func (o *KubeCloudSharedOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to shared variable for controller manager to the specified FlagSet.
func (*KubeCloudSharedOptions) ApplyTo ¶
func (o *KubeCloudSharedOptions) ApplyTo(cfg *kubectrlmgrconfig.KubeCloudSharedConfiguration) error
ApplyTo fills up KubeCloudShared config with options.
func (*KubeCloudSharedOptions) Validate ¶
func (o *KubeCloudSharedOptions) Validate() []error
Validate checks validation of KubeCloudSharedOptions.
type ServiceControllerOptions ¶
type ServiceControllerOptions struct {
ConcurrentServiceSyncs int32
}
ServiceControllerOptions holds the ServiceController options.
func (*ServiceControllerOptions) AddFlags ¶
func (o *ServiceControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ServiceController for controller manager to the specified FlagSet.
func (*ServiceControllerOptions) ApplyTo ¶
func (o *ServiceControllerOptions) ApplyTo(cfg *kubectrlmgrconfig.ServiceControllerConfiguration) error
ApplyTo fills up ServiceController config with options.
func (*ServiceControllerOptions) Validate ¶
func (o *ServiceControllerOptions) Validate() []error
Validate checks validation of ServiceControllerOptions.