engine

package
v0.0.0-...-5a8f579 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2014 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func New

func New(reg *registry.EtcdRegistry, rStream pkg.EventStream, mach machine.Machine) *Engine

func (*Engine) Purge

func (e *Engine) Purge()

func (*Engine) Run

func (e *Engine) Run(ival time.Duration, stop chan bool)

func (*Engine) Trigger

func (e *Engine) Trigger()

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler() *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(e *Engine, stop chan struct{})

type Scheduler

type Scheduler interface {
	Decide(*clusterState, *job.Job) (*decision, error)
}

Jump to

Keyboard shortcuts

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