Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProviderOptions ¶ added in v1.11.0
CloudProviderOptions holds the cloudprovider options.
func (*CloudProviderOptions) AddFlags ¶ added in v1.11.0
func (s *CloudProviderOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to cloudprovider for controller manager to the specified FlagSet.
func (*CloudProviderOptions) ApplyTo ¶ added in v1.11.0
func (s *CloudProviderOptions) ApplyTo(cfg *componentconfig.CloudProviderConfiguration) error
ApplyTo fills up cloudprovider config with options.
func (*CloudProviderOptions) Validate ¶ added in v1.11.0
func (s *CloudProviderOptions) Validate() []error
Validate checks validation of cloudprovider options.
type DebuggingOptions ¶ added in v1.11.0
DebuggingOptions holds the Debugging options.
func (*DebuggingOptions) AddFlags ¶ added in v1.11.0
func (o *DebuggingOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to debugging for controller manager to the specified FlagSet.
func (*DebuggingOptions) ApplyTo ¶ added in v1.11.0
func (o *DebuggingOptions) ApplyTo(cfg *componentconfig.DebuggingConfiguration) error
ApplyTo fills up Debugging config with options.
func (*DebuggingOptions) Validate ¶ added in v1.11.0
func (o *DebuggingOptions) Validate() []error
Validate checks validation of DebuggingOptions.
type GenericComponentConfigOptions ¶ added in v1.11.0
type GenericComponentConfigOptions struct { MinResyncPeriod metav1.Duration ContentType string KubeAPIQPS float32 KubeAPIBurst int32 ControllerStartInterval metav1.Duration LeaderElection componentconfig.LeaderElectionConfiguration }
GenericComponentConfigOptions holds the options which are generic.
func NewGenericComponentConfigOptions ¶ added in v1.11.0
func NewGenericComponentConfigOptions(cfg componentconfig.GenericComponentConfiguration) *GenericComponentConfigOptions
NewGenericComponentConfigOptions 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 (*GenericComponentConfigOptions) AddFlags ¶ added in v1.11.0
func (o *GenericComponentConfigOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to generic for controller manager to the specified FlagSet.
func (*GenericComponentConfigOptions) ApplyTo ¶ added in v1.11.0
func (o *GenericComponentConfigOptions) ApplyTo(cfg *componentconfig.GenericComponentConfiguration) error
ApplyTo fills up generic config with options.
func (*GenericComponentConfigOptions) Validate ¶ added in v1.11.0
func (o *GenericComponentConfigOptions) Validate() []error
Validate checks validation of GenericOptions.
type InsecureServingOptions ¶
type InsecureServingOptions struct { BindAddress net.IP BindPort int // BindNetwork is the type of network to bind to - defaults to "tcp", accepts "tcp", // "tcp4", and "tcp6". BindNetwork string // Listener is the secure server network listener. // either Listener or BindAddress/BindPort/BindNetwork is set, // if Listener is set, use it and omit BindAddress/BindPort/BindNetwork. Listener net.Listener // ListenFunc can be overridden to create a custom listener, e.g. for mocking in tests. // It defaults to options.CreateListener. ListenFunc func(network, addr string) (net.Listener, int, error) }
InsecureServingOptions are for creating an unauthenticated, unauthorized, insecure port. No one should be using these anymore.
func (*InsecureServingOptions) AddFlags ¶
func (s *InsecureServingOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to insecure serving for controller manager to the specified FlagSet.
func (*InsecureServingOptions) ApplyTo ¶
func (s *InsecureServingOptions) ApplyTo(c **genericcontrollermanager.InsecureServingInfo) error
ApplyTo adds InsecureServingOptions to the insecureserverinfo amd kube-controller manager configuration. Note: the double pointer allows to set the *InsecureServingInfo to nil without referencing the struct hosting this pointer.
func (*InsecureServingOptions) Validate ¶
func (s *InsecureServingOptions) Validate() []error
Validate ensures that the insecure port values within the range of the port.
type KubeCloudSharedOptions ¶ added in v1.11.0
type KubeCloudSharedOptions struct {}
KubeCloudSharedOptions holds the options shared between kube-controller-manager and cloud-controller-manager.
func NewKubeCloudSharedOptions ¶ added in v1.11.0
func NewKubeCloudSharedOptions(cfg componentconfig.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 ¶ added in v1.11.0
func (o *KubeCloudSharedOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to shared variable for controller manager to the specified FlagSet.
func (*KubeCloudSharedOptions) ApplyTo ¶ added in v1.11.0
func (o *KubeCloudSharedOptions) ApplyTo(cfg *componentconfig.KubeCloudSharedConfiguration) error
ApplyTo fills up KubeCloudShared config with options.
func (*KubeCloudSharedOptions) Validate ¶ added in v1.11.0
func (o *KubeCloudSharedOptions) Validate() []error
Validate checks validation of KubeCloudSharedOptions.
type ServiceControllerOptions ¶ added in v1.11.0
type ServiceControllerOptions struct {
ConcurrentServiceSyncs int32
}
ServiceControllerOptions holds the ServiceController options.
func (*ServiceControllerOptions) AddFlags ¶ added in v1.11.0
func (o *ServiceControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ServiceController for controller manager to the specified FlagSet.
func (*ServiceControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *ServiceControllerOptions) ApplyTo(cfg *componentconfig.ServiceControllerConfiguration) error
ApplyTo fills up ServiceController config with options.
func (*ServiceControllerOptions) Validate ¶ added in v1.11.0
func (o *ServiceControllerOptions) Validate() []error
Validate checks validation of ServiceControllerOptions.