task

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	fmt.Stringer

	// Run the task. A context is provided allowing state between tasks to
	// be shared. Useful if multiple tasks are executed in order
	Run(ctx *context.Context) error
}

Runner defines a way of running a task. A task can either be run as a standalone operation or chained into a series of consecutive operations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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