internal/

directory
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0

Directories

Path Synopsis
Package apikeys checks the keys callers bring: a tenant's, or the one gitd's network address asks for without tenants.
Package apikeys checks the keys callers bring: a tenant's, or the one gitd's network address asks for without tenants.
Package audit keeps the audit log: every publish, done or refused, one per line of an append-only file, in the JSON form of the contract's AuditEntry.
Package audit keeps the audit log: every publish, done or refused, one per line of an append-only file, in the JSON form of the contract's AuditEntry.
Package cli is gitd's command line.
Package cli is gitd's command line.
Package config reads gitd's configuration, a TOML file whose every key has a default.
Package config reads gitd's configuration, a TOML file whose every key has a default.
Package conformance checks that every way of making a workspace from a template behaves, under what an agent does with git, exactly as a written checkout does — and never changes the template.
Package conformance checks that every way of making a workspace from a template behaves, under what an agent does with git, exactly as a written checkout does — and never changes the template.
Package connections keeps the credentials a platform gives gitd through the API: one file per connection under the state directory, readable by gitd's user only, its secret sealed when gitd has a secrets key.
Package connections keeps the credentials a platform gives gitd through the API: one file per connection under the state directory, readable by gitd's user only, its secret sealed when gitd has a secrets key.
Package connectpage writes the pages `gitd connect github-app` serves on this machine while a person creates their organisation's GitHub App: what will be created and may do, that it is connected and where to install it, or why it was not kept.
Package connectpage writes the pages `gitd connect github-app` serves on this machine while a person creates their organisation's GitHub App: what will be created and may do, that it is connected and where to install it, or why it was not kept.
Package credentials turns the credentials of one request into how git reads a repository.
Package credentials turns the credentials of one request into how git reads a repository.
Package csi is gitd's Kubernetes CSI node plugin: a pod asks for a workspace like any volume — an ephemeral inline volume of the driver gitd.dev — and gets a copy-on-write checkout, made by the gitd on its node, with no credential in the pod.
Package csi is gitd's Kubernetes CSI node plugin: a pod asks for a workspace like any volume — an ephemeral inline volume of the driver gitd.dev — and gets a copy-on-write checkout, made by the gitd on its node, with no credential in the pod.
Package daemon is gitd serving: it reads the configuration, puts every part together and answers on the socket until it is told to stop.
Package daemon is gitd serving: it reads the configuration, puts every part together and answers on the socket until it is told to stop.
Package endpoint is gitd's git endpoint: sandboxes that cannot mount gitd's directories clone and push over smart HTTP, with tokens of gitd's own that open one repository each, never the git host's credential.
Package endpoint is gitd's git endpoint: sandboxes that cannot mount gitd's directories clone and push over smart HTTP, with tokens of gitd's own that open one repository each, never the git host's credential.
Package events carries what happens to workspaces to whoever watches: a workspace made, changed, published, refused or removed.
Package events carries what happens to workspaces to whoever watches: a workspace made, changed, published, refused or removed.
Package files writes the files gitd keeps for itself under its state directory.
Package files writes the files gitd keeps for itself under its state directory.
Package git runs the official git binary, and is the only thing in gitd that does.
Package git runs the official git binary, and is the only thing in gitd that does.
Package githubapp makes the tokens of a GitHub App: a short JWT signed with the App's private key asks GitHub for an installation token limited to one repository and to what one operation needs, kept in memory until shortly before it expires.
Package githubapp makes the tokens of a GitHub App: a short JWT signed with the App's private key asks GitHub for an installation token limited to one repository and to what one operation needs, kept in memory until shortly before it expires.
Package housekeeping keeps the pools healthy and the disk clean, by itself.
Package housekeeping keeps the pools healthy and the disk clean, by itself.
Package lock serializes the writes on one repository and bounds how many run at once.
Package lock serializes the writes on one repository and bounds how many run at once.
Package mcpserver offers gitd to AI agents as Model Context Protocol tools, over stdio.
Package mcpserver offers gitd to AI agents as Model Context Protocol tools, over stdio.
Package metrics is what gitd tells Prometheus.
Package metrics is what gitd tells Prometheus.
Package mounthelper is gitd-mount: the one process that may mount, so that gitd needs no privilege at all.
Package mounthelper is gitd-mount: the one process that may mount, so that gitd needs no privilege at all.
Package pool keeps one bare copy of each repository on this server, and is the only thing that reaches the network for it.
Package pool keeps one bare copy of each repository on this server, and is the only thing that reaches the network for it.
Package progress reads what git writes to stderr with `--progress` while it works.
Package progress reads what git writes to stderr with `--progress` while it works.
Package publishing keeps the rules publishing follows for the repositories under each prefix, and the presets — named sets of rules — those settings take: gitd's own, those of the configuration file, shown and never changed through the API, and those a platform sets through it, kept under the state directory and applied at once.
Package publishing keeps the rules publishing follows for the repositories under each prefix, and the presets — named sets of rules — those settings take: gitd's own, those of the configuration file, shown and never changed through the API, and those a platform sets through it, kept under the state directory and applied at once.
Package pullrequests opens the pull request of a publish, on the host's API, with the same credential that pushed it, and writes its body: who asked for the work and what gitd checked, so a reviewer reads in a minute what they would otherwise dig for.
Package pullrequests opens the pull request of a publish, on the host's API, with the same credential that pushed it, and writes its body: who asked for the work and what gitd checked, so a reviewer reads in a minute what they would otherwise dig for.
Package repo says which repository an address names.
Package repo says which repository an address names.
Package secrets keeps the secrets gitd stores on disk — the tokens and private keys of connections made through the API — sealed with a key kept apart, when one is given.
Package secrets keeps the secrets gitd stores on disk — the tokens and private keys of connections made through the API — sealed with a key kept apart, when one is given.
Package server answers the contract in proto/gitd/v1 over ConnectRPC, on a Unix socket.
Package server answers the contract in proto/gitd/v1 over ConnectRPC, on a Unix socket.
Package strategy makes a workspace's directory from a template without writing its files: an overlay layer on top of the template, or a reflink copy of it.
Package strategy makes a workspace's directory from a template without writing its files: an overlay layer on top of the template, or a reflink copy of it.
Package template keeps the templates copy-on-write workspaces are made from: one read-only checkout of a repository at a commit, built once and shared by every workspace of that commit, and retired once none uses it.
Package template keeps the templates copy-on-write workspaces are made from: one read-only checkout of a repository at a commit, built once and shared by every workspace of that commit, and retired once none uses it.
Package winservice runs gitd as a Windows service, as systemd runs it on Linux: started with the machine, restarted when it fails, answering whoever is in the local group gitd.
Package winservice runs gitd as a Windows service, as systemd runs it on Linux: started with the machine, restarted when it fails, answering whoever is in the local group gitd.
Package workspace checks repositories out where their users need them.
Package workspace checks repositories out where their users need them.

Jump to

Keyboard shortcuts

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