executil

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package executil provides command execution helpers for offline runtime adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner

type CommandRunner interface {
	Run(ctx context.Context, argv []string, env map[string]string) (string, error)
}

CommandRunner abstracts command execution for runtime adapters.

type OSRunner

type OSRunner struct{}

OSRunner executes commands on the host.

func (OSRunner) Run

func (OSRunner) Run(ctx context.Context, argv []string, env map[string]string) (string, error)

Run executes argv with merged environment variables and combined output capture.

Jump to

Keyboard shortcuts

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