app

package
v0.0.0-...-8d0eeec Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ControllerStartJitter is the jitter value used when starting controller managers.
	ControllerStartJitter = 1.0
)

Variables

This section is empty.

Functions

func Run

func Run(ccm *ServerCCM) error

Run runs the ExternalCMServer. This should never exit.

func RunControllers

func RunControllers(
	ccm *ServerCCM,
	clientBuilder controller.ControllerClientBuilder,
	stop <-chan struct{},
) error

RunControllers starts the cloud specific controller loops.

Types

type ServerCCM

type ServerCCM struct {
	ccfg.KubeControllerManagerConfiguration

	Master     string
	Kubeconfig string

	// NodeStatusUpdateFrequency is the frequency at which the controller
	// updates nodes' status
	NodeStatusUpdateFrequency metav1.Duration
	// contains filtered or unexported fields
}

ServerCCM is the main context object for the controller manager.

func NewServerCCM

func NewServerCCM() *ServerCCM

NewServerCCM creates a new ExternalCMServer with a default config.

func (*ServerCCM) MainLoop

func (ccm *ServerCCM) MainLoop(stop <-chan struct{})

func (*ServerCCM) Start

func (ccm *ServerCCM) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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