engine

package
v0.0.0-...-10febd9 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2017 License: Apache-2.0, Apache-2.0 Imports: 11 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, lManager lease.Manager, 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 struct{})

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