task

package
v0.0.0-...-d500d3c Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailedPermission = errors.New("unauthorized")

Functions

func PlatformAdapter

PlatformAdapter wraps a task.Store into the platform.TaskService interface.

Types

type RunController

type RunController interface {
	CancelRun(ctx context.Context, taskID, runID platform.ID) error
}

Directories

Path Synopsis
bolt
Package bolt provides an bolt-backed store implementation.
Package bolt provides an bolt-backed store implementation.
executor
Package executor contains implementations of backend.Executor that depend on the query service.
Package executor contains implementations of backend.Executor that depend on the query service.
Package mock contains mock implementations of different task interfaces.
Package mock contains mock implementations of different task interfaces.
Package options provides ways to extract the task-related options from a Flux script.
Package options provides ways to extract the task-related options from a Flux script.
Package servicetest provides tests to ensure that implementations of platform/task/backend.Store and platform/task/backend.LogReader meet the requirements of platform.TaskService.
Package servicetest provides tests to ensure that implementations of platform/task/backend.Store and platform/task/backend.LogReader meet the requirements of platform.TaskService.

Jump to

Keyboard shortcuts

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