Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
engine
command
Command engine is the playground's in-browser engine; it builds only for GOOS=js (see main_js.go).
|
Command engine is the playground's in-browser engine; it builds only for GOOS=js (see main_js.go). |
|
mirror
command
Command mirror builds the playground's static image registry (a /v2 tree served by GitHub Pages) and inspects the pkgx bottles it carries.
|
Command mirror builds the playground's static image registry (a /v2 tree served by GitHub Pages) and inspects the pkgx bottles it carries. |
|
site
command
Command site builds, serves and verifies the playground's static site.
|
Command site builds, serves and verifies the playground's static site. |
|
images
|
|
|
greet
command
greet says hello to $NAME (default "world"): try `wctr run -e NAME=you greet`.
|
greet says hello to $NAME (default "world"): try `wctr run -e NAME=you greet`. |
|
hello
command
hello is the smallest container: it greets and exits 0.
|
hello is the smallest container: it greets and exits 0. |
|
lab
command
lab is the playground's toolbox image: small commands that show what a container sees and does, one subcommand each.
|
lab is the playground's toolbox image: small commands that show what a container sees and does, one subcommand each. |
|
internal
|
|
|
console
Package console is the playground's terminal behind its adapter: the engine's line editor (cli/lineedit) and renderer, wired to a session that runs the submitted lines.
|
Package console is the playground's terminal behind its adapter: the engine's line editor (cli/lineedit) and renderer, wired to a session that runs the submitted lines. |
|
idbstore
Package idbstore is an image.Backend over the browser's IndexedDB, so pulled images survive a page reload.
|
Package idbstore is an image.Backend over the browser's IndexedDB, so pulled images survive a page reload. |
|
mirror
Package mirror writes the playground's image registry as static files: a read-only OCI distribution /v2 tree that GitHub Pages can serve, so the page pulls same-origin (ghcr.io sends no CORS headers, and the page's CSP allows connections to its own origin only).
|
Package mirror writes the playground's image registry as static files: a read-only OCI distribution /v2 tree that GitHub Pages can serve, so the page pulls same-origin (ghcr.io sends no CORS headers, and the page's CSP allows connections to its own origin only). |
|
session
Package session turns terminal lines into wctr commands run against an engine, and makes what they print safe for the terminal: escape sequences filtered (termfilter), output rate bounded.
|
Package session turns terminal lines into wctr commands run against an engine, and makes what they print safe for the terminal: escape sequences filtered (termfilter), output rate bounded. |
|
site
Package site assembles the playground's static site, serves it for tests, and checks a deployed copy against a build.
|
Package site assembles the playground's static site, serves it for tests, and checks a deployed copy against a build. |
|
termfilter
Package termfilter makes untrusted output safe to hand to a terminal emulator (xterm.js in the playground).
|
Package termfilter makes untrusted output safe to hand to a terminal emulator (xterm.js in the playground). |
|
thirdparty
Package thirdparty fetches the page's third-party scripts from the npm registry, checks them against the registry's published integrity hash, and writes the files the page serves itself (its CSP allows no other origin).
|
Package thirdparty fetches the page's third-party scripts from the npm registry, checks them against the registry's published integrity hash, and writes the files the page serves itself (its CSP allows no other origin). |
Click to show internal directories.
Click to hide internal directories.