options

package
v1.19.14-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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

type CloudProviderOptions struct {
	*kubectrlmgrconfig.CloudProviderConfiguration
}

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

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

type DebuggingOptions struct {
	*componentbaseconfig.DebuggingConfiguration
}

DebuggingOptions holds the Debugging options.

func RecommendedDebuggingOptions added in v1.18.0

func RecommendedDebuggingOptions() *DebuggingOptions

RecommendedDebuggingOptions returns the currently recommended debugging options. These are subject to change between releases as we add options and decide which features should be exposed or not by default.

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

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 GenericControllerManagerConfigurationOptions added in v1.12.0

type GenericControllerManagerConfigurationOptions struct {
	*kubectrlmgrconfig.GenericControllerManagerConfiguration
	Debugging *DebuggingOptions
}

GenericControllerManagerConfigurationOptions holds the options which are generic.

func NewGenericControllerManagerConfigurationOptions added in v1.12.0

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 added in v1.12.0

func (o *GenericControllerManagerConfigurationOptions) AddFlags(fss *cliflag.NamedFlagSets, allControllers, disabledByDefaultControllers []string)

AddFlags adds flags related to generic for controller manager to the specified FlagSet.

func (*GenericControllerManagerConfigurationOptions) ApplyTo added in v1.12.0

ApplyTo fills up generic config with options.

func (*GenericControllerManagerConfigurationOptions) Validate added in v1.12.0

func (o *GenericControllerManagerConfigurationOptions) Validate(allControllers []string, disabledByDefaultControllers []string) []error

Validate checks validation of GenericOptions.

type KubeCloudSharedOptions added in v1.11.0

type KubeCloudSharedOptions struct {
	*kubectrlmgrconfig.KubeCloudSharedConfiguration
	CloudProvider *CloudProviderOptions
}

KubeCloudSharedOptions holds the options shared between kube-controller-manager and cloud-controller-manager.

func NewKubeCloudSharedOptions added in v1.11.0

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

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 {
	*serviceconfig.ServiceControllerConfiguration
}

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL