internal/

directory
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT, MIT

Directories

Path Synopsis
Package api is the HTTP control plane.
Package api is the HTTP control plane.
Package auth is accounts, sessions and personal API tokens, on top of the Store.
Package auth is accounts, sessions and personal API tokens, on top of the Store.
Package autolabel generates the Traefik labels and network wiring a preview service needs, from one short label.
Package autolabel generates the Traefik labels and network wiring a preview service needs, from one short label.
Package cli is argv, dispatch and exit codes.
Package cli is argv, dispatch and exit codes.
Package cloudinit is `pstack cloud-init` — fill the cloud-config template and print a ready-to-boot user-data file.
Package cloudinit is `pstack cloud-init` — fill the cloud-config template and print a ready-to-boot user-data file.
Package compose is the Docker Compose invocation.
Package compose is the Docker Compose invocation.
Package config is the portable host configuration document: everything that makes a pstack host *this* host, in a form that can be carried to a new one.
Package config is the portable host configuration document: everything that makes a pstack host *this* host, in a form that can be carried to a new one.
Package events is the domain event bus.
Package events is the domain event bus.
Package exec runs things.
Package exec runs things.
Package hostvars is host-level variables and secrets — the GitHub-Actions model, scoped to one host.
Package hostvars is host-level variables and secrets — the GitHub-Actions model, scoped to one host.
Package image is `pstack build-image` — build the control image from the running binary itself.
Package image is `pstack build-image` — build the control image from the running binary itself.
Package initctl is `pstack init` — stand up the CONTROL stack on a host.
Package initctl is `pstack init` — stand up the CONTROL stack on a host.
Package inspect answers "what is actually running, and what was Traefik actually told about it".
Package inspect answers "what is actually running, and what was Traefik actually told about it".
Package jobs is the in-memory job registry.
Package jobs is the in-memory job registry.
Package js reproduces the JavaScript primitives the contract leans on.
Package js reproduces the JavaScript primitives the contract leans on.
Package jsonx is JSON.stringify.
Package jsonx is JSON.stringify.
Package log is the logging seam: the CLI wants progress on stdout, the API wants the same events captured per job and streamed to a browser, so the orchestrator writes to a Sink and each consumer passes its own.
Package log is the logging seam: the CLI wants progress on stdout, the API wants the same events captured per job and streamed to a browser, so the orchestrator writes to a Sink and each consumer passes its own.
Package notify delivers domain events to the outside world.
Package notify delivers domain events to the outside world.
Package omap is the ordered map the whole compose pipeline runs on.
Package omap is the ordered map the whole compose pipeline runs on.
Package readiness answers "did the stack actually come up?".
Package readiness answers "did the stack actually come up?".
Package redact is redaction for anything a human is shown.
Package redact is redaction for anything a human is shown.
Package registries is private registry credentials for the control plane.
Package registries is private registry credentials for the control plane.
Package registry is the deployment registry — what turns pstack from a CLI into a control plane.
Package registry is the deployment registry — what turns pstack from a CLI into a control plane.
Package routing is Traefik dynamic configuration files — list, read, write, delete.
Package routing is Traefik dynamic configuration files — list, read, write, delete.
Package scheduler is sleep and wake-on-call: the SleepIndex (hostname → the deployment the catch-all router's request belongs to), the TrafficMeter (Traefik's per-router counters → "last request"), the tick that applies a spec's `sleep:` policy, and the "spinning up" page.
Package scheduler is sleep and wake-on-call: the SleepIndex (hostname → the deployment the catch-all router's request belongs to), the TrafficMeter (Traefik's per-router counters → "last request"), the tick that applies a spec's `sleep:` policy, and the "spinning up" page.
Package settings is the handful of host knobs an operator may change at RUNTIME, without restarting the control container.
Package settings is the handful of host knobs an operator may change at RUNTIME, without restarting the control container.
Package share is share links: a signed, expiring, READ-ONLY grant to one deployment.
Package share is share links: a signed, expiring, READ-ONLY grant to one deployment.
Package spec parses and validates a `preview.yml` into a resolved Stack.
Package spec parses and validates a `preview.yml` into a resolved Stack.
Package specs is the named-spec store — store a spec once, reference it from many deployments.
Package specs is the named-spec store — store a spec once, reference it from many deployments.
Package sso is sign-in with the operator's own identity provider.
Package sso is sign-in with the operator's own identity provider.
Package stack is lifecycle orchestration.
Package stack is lifecycle orchestration.
Package store is the persistent state that is not the registry: users, sessions, API tokens, webhook registrations and delivery logs, the terminal audit, host variables, SSO.
Package store is the persistent state that is not the registry: users, sessions, API tokens, webhook registrations and delivery logs, the terminal audit, host variables, SSO.
Package swarm is Docker Swarm: the compose→swarm conversion, the `docker stack` command lines, and the node/join helpers behind the swarm panel.
Package swarm is Docker Swarm: the compose→swarm conversion, the `docker stack` command lines, and the node/join helpers behind the swarm panel.
Package terminal is a shell inside a preview container, over a WebSocket.
Package terminal is a shell inside a preview container, over a WebSocket.
Package testfacts locates packages/conformance/golden/facts — the measured Bun semantics the foundation packages are tested against.
Package testfacts locates packages/conformance/golden/facts — the measured Bun semantics the foundation packages are tested against.
Package upgrade is `pstack upgrade` — move a host to a new version of pstack.
Package upgrade is `pstack upgrade` — move a host to a new version of pstack.
Package version answers "which pstack is this" from two sources, in order: the -X flag a release build stamps, else the `version` field of the embedded package.json.
Package version answers "which pstack is this" from two sources, in order: the -X flag a release build stamps, else the `version` field of the embedded package.json.
Package webhooks is notifier registrations and their delivery log.
Package webhooks is notifier registrations and their delivery log.
Package yamlx is Bun.YAML.parse.
Package yamlx is Bun.YAML.parse.

Jump to

Keyboard shortcuts

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