Directories
¶
| Path | Synopsis |
|---|---|
|
Package admit decides when a command may start (spec 6.2, 6.6).
|
Package admit decides when a command may start (spec 6.2, 6.6). |
|
Package agent is the remote side of a job (spec 8.4), the same binary as the host side.
|
Package agent is the remote side of a job (spec 8.4), the same binary as the host side. |
|
agenttest
Package agenttest is a fixture that drives agent.Run in-process as a plain user against a local git repository, for the agent's own tests and the conformance suite.
|
Package agenttest is a fixture that drives agent.Run in-process as a plain user against a local git repository, for the agent's own tests and the conformance suite. |
|
Package classify unwraps an argv into simple commands and applies refuse rules (spec 6.7).
|
Package classify unwraps an argv into simple commands and applies refuse rules (spec 6.7). |
|
classifytest
Package classifytest holds the classifier fixtures shared by unit and conformance tests.
|
Package classifytest holds the classifier fixtures shared by unit and conformance tests. |
|
Package cli dispatches bitc's subcommands.
|
Package cli dispatches bitc's subcommands. |
|
Package config loads and merges bitc's TOML files (spec 5).
|
Package config loads and merges bitc's TOML files (spec 5). |
|
gen
command
Command gen prints the generated configuration reference.
|
Command gen prints the generated configuration reference. |
|
Package exit is bitc's exit-code contract (spec 4).
|
Package exit is bitc's exit-code contract (spec 4). |
|
Package jobs is bitc's detached-job record (spec 7).
|
Package jobs is bitc's detached-job record (spec 7). |
|
Package lock wraps flock(2) on O_CLOEXEC files (spec 6.2, 9).
|
Package lock wraps flock(2) on O_CLOEXEC files (spec 6.2, 9). |
|
Package proc reads process ancestry and groups (spec 6.2, 6.6): /proc on Linux, sysctl kern.proc on darwin.
|
Package proc reads process ancestry and groups (spec 6.2, 6.6): /proc on Linux, sysctl kern.proc on darwin. |
|
Package proctest tells tests whether a process is gone (standard library only).
|
Package proctest tells tests whether a process is gone (standard library only). |
|
Package provider is the interface every remote provider implements (spec 8.1).
|
Package provider is the interface every remote provider implements (spec 8.1). |
|
fake
Package fake is a test-only provider that runs the job as a local process.
|
Package fake is a test-only provider that runs the job as a local process. |
|
plugin
Package plugin is the adapter that runs an external provider executable (spec 8.5, providers delta A) behind the Provider interface: one pinned process per bitc process and type, NDJSON on its stdin and stdout, secrets on fd 3.
|
Package plugin is the adapter that runs an external provider executable (spec 8.5, providers delta A) behind the Provider interface: one pinned process per bitc process and type, NDJSON on its stdin and stdout, secrets on fd 3. |
|
plugin/pin
Package pin checks and opens a pinned provider plugin (providers delta A.2): an absolute path and a sha256, a regular ELF file owned by the user or root, no group or world write on it or any parent, no setuid or setgid bit, no file capabilities.
|
Package pin checks and opens a pinned provider plugin (providers delta A.2): an absolute path and a sha256, a regular ELF file owned by the user or root, no group or world write on it or any parent, no setuid or setgid bit, no file capabilities. |
|
plugin/stubplugin
command
Command stubplugin is a minimal provider plugin for bitc's own tests (providers delta P.1): a protocol-1 peer with fault modes, driven by the `fault` key of its [providers.<t>] section (or STUB_HELLO_FAULT for faults before configure).
|
Command stubplugin is a minimal provider plugin for bitc's own tests (providers delta P.1): a protocol-1 peer with fault modes, driven by the `fault` key of its [providers.<t>] section (or STUB_HELLO_FAULT for faults before configure). |
|
runpod
Package runpod is the RunPod provider (spec 8.7): CPU pods over REST v2.
|
Package runpod is the RunPod provider (spec 8.7): CPU pods over REST v2. |
|
runpod/runpodfake
Package runpodfake is a fake RunPod REST v2 API for tests (spec 11): every created pod is a local `bitc __agent` process in its own process group, its stdout is the container log, and a second loopback server proxies /<pod>-<port>/v1/<file> to the agent's results server.
|
Package runpodfake is a fake RunPod REST v2 API for tests (spec 11): every created pod is a local `bitc __agent` process in its own process group, its stdout is the container log, and a second loopback server proxies /<pod>-<port>/v1/<file> to the agent's results server. |
|
sprites
Package sprites is the Fly Sprites client (sprites-provider.md): the REST calls a fresh-Sprite-per-job provider needs, the WebSocket exec channel, the error classes of 1.2 and the pre-attach / attached classification of 1.3.
|
Package sprites is the Fly Sprites client (sprites-provider.md): the REST calls a fresh-Sprite-per-job provider needs, the WebSocket exec channel, the error classes of 1.2 and the pre-attach / attached classification of 1.3. |
|
sprites/liveprobe
Package liveprobe is the Sprites probe kit: a scripted, capped runner that answers the open items of docs/design/sprites-provider.md section 9 against the live Sprites API.
|
Package liveprobe is the Sprites probe kit: a scripted, capped runner that answers the open items of docs/design/sprites-provider.md section 9 against the live Sprites API. |
|
sprites/spritesfake
Package spritesfake is a strict fake of the Fly Sprites API for tests (sprites-provider.md 8.1): an httptest REST server plus a WSS exec endpoint.
|
Package spritesfake is a strict fake of the Fly Sprites API for tests (sprites-provider.md 8.1): an httptest REST server plus a WSS exec endpoint. |
|
ssh
Package ssh is the fixed-capacity provider (providers delta C): jobs run on one host the owner already has, reached over the system OpenSSH client, with a number of slots instead of a price.
|
Package ssh is the fixed-capacity provider (providers delta C): jobs run on one host the owner already has, reached over the system OpenSSH client, with a number of slots instead of a price. |
|
ssh/sshfake
Package sshfake is the ssh provider's test double (providers delta C.11): a fake host gate.
|
Package sshfake is the ssh provider's test double (providers delta C.11): a fake host gate. |
|
ssh/sshfake/gate
command
Command sshfakegate is the fake ssh host gate the conformance suite runs in place of ssh (providers delta C.11): `sshfakegate --root DIR -- <gate command line>`.
|
Command sshfakegate is the fake ssh host gate the conformance suite runs in place of ssh (providers delta C.11): `sshfakegate --root DIR -- <gate command line>`. |
|
Package redact keeps secret values out of every bitc log sink (spec 10).
|
Package redact keeps secret values out of every bitc log sink (spec 10). |
|
Package remote runs a job on a remote provider (spec 8.2-8.4) with the shared rails.
|
Package remote runs a job on a remote provider (spec 8.2-8.4) with the shared rails. |
|
artifacts
Package artifacts brings a remote job's declared paths back into the work tree (spec 8.4).
|
Package artifacts brings a remote job's declared paths back into the work tree (spec 8.4). |
|
gitref
Package gitref holds the git helpers of the git-push transport (spec 8.4): clone URL derivation, known hosts, and job-ref sweeping.
|
Package gitref holds the git helpers of the git-push transport (spec 8.4): clone URL derivation, known hosts, and job-ref sweeping. |
|
rails
Package rails is the shared remote safety rails (spec 8.3).
|
Package rails is the shared remote safety rails (spec 8.3). |
|
transport
Package transport is the git-push code transport stage (spec 8.4).
|
Package transport is the git-push code transport stage (spec 8.4). |
|
Package run is the `bitc run` pipeline (spec 6) and the local runner.
|
Package run is the `bitc run` pipeline (spec 6) and the local runner. |
|
Package state owns bitc's on-disk layout (spec 9).
|
Package state owns bitc's on-disk layout (spec 9). |
|
Package status implements status, sweep and doctor (spec 3.3).
|
Package status implements status, sweep and doctor (spec 3.3). |
|
Package version is stamped by the build (-ldflags -X).
|
Package version is stamped by the build (-ldflags -X). |
|
Package wsmini is the minimal RFC 6455 framing the Sprites exec channel needs, so the module takes no WebSocket dependency.
|
Package wsmini is the minimal RFC 6455 framing the Sprites exec channel needs, so the module takes no WebSocket dependency. |
Click to show internal directories.
Click to hide internal directories.