options

package
v1.11.6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CloudControllerManagerUserAgent is the userAgent name when starting cloud-controller managers.
	CloudControllerManagerUserAgent = "cloud-controller-manager"
)

Variables

This section is empty.

Functions

func NewDefaultComponentConfig added in v1.11.0

func NewDefaultComponentConfig(insecurePort int32) (componentconfig.CloudControllerManagerConfiguration, error)

NewDefaultComponentConfig returns cloud-controller manager configuration object.

Types

type CloudControllerManagerOptions added in v1.10.0

type CloudControllerManagerOptions struct {
	CloudProvider     *cmoptions.CloudProviderOptions
	Debugging         *cmoptions.DebuggingOptions
	GenericComponent  *cmoptions.GenericComponentConfigOptions
	KubeCloudShared   *cmoptions.KubeCloudSharedOptions
	ServiceController *cmoptions.ServiceControllerOptions

	SecureServing *apiserveroptions.SecureServingOptions
	// TODO: remove insecure serving mode
	InsecureServing *cmoptions.InsecureServingOptions
	Authentication  *apiserveroptions.DelegatingAuthenticationOptions
	Authorization   *apiserveroptions.DelegatingAuthorizationOptions

	Master     string
	Kubeconfig string

	// NodeStatusUpdateFrequency is the frequency at which the controller updates nodes' status
	NodeStatusUpdateFrequency metav1.Duration
}

CloudControllerManagerOptions is the main context object for the controller manager.

func NewCloudControllerManagerOptions added in v1.10.0

func NewCloudControllerManagerOptions() (*CloudControllerManagerOptions, error)

NewCloudControllerManagerOptions creates a new ExternalCMServer with a default config.

func (*CloudControllerManagerOptions) AddFlags added in v1.10.0

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

AddFlags adds flags for a specific ExternalCMServer to the specified FlagSet

func (*CloudControllerManagerOptions) ApplyTo added in v1.10.0

ApplyTo fills up cloud controller manager config with options.

func (*CloudControllerManagerOptions) Config added in v1.10.0

Config return a cloud controller manager config objective

func (*CloudControllerManagerOptions) Validate added in v1.10.0

func (o *CloudControllerManagerOptions) Validate() error

Validate is used to validate config before launching the cloud controller manager

Jump to

Keyboard shortcuts

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