package
Version:
v1.7.11
Opens a new window with list of versions in this module.
Published: Nov 22, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package options provides the flags used for the controller manager.
type CMServer struct {
componentconfig.KubeControllerManagerConfiguration
Master string
Kubeconfig string
}
CMServer is the main context object for the controller manager.
func NewCMServer() *CMServer
NewCMServer creates a new CMServer with a default config.
func (s *CMServer) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []string)
AddFlags adds flags for a specific CMServer to the specified FlagSet
func (s *CMServer) Validate(allControllers []string, disabledByDefaultControllers []string) error
Validate is used to validate the options and config before launching the controller manager
Source Files
¶
Click to show internal directories.
Click to hide internal directories.