kubernetesk8s.io/kubernetes/contrib/mesos/pkg/scheduler/components/tasksreconciler Index | Files

package taskreconciler

import "k8s.io/kubernetes/contrib/mesos/pkg/scheduler/components/tasksreconciler"

Package taskreconciler implement Mesos task reconciliation.

Index

Types

type Action

type Action func(driver bindings.SchedulerDriver, cancel <-chan struct{}) <-chan error

func MakeComposite

func MakeComposite(done <-chan struct{}, actions ...Action) Action

MakeComposite invokes the given ReconcilerAction funcs in sequence, aborting the sequence if reconciliation is cancelled. if any other errors occur the composite reconciler will attempt to complete the sequence, reporting only the last generated error.

type TasksReconciler

type TasksReconciler interface {
	RequestExplicit()
	RequestImplicit()
	Run(driver bindings.SchedulerDriver, done <-chan struct{})
}

func New

func New(doer proc.Doer, action Action,
	cooldown, explicitReconciliationAbortTimeout time.Duration, done <-chan struct{}) TasksReconciler

Source Files

doc.go tasksreconciler.go

Version
v1.4.1
Published
Oct 10, 2016
Platform
js/wasm
Imports
8 packages
Last checked
29 minutes ago

Tools for package owners.