taskreconciler

package
v1.2.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package taskreconciler implement Mesos task reconciliation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL