runner

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(result taskrunner.Result) error

Error keeps the old command diagnostics while making timeout and cleanup classifications visible to callers.

func Run

func Run(ctx context.Context, req Request) taskrunner.Result

Types

type Request

type Request struct {
	Argv      []string
	Dir       string
	Env       []string
	Timeout   time.Duration
	Output    taskrunner.OutputMode
	StreamOut io.Writer
	StreamErr io.Writer
	Label     string
}

Request is the small backend-plugin-facing subset of taskrunner.Request.

Jump to

Keyboard shortcuts

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