kubernetes: k8s.io/kubernetes/cmd/controller-manager/app/options Index | Files

package options

import "k8s.io/kubernetes/cmd/controller-manager/app/options"

Index

Package Files

cloudprovider.go debugging.go generic.go kubecloudshared.go servicecontroller.go

type CloudProviderOptions Uses

type CloudProviderOptions struct {
    *kubectrlmgrconfig.CloudProviderConfiguration
}

CloudProviderOptions holds the cloudprovider options.

func (*CloudProviderOptions) AddFlags Uses

func (s *CloudProviderOptions) AddFlags(fs *pflag.FlagSet)

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

func (*CloudProviderOptions) ApplyTo Uses

func (s *CloudProviderOptions) ApplyTo(cfg *kubectrlmgrconfig.CloudProviderConfiguration) error

ApplyTo fills up cloudprovider config with options.

func (*CloudProviderOptions) Validate Uses

func (s *CloudProviderOptions) Validate() []error

Validate checks validation of cloudprovider options.

type DebuggingOptions Uses

type DebuggingOptions struct {
    *componentbaseconfig.DebuggingConfiguration
}

DebuggingOptions holds the Debugging options.

func (*DebuggingOptions) AddFlags Uses

func (o *DebuggingOptions) AddFlags(fs *pflag.FlagSet)

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

func (*DebuggingOptions) ApplyTo Uses

func (o *DebuggingOptions) ApplyTo(cfg *componentbaseconfig.DebuggingConfiguration) error

ApplyTo fills up Debugging config with options.

func (*DebuggingOptions) Validate Uses

func (o *DebuggingOptions) Validate() []error

Validate checks validation of DebuggingOptions.

type GenericControllerManagerConfigurationOptions Uses

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

GenericControllerManagerConfigurationOptions holds the options which are generic.

func NewGenericControllerManagerConfigurationOptions Uses

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 Uses

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 Uses

func (o *GenericControllerManagerConfigurationOptions) ApplyTo(cfg *kubectrlmgrconfig.GenericControllerManagerConfiguration) error

ApplyTo fills up generic config with options.

func (*GenericControllerManagerConfigurationOptions) Validate Uses

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

Validate checks validation of GenericOptions.

type KubeCloudSharedOptions Uses

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

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

func NewKubeCloudSharedOptions Uses

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 Uses

func (o *KubeCloudSharedOptions) AddFlags(fs *pflag.FlagSet)

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

func (*KubeCloudSharedOptions) ApplyTo Uses

func (o *KubeCloudSharedOptions) ApplyTo(cfg *kubectrlmgrconfig.KubeCloudSharedConfiguration) error

ApplyTo fills up KubeCloudShared config with options.

func (*KubeCloudSharedOptions) Validate Uses

func (o *KubeCloudSharedOptions) Validate() []error

Validate checks validation of KubeCloudSharedOptions.

type ServiceControllerOptions Uses

type ServiceControllerOptions struct {
    *serviceconfig.ServiceControllerConfiguration
}

ServiceControllerOptions holds the ServiceController options.

func (*ServiceControllerOptions) AddFlags Uses

func (o *ServiceControllerOptions) AddFlags(fs *pflag.FlagSet)

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

func (*ServiceControllerOptions) ApplyTo Uses

func (o *ServiceControllerOptions) ApplyTo(cfg *serviceconfig.ServiceControllerConfiguration) error

ApplyTo fills up ServiceController config with options.

func (*ServiceControllerOptions) Validate Uses

func (o *ServiceControllerOptions) Validate() []error

Validate checks validation of ServiceControllerOptions.

Package options imports 9 packages (graph) and is imported by 14 packages. Updated 2019-05-25. Refresh now. Tools for package owners.