Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cliwrap
command
|
|
|
cliwrap-agent
command
|
|
|
internal
|
|
|
agent
Package agent contains the logic that runs inside the cliwrap-agent subprocess.
|
Package agent contains the logic that runs inside the cliwrap-agent subprocess. |
|
controller
Package controller manages the lifecycle of a single cliwrap-agent subprocess and its managed child.
|
Package controller manages the lifecycle of a single cliwrap-agent subprocess and its managed child. |
|
cwtypes
Package cwtypes contains the shared type definitions used by both pkg/cliwrap (the public API) and internal/controller.
|
Package cwtypes contains the shared type definitions used by both pkg/cliwrap (the public API) and internal/controller. |
|
ipc
Package ipc implements the cli-wrapper inter-process communication layer.
|
Package ipc implements the cli-wrapper inter-process communication layer. |
|
mgmt
Package mgmt defines the control-socket protocol between the cliwrap management CLI and a running Manager.
|
Package mgmt defines the control-socket protocol between the cliwrap management CLI and a running Manager. |
|
resource
Package resource implements per-process and system-wide resource sampling and enforcement.
|
Package resource implements per-process and system-wide resource sampling and enforcement. |
|
pkg
|
|
|
cliwrap
Package cliwrap re-exports the canonical types from internal/cwtypes via Go type aliases, so the public API surface is unchanged.
|
Package cliwrap re-exports the canonical types from internal/cwtypes via Go type aliases, so the public API surface is unchanged. |
|
config
Package config loads and validates cliwrap YAML configuration.
|
Package config loads and validates cliwrap YAML configuration. |
|
sandbox
Package sandbox defines the plugin interface for isolating managed CLI processes.
|
Package sandbox defines the plugin interface for isolating managed CLI processes. |
|
sandbox/providers/noop
Package noop provides a pass-through sandbox provider.
|
Package noop provides a pass-through sandbox provider. |
|
sandbox/providers/scriptdir
Package scriptdir is a reference sandbox provider that writes scripts into a temp directory and runs them via /bin/sh.
|
Package scriptdir is a reference sandbox provider that writes scripts into a temp directory and runs them via /bin/sh. |
|
test
|
|
|
fixtures
Package fixtures provides a go:generate-friendly entry point for compiling the test binaries.
|
Package fixtures provides a go:generate-friendly entry point for compiling the test binaries. |
|
fixtures/crasher
command
fixture-crasher exits with a specific code after a delay.
|
fixture-crasher exits with a specific code after a delay. |
|
fixtures/echo
command
fixture-echo reads stdin line by line and writes each line to stdout.
|
fixture-echo reads stdin line by line and writes each line to stdout. |
|
fixtures/hanger
command
fixture-hanger ignores SIGTERM until it receives SIGKILL.
|
fixture-hanger ignores SIGTERM until it receives SIGKILL. |
|
fixtures/noisy
command
fixture-noisy writes a heartbeat line to stdout and stderr every 100ms.
|
fixture-noisy writes a heartbeat line to stdout and stderr every 100ms. |
Click to show internal directories.
Click to hide internal directories.