runner

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: MIT Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogCall

func LogCall(c *scheduler.Call, log *zap.Logger)

func LogEvent

func LogEvent(e *scheduler.Event, log *zap.Logger)

func Mux

func Mux(db *state.State, c *Context) events.Handler

func Run

func Run(profile *config.Profile, tasks []*mesos.TaskInfo) (err error)

Types

type Context

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

func (Context) Done

func (c Context) Done() bool

func (*Context) Error

func (c *Context) Error(err error)

func (Context) FrameworkID

func (c Context) FrameworkID() string

type ErrRunnerFailed

type ErrRunnerFailed struct{ *scheduler.Event }

func (ErrRunnerFailed) Error

func (e ErrRunnerFailed) Error() string

Jump to

Keyboard shortcuts

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