internal/

directory
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT

Directories

Path Synopsis
Package addons is donkey's attached-resource model: an addon is a canonical env contract (DATABASE_URL and friends) injected into the app.
Package addons is donkey's attached-resource model: an addon is a canonical env contract (DATABASE_URL and friends) injected into the app.
Package ai is donkey's assistant, and donkey requires it: it reads every app and reports what it is, how to build it, which port it binds, which folders must survive a restart.
Package ai is donkey's assistant, and donkey requires it: it reads every app and reports what it is, how to build it, which port it binds, which folders must survive a restart.
Package aiproxy serves the openai and exa addons: apps call it with a per-space token, which it checks against the bindings donkey issued and swaps for the platform's real credential.
Package aiproxy serves the openai and exa addons: apps call it with a per-space token, which it checks against the bindings donkey issued and swaps for the platform's real credential.
Package analytics is the browser end of donkey's web analytics: the script donkey-gateway adds to web apps' HTML pages, and the classification that turns what a request carries into report dimensions before anything leaves the gateway — browser, OS and device from the user agent, a country from the browser's time zone, a channel from the referrer and campaign.
Package analytics is the browser end of donkey's web analytics: the script donkey-gateway adds to web apps' HTML pages, and the classification that turns what a request carries into report dimensions before anything leaves the gateway — browser, OS and device from the user agent, a country from the browser's time zone, a channel from the referrer and campaign.
Package apiclient is the CLI's transport to donkey-server.
Package apiclient is the CLI's transport to donkey-server.
Package build turns source folders into pushed container images.
Package build turns source folders into pushed container images.
Package cli wires up the donkey command tree (urfave/cli v3).
Package cli wires up the donkey command tree (urfave/cli v3).
Package deployment stores release history and image scan artifacts beside source history on the orchestrator's data volume.
Package deployment stores release history and image scan artifacts beside source history on the orchestrator's data volume.
Package detect decides how a folder should be built.
Package detect decides how a folder should be built.
Package doctor is donkey's client-side environment check engine, backing `donkey doctor` (the server contributes its own checks via the API).
Package doctor is donkey's client-side environment check engine, backing `donkey doctor` (the server contributes its own checks via the API).
Package filetransfer verifies streamed uploads without buffering their contents.
Package filetransfer verifies streamed uploads without buffering their contents.
Package gateway is donkey's edge: it terminates TLS, routes hostnames to apps, runs the OIDC login, checks each route's access rules and forwards with identity headers.
Package gateway is donkey's edge: it terminates TLS, routes hostnames to apps, runs the OIDC login, checks each route's access rules and forwards with identity headers.
Package gitutil resolves the current commit without the git binary or a full git library — donkey only needs a short sha for image tags.
Package gitutil resolves the current commit without the git binary or a full git library — donkey only needs a short sha for image tags.
Package history keeps every app's source as a git repository: what each deploy uploaded, and what donkey's build changed on top of it.
Package history keeps every app's source as a git repository: what each deploy uploaded, and what donkey's build changed on top of it.
Package identity is the sealed credential the browser login mints for the CLI: what the IdP said, encrypted-and-authenticated under the session key.
Package identity is the sealed credential the browser login mints for the CLI: what the IdP said, encrypted-and-authenticated under the session key.
Package packages exposes read-only package registries to BuildKit without handing their credentials to app Dockerfiles.
Package packages exposes read-only package registries to BuildKit without handing their credentials to app Dockerfiles.
Package server is donkey's control plane: a REST API running inside the cluster, building with the in-cluster BuildKit and applying the same manifests the CLI used to apply directly.
Package server is donkey's control plane: a REST API running inside the cluster, building with the in-cluster BuildKit and applying the same manifests the CLI used to apply directly.
Package serviceproxy exposes configured HTTP targets through space-owned bindings.
Package serviceproxy exposes configured HTTP targets through space-owned bindings.
Package storage provides runtime-independent persistent transactions.
Package storage provides runtime-independent persistent transactions.
Package telemetry is donkey's small, purpose-built traffic telemetry backend.
Package telemetry is donkey's small, purpose-built traffic telemetry backend.
Package ui centralizes all terminal output so the whole CLI speaks with one voice: plain language in the default view, technical detail behind verbose.
Package ui centralizes all terminal output so the whole CLI speaks with one voice: plain language in the default view, technical detail behind verbose.
Package webpage is the shell for the few HTML pages donkey renders itself, outside the console: the gateway's sign-in errors and notices, the OAuth consent form, and the CLI's "signed in" tab.
Package webpage is the shell for the few HTML pages donkey renders itself, outside the console: the gateway's sign-in errors and notices, the OAuth consent form, and the CLI's "signed in" tab.

Jump to

Keyboard shortcuts

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