package controller
import "k8s.io/kubernetes/contrib/mesos/pkg/scheduler/components/controller"
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 ¶
const ( FailedScheduling = "FailedScheduling" Scheduled = "Scheduled" )
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
Source Files ¶
controller.go doc.go
- Version
- v1.4.1-beta.1
- Published
- Oct 7, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 5 minutes ago –
Tools for package owners.