options

package
v1.9.12-beta.0 Latest Latest
Warning

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

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

Documentation

Overview

Package options provides the flags used for the controller manager.

Index

Constants

View Source
const (

	// DefaultClusterSigningCertFile is deprecated. Do not use.
	DefaultClusterSigningCertFile = "/etc/kubernetes/ca/ca.pem"
	// DefaultClusterSigningKeyFile is deprecated. Do not use.
	DefaultClusterSigningKeyFile = "/etc/kubernetes/ca/ca.key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CMServer

type CMServer struct {
	componentconfig.KubeControllerManagerConfiguration

	Master     string
	Kubeconfig string
}

CMServer is the main context object for the controller manager.

func NewCMServer

func NewCMServer() *CMServer

NewCMServer creates a new CMServer with a default config.

func (*CMServer) AddFlags

func (s *CMServer) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []string)

AddFlags adds flags for a specific CMServer to the specified FlagSet

func (*CMServer) Validate added in v1.6.0

func (s *CMServer) Validate(allControllers []string, disabledByDefaultControllers []string) error

Validate is used to validate the options and config before launching the controller manager

Jump to

Keyboard shortcuts

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