engine

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 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 added in v0.5.4

func (e *Engine) Purge()

func (*Engine) Run

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

func (*Engine) Trigger added in v0.6.0

func (e *Engine) Trigger()

type Reconciler added in v0.5.4

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

func NewReconciler added in v0.7.0

func NewReconciler() *Reconciler

func (*Reconciler) Reconcile added in v0.5.4

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

type Scheduler added in v0.7.0

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