Documentation
ΒΆ
There is no documentation for this package.
Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
internal
|
|
|
api
Package api defines the HTTP surface served at the apex host: JSON endpoints under /api/ plus the embedded dashboard SPA at /.
|
Package api defines the HTTP surface served at the apex host: JSON endpoints under /api/ plus the embedded dashboard SPA at /. |
|
build
Package build turns deploy requests into published artifacts.
|
Package build turns deploy requests into published artifacts. |
|
client
Package client is a small HTTP client for the app's REST API, used by the CLI subcommands in cmd/server.
|
Package client is a small HTTP client for the app's REST API, used by the CLI subcommands in cmd/server. |
|
clone
Package clone runs repo registrations' mirror clones in the background.
|
Package clone runs repo registrations' mirror clones in the background. |
|
config
Package config resolves where the application keeps its on-disk state.
|
Package config resolves where the application keeps its on-disk state. |
|
db
Package db wraps the SQLite store.
|
Package db wraps the SQLite store. |
|
devcontainer
Package devcontainer parses the subset of a target repository's devcontainer.json the orchestrator honors when defaulting builds and runs into the repo's dev container: the image, its named cache volumes, and the remote user's home (so toolchain caches resolve where the dev container put them).
|
Package devcontainer parses the subset of a target repository's devcontainer.json the orchestrator honors when defaulting builds and runs into the repo's dev container: the image, its named cache volumes, and the remote user's home (so toolchain caches resolve where the dev container put them). |
|
dockerapi
Package dockerapi is a deliberately tiny Docker Engine API client β plain HTTP over the unix socket, no SDK dependency β sufficient to run one-shot build-step containers: ensure an image, create/start a container, stream its output, wait, remove.
|
Package dockerapi is a deliberately tiny Docker Engine API client β plain HTTP over the unix socket, no SDK dependency β sufficient to run one-shot build-step containers: ensure an image, create/start a container, stream its output, wait, remove. |
|
gitrepo
Package gitrepo manages the orchestrator's mirror clones and exposes the git plumbing the pipeline needs: ref resolution, tree listing (for content addressing), file reads at a commit, ancestry walks, and tree extraction.
|
Package gitrepo manages the orchestrator's mirror clones and exposes the git plumbing the pipeline needs: ref resolution, tree listing (for content addressing), file reads at a commit, ancestry walks, and tree extraction. |
|
hashkey
Package hashkey computes the content-address of a commit's frontend and backend partitions.
|
Package hashkey computes the content-address of a commit's frontend and backend partitions. |
|
manifest
Package manifest parses preview.toml, the contract a target repository declares so the orchestrator can build and run it.
|
Package manifest parses preview.toml, the contract a target repository declares so the orchestrator can build and run it. |
|
proxy
Package proxy is the top-level request router.
|
Package proxy is the top-level request router. |
|
retain
Package retain enforces the instance's artifact retention policy: a periodic (or on-demand) sweep that evicts deploys exceeding a per-repo count or age limit, reclaiming their artifacts, state, and logs via supervise.Manager.GCDeploy.
|
Package retain enforces the instance's artifact retention policy: a periodic (or on-demand) sweep that evicts deploys exceeding a per-repo count or age limit, reclaiming their artifacts, state, and logs via supervise.Manager.GCDeploy. |
|
store
Package store owns on-disk content-addressed artifacts and mutable backend state directories.
|
Package store owns on-disk content-addressed artifacts and mutable backend state directories. |
|
supervise
Package supervise owns preview process lifecycles: one process per distinct artifact per repo (backends, and process-mode frontends), started on demand, health-checked, and stopped as a unit.
|
Package supervise owns preview process lifecycles: one process per distinct artifact per repo (backends, and process-mode frontends), started on demand, health-checked, and stopped as a unit. |
|
watch
Package watch polls watched repos' mirror clones and deploys new branch tips β the trigger for repos that push somewhere the server can fetch from but can't run a post-commit hook or deliver a webhook.
|
Package watch polls watched repos' mirror clones and deploys new branch tips β the trigger for repos that push somewhere the server can fetch from but can't run a post-commit hook or deliver a webhook. |
|
Package orchestrator is the embeddable API of local-preview: everything the standalone server does β mirror clones, content-addressed builds, on-demand supervised backends, lineage-forked state, Host-header preview routing β behind a small facade another Go application can wire into its own HTTP server.
|
Package orchestrator is the embeddable API of local-preview: everything the standalone server does β mirror clones, content-addressed builds, on-demand supervised backends, lineage-forked state, Host-header preview routing β behind a small facade another Go application can wire into its own HTTP server. |
Click to show internal directories.
Click to hide internal directories.