Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli wires the provr command tree.
|
Package cli wires the provr command tree. |
|
Package compose resolves a repository's Docker Compose configuration with `docker compose config` and exposes the parts provr checks and overrides.
|
Package compose resolves a repository's Docker Compose configuration with `docker compose config` and exposes the parts provr checks and overrides. |
|
Package config defines the provr.yaml project configuration (schema v1).
|
Package config defines the provr.yaml project configuration (schema v1). |
|
Package core holds the domain types (Host, Preview, Endpoint) and the two extension points (HostProvider and Exposer) that the rest of provr builds on.
|
Package core holds the domain types (Host, Preview, Endpoint) and the two extension points (HostProvider and Exposer) that the rest of provr builds on. |
|
Package doctor runs read-only checks on a project's provr.yaml and resolved Compose configuration and reports findings with suggested fixes.
|
Package doctor runs read-only checks on a project's provr.yaml and resolved Compose configuration and reports findings with suggested fixes. |
|
Package execx abstracts process execution so callers can be tested with a fake instead of spawning real processes.
|
Package execx abstracts process execution so callers can be tested with a fake instead of spawning real processes. |
|
expose
|
|
|
fake
Package fake provides an in-memory core.Exposer with error injection for tests.
|
Package fake provides an in-memory core.Exposer with error injection for tests. |
|
tailscale
Package tailscale implements core.Exposer with a Tailscale sidecar container: each preview joins the tailnet as its own node and forwards the exposed service ports.
|
Package tailscale implements core.Exposer with a Tailscale sidecar container: each preview joins the tailnet as its own node and forwards the exposed service ports. |
|
tailscale/api
Package api is a small client for the Tailscale HTTP API (v2).
|
Package api is a small client for the Tailscale HTTP API (v2). |
|
Package gc finds what `provr gc` should clean up: stopped hosts nobody uses, idle hosts the reaper missed, expired previews, leftover tailnet devices, detached disks, and resources it can only report (unreachable running hosts, instances without an owner).
|
Package gc finds what `provr gc` should clean up: stopped hosts nobody uses, idle hosts the reaper missed, expired previews, leftover tailnet devices, detached disks, and resources it can only report (unreachable running hosts, instances without an owner). |
|
host
|
|
|
fake
Package fake provides an in-memory core.HostProvider with error injection for tests.
|
Package fake provides an in-memory core.HostProvider with error injection for tests. |
|
gce
Package gce implements core.HostProvider on Google Compute Engine by driving the gcloud CLI through setup.Gcloud.
|
Package gce implements core.HostProvider on Google Compute Engine by driving the gcloud CLI through setup.Gcloud. |
|
Package jsondoc reads the JSON schema documented in docs/json-output.md, the single source the CLI and MCP tests check their --json output against.
|
Package jsondoc reads the JSON schema documented in docs/json-output.md, the single source the CLI and MCP tests check their --json output against. |
|
Package mcpserver exposes the preview lifecycle as MCP tools over a transport.
|
Package mcpserver exposes the preview lifecycle as MCP tools over a transport. |
|
Package preview implements the preview lifecycle (up, exec, logs, ls, down) on top of the HostProvider and Exposer extension points.
|
Package preview implements the preview lifecycle (up, exec, logs, ls, down) on top of the HostProvider and Exposer extension points. |
|
Package setup implements the steps of `provr init`.
|
Package setup implements the steps of `provr init`. |
|
Package state records client-side provr state under ~/.provr/state, such as the projects that have had previews created from this machine.
|
Package state records client-side provr state under ~/.provr/state, such as the projects that have had previews created from this machine. |
|
Package sync copies a project's working tree to the test host: worktree to a local staging directory to the host, followed by a secrets overlay that adds files which are deliberately not tracked by git.
|
Package sync copies a project's working tree to the test host: worktree to a local staging directory to the host, followed by a secrets overlay that adds files which are deliberately not tracked by git. |
|
Package version holds build metadata injected at link time.
|
Package version holds build metadata injected at link time. |
Click to show internal directories.
Click to hide internal directories.