controller

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: May 6, 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