Directories
¶
| Path | Synopsis |
|---|---|
|
Package check holds the required checks of a ref, the results that a runner posts, and the delivery of check requests.
|
Package check holds the required checks of a ref, the results that a runner posts, and the delivery of check requests. |
|
checktest
Package checktest is the conformance suite of check.Store.
|
Package checktest is the conformance suite of check.Store. |
|
Package config reads the configuration of ward from the environment.
|
Package config reads the configuration of ward from the environment. |
|
Package devicelogin signs a person in with the OAuth device authorization grant (RFC 8628) against any OIDC issuer, and keeps the token in a file that only the user reads.
|
Package devicelogin signs a person in with the OAuth device authorization grant (RFC 8628) against any OIDC issuer, and keeps the token in a file that only the user reads. |
|
dispatch
|
|
|
pull
Package pull is the queue that runners poll.
|
Package pull is the queue that runners poll. |
|
Package gitcred is the seam between the mirror and the source of the password that it gives to a git remote.
|
Package gitcred is the seam between the mirror and the source of the password that it gives to a git remote. |
|
credtest
Package credtest is the conformance suite of gitcred.Credential.
|
Package credtest is the conformance suite of gitcred.Credential. |
|
forgeapp
Package forgeapp is the gitcred.Credential of a GitHub App installation.
|
Package forgeapp is the gitcred.Credential of a GitHub App installation. |
|
passwordfile
Package passwordfile is the gitcred.Credential of a password or token that an operator keeps in a file.
|
Package passwordfile is the gitcred.Credential of a password or token that an operator keeps in a file. |
|
Package gitremote is the seam between the mirror and the git remotes that it talks to: listing the refs of a remote and pushing refs to it.
|
Package gitremote is the seam between the mirror and the git remotes that it talks to: listing the refs of a remote and pushing refs to it. |
|
fakeremote
Package fakeremote is a gitremote.Remote that keeps the refs of each URL in memory.
|
Package fakeremote is a gitremote.Remote that keeps the refs of each URL in memory. |
|
gitbin
Package gitbin is the gitremote.Remote that runs the git binary with a clean environment.
|
Package gitbin is the gitremote.Remote that runs the git binary with a clean environment. |
|
remotetest
Package remotetest is the conformance suite of gitremote.Remote.
|
Package remotetest is the conformance suite of gitremote.Remote. |
|
Package identity maps the credential of a request to the claims of a caller token.
|
Package identity maps the credential of a request to the claims of a caller token. |
|
bearer
Package bearer authenticates a request by a signed caller token in the header Authorization.
|
Package bearer authenticates a request by a signed caller token in the header Authorization. |
|
identitytest
Package identitytest holds the conformance suite of identity.Authenticator and a signer of JWTs.
|
Package identitytest holds the conformance suite of identity.Authenticator and a signer of JWTs. |
|
oidc
Package oidc authenticates a request by a signed OIDC JWT from any issuer, and maps a claim of the JWT to the scope land on a repository with rules.
|
Package oidc authenticates a request by a signed OIDC JWT from any issuer, and maps a claim of the JWT to the scope land on a repository with rules. |
|
usertoken
Package usertoken authenticates a request by a per-user token that an operator issued.
|
Package usertoken authenticates a request by a per-user token that an operator issued. |
|
Package land lands a motte branch on a ref through a per-ref queue.
|
Package land lands a motte branch on a ref through a per-ref queue. |
|
landtest
Package landtest is the conformance suite of land.Store.
|
Package landtest is the conformance suite of land.Store. |
|
Package mirror keeps a one-way mirror from motte to external git remotes.
|
Package mirror keeps a one-way mirror from motte to external git remotes. |
|
mirrortest
Package mirrortest is the conformance suite of mirror.Store.
|
Package mirrortest is the conformance suite of mirror.Store. |
|
Package procgroup runs a command as the leader of its own process group and kills the whole group on cancel.
|
Package procgroup runs a command as the leader of its own process group and kills the whole group on cancel. |
|
release
|
|
|
cmd/release
command
Command release builds and publishes the ward command-line binary of a release tag.
|
Command release builds and publishes the ward command-line binary of a release tag. |
|
publish
Package publish is the seam of the release destination.
|
Package publish is the seam of the release destination. |
|
publish/dir
Package dir publishes release artifacts to a directory, such as a mounted bucket.
|
Package dir publishes release artifacts to a directory, such as a mounted bucket. |
|
publish/github
Package github publishes release artifacts as assets of a GitHub release through the gh CLI.
|
Package github publishes release artifacts as assets of a GitHub release through the gh CLI. |
|
publish/publishtest
Package publishtest is the conformance suite of publish.Publisher.
|
Package publishtest is the conformance suite of publish.Publisher. |
|
Package runner is `ward runner`: a check runner that leases check requests from ward, fetches the exact tree, runs the argv of the check in a sandbox and posts the result to ward.
|
Package runner is `ward runner`: a check runner that leases check requests from ward, fetches the exact tree, runs the argv of the check in a sandbox and posts the result to ward. |
|
install
Package install prepares a Linux host to run `ward runner` in pull mode.
|
Package install prepares a Linux host to run `ward runner` in pull mode. |
|
sandbox
Package sandbox is the seam between a check runner and the place where check code runs.
|
Package sandbox is the seam between a check runner and the place where check code runs. |
|
sandbox/container
Package container runs a check in an OCI container through the command line of an engine such as docker or podman.
|
Package container runs a check in an OCI container through the command line of an engine such as docker or podman. |
|
sandbox/fake
Package fake is the minimal implementation of sandbox.Sandbox for tests.
|
Package fake is the minimal implementation of sandbox.Sandbox for tests. |
|
sandbox/gvisor
Package gvisor runs a check in an OCI container under the gVisor runtime runsc, through a container engine.
|
Package gvisor runs a check in an OCI container under the gVisor runtime runsc, through a container engine. |
|
sandbox/sandboxtest
Package sandboxtest is the conformance suite of sandbox.Sandbox.
|
Package sandboxtest is the conformance suite of sandbox.Sandbox. |
|
Package server is the HTTP surface of ward.
|
Package server is the HTTP surface of ward. |
|
state
|
|
|
memory
Package memory is the in-memory state store of ward.
|
Package memory is the in-memory state store of ward. |
|
sqlite
Package sqlite is the SQLite state store of ward: the mirror, the check results and the lands.
|
Package sqlite is the SQLite state store of ward: the mirror, the check results and the lands. |
|
Package telemetry sets up the OTLP export of traces and metrics.
|
Package telemetry sets up the OTLP export of traces and metrics. |
|
Package token signs and verifies the caller tokens of ward.
|
Package token signs and verifies the caller tokens of ward. |
|
Package usertokentest holds the conformance suite of usertoken.Store and an in-memory Store that runs it.
|
Package usertokentest holds the conformance suite of usertoken.Store and an in-memory Store that runs it. |
Click to show internal directories.
Click to hide internal directories.