Directories
¶
| Path | Synopsis |
|---|---|
|
Package api holds the wire types and error codes of the /v1 routes.
|
Package api holds the wire types and error codes of the /v1 routes. |
|
Package client is the typed Go client of the motte store and control planes.
|
Package client is the typed Go client of the motte store and control planes. |
|
cmd
|
|
|
motte
command
Command motte is the store service.
|
Command motte is the store service. |
|
motte-loadtest
command
Command motte-loadtest builds a synthetic large repository in a motte service and drives concurrent clients against it.
|
Command motte-loadtest builds a synthetic large repository in a motte service and drives concurrent clients against it. |
|
motte-vfsd
command
Command motte-vfsd is the node daemon of the virtual workspace.
|
Command motte-vfsd is the node daemon of the virtual workspace. |
|
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. |
|
Package grant signs and verifies the bearer grants of the store.
|
Package grant signs and verifies the bearer grants of the store. |
|
Package identity verifies who sent a request and matches that person against access rules.
|
Package identity verifies who sent a request and matches that person against access rules. |
|
identitytest
Package identitytest holds the conformance suite of identity.Verifier and a signer of Access JWTs.
|
Package identitytest holds the conformance suite of identity.Verifier and a signer of Access JWTs. |
|
oidc
Package oidc authenticates a request by a signed OIDC JWT from any issuer, and maps a claim of the JWT to a scope 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 a scope on a repository with rules. |
|
usertoken
Package usertoken authenticates a request by a per-user token that an administrator issued.
|
Package usertoken authenticates a request by a per-user token that an administrator issued. |
|
internal
|
|
|
access
Package access turns the credential of a request into the claims of a grant.
|
Package access turns the credential of a request into the claims of a grant. |
|
bucket
Package bucket is the object store seam of the store service.
|
Package bucket is the object store seam of the store service. |
|
bucket/buckettest
Package buckettest is the conformance suite of bucket.Store.
|
Package buckettest is the conformance suite of bucket.Store. |
|
bucket/fs
Package fs backs the bucket seam with a directory.
|
Package fs backs the bucket seam with a directory. |
|
bucket/gcs
Package gcs backs the bucket seam with Google Cloud Storage.
|
Package gcs backs the bucket seam with Google Cloud Storage. |
|
bucket/mem
Package mem is a bucket.Store that keeps its objects in memory.
|
Package mem is a bucket.Store that keeps its objects in memory. |
|
bucket/s3
Package s3 backs the bucket seam with an S3-compatible object store: AWS S3, Cloudflare R2 or MinIO.
|
Package s3 backs the bucket seam with an S3-compatible object store: AWS S3, Cloudflare R2 or MinIO. |
|
clock
Package clock aliases the quartz Clock and adds Real, Or and Wait.
|
Package clock aliases the quartz Clock and adds Real, Or and Wait. |
|
gitpack
Package gitpack reads git pack files and v2 pack indexes by ranged reads.
|
Package gitpack reads git pack files and v2 pack indexes by ranged reads. |
|
gitproto
Package gitproto speaks the git smart HTTP protocol over an object reader: ref advertisement, protocol v2 fetch and ls-refs, and the commands and report of receive-pack.
|
Package gitproto speaks the git smart HTTP protocol over an object reader: ref advertisement, protocol v2 fetch and ls-refs, and the commands and report of receive-pack. |
|
land
Package land rebases a linear range of commits onto the tip of a ref by applying its tree changes, with a file-level conflict check.
|
Package land rebases a linear range of commits onto the tip of a ref by applying its tree changes, with a file-level conflict check. |
|
linemerge
Package linemerge merges two edits of one text file, made from a common base, by lines.
|
Package linemerge merges two edits of one text file, made from a common base, by lines. |
|
meta/metatest
Package metatest is the conformance suite of meta.Store.
|
Package metatest is the conformance suite of meta.Store. |
|
meta/postgres
Package postgres is the PostgreSQL backend of meta.Store.
|
Package postgres is the PostgreSQL backend of meta.Store. |
|
meta/sqlcore
Package sqlcore holds the checks that the SQL backends of meta.Store run after a write changed no row: they read the cause and pick the error.
|
Package sqlcore holds the checks that the SQL backends of meta.Store run after a write changed no row: they read the cause and pick the error. |
|
midx
Package midx is the layered multi-pack index of a repository: one sorted lookup structure over many packs, the manifest that lists the layers of a repository, and the geometric rules that merge layers and compact packs.
|
Package midx is the layered multi-pack index of a repository: one sorted lookup structure over many packs, the manifest that lists the layers of a repository, and the geometric rules that merge layers and compact packs. |
|
pgtest
Package pgtest gives a test a pool on a private migrated schema.
|
Package pgtest gives a test a pool on a private migrated schema. |
|
pktline
Package pktline reads and writes the pkt-line framing of the git wire protocols.
|
Package pktline reads and writes the pkt-line framing of the git wire protocols. |
|
refname
Package refname holds the ref name rule of the store.
|
Package refname holds the ref name rule of the store. |
|
release/cmd/release
command
Command release builds and publishes release artifacts with no CI provider.
|
Command release builds and publishes release artifacts with no CI provider. |
|
release/publish
Package publish is the seam of the release destination.
|
Package publish is the seam of the release destination. |
|
release/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. |
|
release/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. |
|
release/publish/publishtest
Package publishtest is the conformance suite of publish.Publisher.
|
Package publishtest is the conformance suite of publish.Publisher. |
|
repos
Package repos holds the rules of a repository that the store keeps.
|
Package repos holds the rules of a repository that the store keeps. |
|
server
Package server is the HTTP surface of the store: the store plane that the node daemon and the jj backend call, and the control plane of the caller.
|
Package server is the HTTP surface of the store: the store plane that the node daemon and the jj backend call, and the control plane of the caller. |
|
store
Package store keeps the git objects of a repository in packs and the operation objects of a workspace, in one object store.
|
Package store keeps the git objects of a repository in packs and the operation objects of a workspace, in one object store. |
|
testhook
Package testhook gives the tests of this module the stores and keys behind a testserver.Server, which the public type does not expose, so that a test can run a server with a configuration that no option sets.
|
Package testhook gives the tests of this module the stores and keys behind a testserver.Server, which the public type does not expose, so that a test can run a server with a configuration that no option sets. |
|
vfs/ctl
Package ctl serves the control protocol of a workspace: one JSON object for each line over a unix socket.
|
Package ctl serves the control protocol of a workspace: one JSON object for each line over a unix socket. |
|
vfs/lower
Package lower is a lazy read-only file system over one commit of the version control store: the lower layer of a kernel overlay, with the dirty set read from the upper directory.
|
Package lower is a lazy read-only file system over one commit of the version control store: the lower layer of a kernel overlay, with the dirty set read from the upper directory. |
|
vfs/nodegrant
Package nodegrant mints the node grants of the CSI plugin.
|
Package nodegrant mints the node grants of the CSI plugin. |
|
vfs/tel
Package tel carries the correlation attributes, spans and log records of the node daemon.
|
Package tel carries the correlation attributes, spans and log records of the node daemon. |
|
vfs/upperdir
Package upperdir reads the upper directory of the kernel overlay that serves a mount-mode workspace and reports which paths differ from the base tree that the read-only lower layer serves.
|
Package upperdir reads the upper directory of the kernel overlay that serves a mount-mode workspace and reports which paths differ from the base tree that the read-only lower layer serves. |
|
Package meta is the metadata seam of the store service: repositories, workspaces and their epoch fence, op heads, refs and the pack listing.
|
Package meta is the metadata seam of the store service: repositories, workspaces and their epoch fence, op heads, refs and the pack listing. |
|
sqlite
Package sqlite is the SQLite backend of meta.Store, for tests and for a service that runs with no other process.
|
Package sqlite is the SQLite backend of meta.Store, for tests and for a service that runs with no other process. |
|
Package testserver starts a real motte server in the process of a caller's test.
|
Package testserver starts a real motte server in the process of a caller's test. |
|
Package volume is the contract between a caller's sandbox driver and the node plugin: the volume attributes of a workspace.
|
Package volume is the contract between a caller's sandbox driver and the node plugin: the volume attributes of a workspace. |
Click to show internal directories.
Click to hide internal directories.