controller

package
v1.3.0-alpha.1....-0aa2340 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package controller implements the scheduling controller which waits for pod events from the queuer (i.e. from the apiserver), passes them to the SchedulerAlgorithm and in case of success to the binder which does the launch.

Index

Constants

View Source
const (
	FailedScheduling = "FailedScheduling"
	Scheduled        = "Scheduled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Run(<-chan struct{})
}

func New

func New(client *clientset.Clientset, algorithm algorithm.SchedulerAlgorithm,
	recorder record.EventRecorder, nextPod func() *api.Pod, error func(pod *api.Pod, schedulingErr error),
	binder binder.Binder, started chan<- struct{}) Controller

Jump to

Keyboard shortcuts

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