options

package
v1.4.0-alpha.2....-5f1793e Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudControllerManagerOptions

type CloudControllerManagerOptions struct {
	Generic *cmoptions.GenericControllerManagerOptions

	// 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

func NewCloudControllerManagerOptions() *CloudControllerManagerOptions

NewCloudControllerManagerOptions creates a new ExternalCMServer with a default config.

func (*CloudControllerManagerOptions) AddFlags

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

AddFlags adds flags for a specific ExternalCMServer to the specified FlagSet

func (*CloudControllerManagerOptions) ApplyTo

ApplyTo fills up cloud controller manager config with options.

func (CloudControllerManagerOptions) Config

Config return a cloud controller manager config objective

func (*CloudControllerManagerOptions) Validate

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