controller

package
v1.1.0-alpha.0....-98e2ed6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2015 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 *client.Client, 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