controller

package
v3.7.0-0.104.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2017 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HorizontalPodAutoscalerControllerConfig

type HorizontalPodAutoscalerControllerConfig struct {
	HeapsterNamespace string
}

func (*HorizontalPodAutoscalerControllerConfig) RunController

type KubeControllerConfig

type KubeControllerConfig struct {
	PersistentVolumeControllerConfig        PersistentVolumeControllerConfig
	HorizontalPodAutoscalerControllerConfig HorizontalPodAutoscalerControllerConfig

	// TODO the scheduler should move out into its own logical component
	SchedulerControllerConfig SchedulerControllerConfig
}

KubeControllerConfig is the runtime (non-serializable) config object used to launch the set of kube (not openshift) controllers.

func BuildKubeControllerConfig

func BuildKubeControllerConfig(options configapi.MasterConfig) (*KubeControllerConfig, error)

BuildKubeControllerConfig builds the struct to create the controller initializers. Eventually we want this to be fully stock kube with no modification.

func (KubeControllerConfig) GetControllerInitializers

func (c KubeControllerConfig) GetControllerInitializers() (map[string]kubecontroller.InitFunc, error)

GetControllerInitializers return the controller initializer functions for kube controllers TODO in 3.7, CloudProvider is on the context

type PersistentVolumeControllerConfig

type PersistentVolumeControllerConfig struct {
	RecyclerImage string
}

func (*PersistentVolumeControllerConfig) RunController

type SchedulerControllerConfig

type SchedulerControllerConfig struct {
	// TODO: Move this closer to upstream, we want unprivileged client here.
	PrivilegedClient kclientset.Interface
	SchedulerServer  *scheduleroptions.SchedulerServer
}

func (*SchedulerControllerConfig) RunController

Jump to

Keyboard shortcuts

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