runner

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunnerError

func NewRunnerError(cmd, output string, err error) error

Types

type Runner

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

func NewRunner

func NewRunner(name string) *Runner

func (*Runner) FilterEnv

func (c *Runner) FilterEnv(requires []string) map[string]string

func (*Runner) RunCombinedOutput

func (c *Runner) RunCombinedOutput(args ...string) ([]byte, error)

func (*Runner) RunOutput

func (c *Runner) RunOutput(args ...string) ([]byte, error)

func (*Runner) WithDir

func (c *Runner) WithDir(dir string) *Runner

func (*Runner) WithEnvs

func (c *Runner) WithEnvs(kvs ...string) *Runner

type Status

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

func (*Status) Error

func (e *Status) Error() string

Jump to

Keyboard shortcuts

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