Internal
internal/adapters/process
Package process runs external commands with streaming capture, watchdogs, and diagnostics.
import "github.com/nilstate/scafld/v2/internal/adapters/process"
Package process runs external commands with streaming capture, watchdogs, and diagnostics.
Variables
Source: internal/adapters/process/runner.go:20
var (
// ErrTimeout wraps absolute process timeout failures.
ErrTimeout = errors.New("process timeout")
// ErrIdle wraps idle timeout failures.
ErrIdle = errors.New("process idle timeout")
)Types
type Runner
Source: internal/adapters/process/runner.go:26
Runner executes external commands and writes optional diagnostics.
type Runner struct {
DiagnosticsDir string
Progress io.Writer
ProgressLabel string
}Fields
DiagnosticsDir stringProgress io.WriterProgressLabel string
func Runner) Run(ctx context.Context, req execution.Request) (execution.Result, error)
Source: internal/adapters/process/runner.go:33
Run executes req with streaming stdout/stderr capture and watchdogs.
