Documentation ¶
Overview ¶
Package app implements a server that runs a set of active components. This includes node controllers, service and route controller, and so on.
Index ¶
- Constants
- Variables
- func KnownControllers() []string
- func NewCloudControllerManagerCommand() *cobra.Command
- func Run(ctx context.Context, c *cloudcontrollerconfig.CompletedConfig, ...) error
- func RunWrapper(s *options.CloudControllerManagerOptions, c *cloudcontrollerconfig.Config, ...) func(ctx context.Context)
- func StartHTTPServer(c *cloudcontrollerconfig.CompletedConfig, stopCh <-chan struct{}) (*controllerhealthz.MutableHealthzHandler, error)
Constants ¶
View Source
const ( // ControllerStartJitter is the jitter value used when starting controller managers. ControllerStartJitter = 1.0 // ConfigzName is the name used for register cloud-controller manager /configz, same with GroupName. ConfigzName = "cloudcontrollermanager.config.k8s.io" )
Variables ¶
View Source
var ControllersDisabledByDefault = sets.NewString()
ControllersDisabledByDefault is the controller disabled default when starting cloud-controller managers.
Functions ¶
func KnownControllers ¶
func KnownControllers() []string
KnownControllers indicate the default controller we are known.
func NewCloudControllerManagerCommand ¶
NewCloudControllerManagerCommand creates a *cobra.Command object with default parameters
func Run ¶
func Run(ctx context.Context, c *cloudcontrollerconfig.CompletedConfig, h *controllerhealthz.MutableHealthzHandler) error
Run runs the ExternalCMServer. This should never exit.
func RunWrapper ¶
func RunWrapper(s *options.CloudControllerManagerOptions, c *cloudcontrollerconfig.Config, h *controllerhealthz.MutableHealthzHandler) func(ctx context.Context)
RunWrapper adapts the ccm boot logic to the leader elector call back function
func StartHTTPServer ¶
func StartHTTPServer(c *cloudcontrollerconfig.CompletedConfig, stopCh <-chan struct{}) (*controllerhealthz.MutableHealthzHandler, error)
StartHTTPServer starts the controller manager HTTP server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.