starter

package
v0.0.0-...-ea1f910 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job interface {
	Id() string
	HostDetails() host_details.HostDetails
	Commandline(remoteFileSystem remote_file_system.FileSystem) ([]string, error)
	Timeout() *time.Duration
	RecordResourceUsage() bool
}

type Worker

type Worker interface {
	DoJob(ctx *context.Context, job Job) error
	HasJobBeenStarted(ctx *context.Context, job Job) (bool, error)
}

func NewWorker

func NewWorker() Worker

Jump to

Keyboard shortcuts

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