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 ¶
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.6
- Published
- Nov 12, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 18 minutes ago –
Tools for package owners.