Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli provides the public entry point for embedding Forge's CLI as a subcommand in other cobra-based CLIs.
|
Package cli provides the public entry point for embedding Forge's CLI as a subcommand in other cobra-based CLIs. |
|
cmd
|
|
|
contractlint
command
|
|
|
forge
command
|
|
|
internal
|
|
|
apigate
command
Command apigate is the Go API-compatibility gate for forge/pkg: the packages every generated project imports.
|
Command apigate is the Go API-compatibility gate for forge/pkg: the packages every generated project imports. |
|
atomicfile
Package atomicfile is the one way forge writes a file it generates or scaffolds.
|
Package atomicfile is the one way forge writes a file it generates or scaffolds. |
|
bugreport
Package bugreport files a defect in forge itself with the Reliant engineering team: `forge report-bug`.
|
Package bugreport files a defect in forge itself with the Reliant engineering team: `forge report-bug`. |
|
buildinfo
Package buildinfo exposes the forge binary's version metadata to packages that cannot depend on internal/cli (to avoid import cycles).
|
Package buildinfo exposes the forge binary's version metadata to packages that cannot depend on internal/cli (to avoid import cycles). |
|
buildtarget
Package buildtarget owns the per-service build dispatch for services whose source lives outside the project's Go module — sibling repos, third-party binaries, language runtimes forge doesn't natively build.
|
Package buildtarget owns the per-service build dispatch for services whose source lives outside the project's Go module — sibling repos, third-party binaries, language runtimes forge doesn't natively build. |
|
bundle
Package bundle produces and consumes the artifact that answers "exactly what bytes, from exactly which source" for one environment.
|
Package bundle produces and consumes the artifact that answers "exactly what bytes, from exactly which source" for one environment. |
|
checksums
Package checksums owns forge's file-ownership machinery: which bytes does forge certify as its own render, which files has the user taken over, and what may a generate run overwrite.
|
Package checksums owns forge's file-ownership machinery: which bytes does forge certify as its own render, which files has the user taken over, and what may a generate run overwrite. |
|
cigate
Package cigate is the local CI gate: the one definition of what "CI passes" means for a forge project, runnable on a laptop and from a workflow.
|
Package cigate is the local CI gate: the one definition of what "CI passes" means for a forge project, runnable on a laptop and from a workflow. |
|
ciguard
Package ciguard holds forge's own CI wiring to the invariants that keep a sharded, path-filtered pipeline from silently testing less than it claims.
|
Package ciguard holds forge's own CI wiring to the invariants that keep a sharded, path-filtered pipeline from silently testing less than it claims. |
|
cli
Package cli — `forge project annotations`: dump forge's authoritative entity-authoring annotation spec as structured data.
|
Package cli — `forge project annotations`: dump forge's authoritative entity-authoring annotation spec as structured data. |
|
cli/audit
Package audit holds the `forge project audit` command group — a comprehensive snapshot of project state designed to orient an LLM (or human) without forcing them to grep ten different directories.
|
Package audit holds the `forge project audit` command group — a comprehensive snapshot of project state designed to orient an LLM (or human) without forcing them to grep ten different directories. |
|
cli/audittype
Package audittype holds the small, neutral value types shared by the `forge project audit` command group (internal/cli/audit) and the internal/cli code that contributes audit categories it cannot compute without package-cli internals (the KCL-entity-typed ingress / external-builds categories, and friction.go's auditFriction).
|
Package audittype holds the small, neutral value types shared by the `forge project audit` command group (internal/cli/audit) and the internal/cli code that contributes audit categories it cannot compute without package-cli internals (the KCL-entity-typed ingress / external-builds categories, and friction.go's auditFriction). |
|
cli/cmdutil
Package cmdutil holds cross-cutting helpers shared by forge's own CLI across MORE THAN ONE command group (internal/cli and its dir-nested subpackages).
|
Package cmdutil holds cross-cutting helpers shared by forge's own CLI across MORE THAN ONE command group (internal/cli and its dir-nested subpackages). |
|
cli/component
Package component holds the `forge component` command group — list, search, and install UI components from forge's built-in component library.
|
Package component holds the `forge component` command group — list, search, and install UI components from forge's built-in component library. |
|
cli/debug
Package debug holds the `forge debug` command group — a Delve-backed interactive debugger driver (start / break / continue / eval / ...).
|
Package debug holds the `forge debug` command group — a Delve-backed interactive debugger driver (start / break / continue / eval / ...). |
|
cli/factory
Package factory carries the shared dependency set ("the factory") threaded through forge's own CLI command tree, plus the command REGISTRY that lets dir-nested command-group subpackages (internal/cli/scaffold, internal/cli/lint, ...) attach to the root without a group↔root import cycle.
|
Package factory carries the shared dependency set ("the factory") threaded through forge's own CLI command tree, plus the command REGISTRY that lets dir-nested command-group subpackages (internal/cli/scaffold, internal/cli/lint, ...) attach to the root without a group↔root import cycle. |
|
cli/fix
Package fix holds the `forge fix` command group: codemods that rewrite the project's own code to what a lint asks for, run on request.
|
Package fix holds the `forge fix` command group: codemods that rewrite the project's own code to what a lint asks for, run on request. |
|
cli/lint
Package lint holds the `forge lint` command group — the project linter pipeline (golangci / buf / frontend / forge-convention / scaffold / migration-safety / wire-coverage …) plus the targeted single-rule flags and the --json aggregator.
|
Package lint holds the `forge lint` command group — the project linter pipeline (golangci / buf / frontend / forge-convention / scaffold / migration-safety / wire-coverage …) plus the targeted single-rule flags and the --json aggregator. |
|
cli/scaffold
Package scaffold holds the `forge scaffold` command — the one verb that writes new code into a forge project, at two granularities picked by ARITY:
|
Package scaffold holds the `forge scaffold` command — the one verb that writes new code into a forge project, at two granularities picked by ARITY: |
|
clickstack
Package clickstack names the facts about the local ClickStack compose service that `forge env up`, the doctor checks and the integration gate all have to agree on, so none of them learns a name from another's source.
|
Package clickstack names the facts about the local ClickStack compose service that `forge env up`, the doctor checks and the integration gate all have to agree on, so none of them learns a name from another's source. |
|
cliutil
Package cliutil holds small helpers shared across forge's CLI surface.
|
Package cliutil holds small helpers shared across forge's CLI surface. |
|
closedset
Package closedset keeps a database CHECK constraint's value list equal to the Go set it mirrors.
|
Package closedset keeps a database CHECK constraint's value list equal to the Go set it mirrors. |
|
cloud
Package cloud resolves the two things forge needs to talk to a hosted control plane, and keeps them apart on purpose:
|
Package cloud resolves the two things forge needs to talk to a hosted control plane, and keeps them apart on purpose: |
|
cluster
Package cluster owns the render-KCL → kubectl-apply → wait-rollouts pipeline that `forge env deploy`, `forge cluster reload`, and the deploy phase of `forge env up` all execute.
|
Package cluster owns the render-KCL → kubectl-apply → wait-rollouts pipeline that `forge env deploy`, `forge cluster reload`, and the deploy phase of `forge env up` all execute. |
|
codegen
Package codegen — config_native_emit.go wires the KCL config emitters (config_schema_gen.go, config_projection_gen.go, and the per-env config.k scaffolder below) into the generate pipeline.
|
Package codegen — config_native_emit.go wires the KCL config emitters (config_schema_gen.go, config_projection_gen.go, and the per-env config.k scaffolder below) into the generate pipeline. |
|
codemod
Package codemod holds forge's deterministic rewrites of a project's OWN files: the mechanical half of a release that changed a shape the project wrote down.
|
Package codemod holds forge's deterministic rewrites of a project's OWN files: the mechanical half of a release that changed a shape the project wrote down. |
|
commitpolicy
Package commitpolicy checks a forge project's git state against forge's commit policy:
|
Package commitpolicy checks a forge project's git state against forge's commit policy: |
|
config
internal/config is a pure schema/data/constants package: it declares the canonical forge.yaml types plus package-level lookup tables (e.g.
|
internal/config is a pure schema/data/constants package: it declares the canonical forge.yaml types plus package-level lookup tables (e.g. |
|
configproto
Package configproto names where a project's typed config is declared: the proto file path, the proto package and the Go package its messages generate into.
|
Package configproto names where a project's typed config is declared: the proto file path, the proto package and the Go package its messages generate into. |
|
consumercanary
command
Command consumercanary builds forge's consumers (reliant, control-plane) against the forge checkout under test.
|
Command consumercanary builds forge's consumers (reliant, control-plane) against the forge checkout under test. |
|
contractcheck
Package contractcheck inspects a project's internal/ tree for contract-shape violations.
|
Package contractcheck inspects a project's internal/ tree for contract-shape violations. |
|
deadcodeguard
Package deadcodeguard is the repository-wide proof that forge's own code cannot make a claim its own data refutes.
|
Package deadcodeguard is the repository-wide proof that forge's own code cannot make a claim its own data refutes. |
|
debug
Package debug wraps a Delve debugger so forge can drive a debugging session from the CLI layer.
|
Package debug wraps a Delve debugger so forge can drive a debugging session from the CLI layer. |
|
deploytarget
Package deploytarget owns the deploy dispatch — the surface that maps a rendered workload's RUNTIME (and each frontend's and database's deploy target) to a concrete pipeline that ships it somewhere.
|
Package deploytarget owns the deploy dispatch — the surface that maps a rendered workload's RUNTIME (and each frontend's and database's deploy target) to a concrete pipeline that ships it somewhere. |
|
depsurface
Package depsurface reads what a component KNOWS through its Deps (docs/design/composition-graph.md §2, "least knowledge"): for every Deps field, the type it declares and the part of that type the package actually uses through it.
|
Package depsurface reads what a component KNOWS through its Deps (docs/design/composition-graph.md §2, "least knowledge"): for every Deps field, the type it declares and the part of that type the package actually uses through it. |
|
devidentity
Package devidentity is `forge env up`'s half of managed identity: it converges an env whose identity runs on the env's own host-run Zitadel (forge.IdentityOnHost) with the SAME library the control plane runs against hosted instances, pkg/identity.
|
Package devidentity is `forge env up`'s half of managed identity: it converges an env whose identity runs on the env's own host-run Zitadel (forge.IdentityOnHost) with the SAME library the control plane runs against hosted instances, pkg/identity. |
|
devpg
Package devpg owns ONE fact: the host coordinates of the dev postgres a forge project's docker-compose publishes.
|
Package devpg owns ONE fact: the host coordinates of the dev postgres a forge project's docker-compose publishes. |
|
devstack
Package devstack owns forge's parallel-dev-stack primitives: the raw git facts that distinguish one working tree from another, and a memoized port-block allocator.
|
Package devstack owns forge's parallel-dev-stack primitives: the raw git facts that distinguish one working tree from another, and a memoized port-block allocator. |
|
e2eshard
command
Command e2eshard plans and maintains the sharding of forge's `-tags e2e` suite (.github/workflows/e2e-suite.yml).
|
Command e2eshard plans and maintains the sharding of forge's `-tags e2e` suite (.github/workflows/e2e-suite.yml). |
|
envutil
Package envutil holds the small, shared environment-handling helpers the build, deploy, and host-launch paths all need: a minimal .env parser and two env-overlay merges whose precedence is encoded in the name.
|
Package envutil holds the small, shared environment-handling helpers the build, deploy, and host-launch paths all need: a minimal .env parser and two env-overlay merges whose precedence is encoded in the name. |
|
exitcode
Package exitcode is the one place an error becomes a process status.
|
Package exitcode is the one place an error becomes a process status. |
|
flux
Package flux is the pre-1.0 home of what now lives in the public forge/pkg/flux.
|
Package flux is the pre-1.0 home of what now lives in the public forge/pkg/flux. |
|
forgecompat
Package forgecompat decides whether the running forge binary may generate into a project, from the forge version that project ACTUALLY resolves.
|
Package forgecompat decides whether the running forge binary may generate into a project, from the forge version that project ACTUALLY resolves. |
|
forgedelegate
Package forgedelegate finds, and if need be builds, the forge a project pins, so a forge of another version can hand a command to it.
|
Package forgedelegate finds, and if need be builds, the forge a project pins, so a forge of another version can hand a command to it. |
|
forgereach
Package forgereach answers one question for forge's CI gates: can this diff change what a consumer of forge sees?
|
Package forgereach answers one question for forge's CI gates: can this diff change what a consumer of forge sees? |
|
frontenddeps
Package frontenddeps ensures a frontend's node_modules is installed and current against its lockfile.
|
Package frontenddeps ensures a frontend's node_modules is installed and current against its lockfile. |
|
generator
Package generator: checksums shim.
|
Package generator: checksums shim. |
|
generator/contract
Package contract drives the four *_gen.go files (mock, middleware, tracing, metrics) emitted from a single hand-written contract.go.
|
Package contract drives the four *_gen.go files (mock, middleware, tracing, metrics) emitted from a single hand-written contract.go. |
|
gitsource
Cache eviction for the machine-local source cache.
|
Cache eviction for the machine-local source cache. |
|
goexec
Package goexec configures the `go` subprocesses forge runs on its own behalf.
|
Package goexec configures the `go` subprocesses forge runs on its own behalf. |
|
hostedimage
Package hostedimage holds the ONE vocabulary for "can the control plane pull this hosted image": the push-base resolution rule, the off-base finding, and its wording.
|
Package hostedimage holds the ONE vocabulary for "can the control plane pull this hosted image": the push-base resolution rule, the off-base finding, and its wording. |
|
hostinfra
Package hostinfra runs a project's declared dev infrastructure as HOST PROCESSES, with no container runtime involved.
|
Package hostinfra runs a project's declared dev infrastructure as HOST PROCESSES, with no container runtime involved. |
|
hostlaunch
Package hostlaunch composes exec.Cmds for host-mode services and frontends, plus the small env-file helpers both call sites need.
|
Package hostlaunch composes exec.Cmds for host-mode services and frontends, plus the small env-file helpers both call sites need. |
|
installers
Package installers holds the tests for forge's no-Go-toolchain install paths: install.sh, install.ps1, the npm shim in npm/, the Homebrew formula renderer and the release-asset builder they all download from.
|
Package installers holds the tests for forge's no-Go-toolchain install paths: install.sh, install.ps1, the npm shim in npm/, the Homebrew formula renderer and the release-asset builder they all download from. |
|
k3dkmsg
Package k3dkmsg lets `k3d cluster create` work on a Linux host that has no /dev/kmsg, as a kata or gVisor sandbox does.
|
Package k3dkmsg lets `k3d cluster create` work on a Linux host that has no /dev/kmsg, as a kata or gVisor sandbox does. |
|
kcleval
Package kcleval evaluates ONE KCL file of a project and selects fields out of the result, so nothing outside forge ever has to run `kcl` itself.
|
Package kcleval evaluates ONE KCL file of a project and selects fields out of the result, so nothing outside forge ever has to run `kcl` itself. |
|
kclmigrate
Package kclmigrate rewrites a project's deploy/kcl tree across a forge change that moved a declaration from one place to another.
|
Package kclmigrate rewrites a project's deploy/kcl tree across a forge change that moved a declaration from one place to another. |
|
kcloptions
Package kcloptions discovers the `-D` render options a project's KCL declares, so forge can validate and list them WITHOUT knowing what any of them mean.
|
Package kcloptions discovers the `-D` render options a project's KCL declares, so forge can validate and list them WITHOUT knowing what any of them mean. |
|
kclplugin
Package kclplugin registers forge's in-process KCL plugin namespace (kcl_plugin.forge.*), letting KCL pull host-runtime values during evaluation instead of forge having to pre-enumerate and inject them.
|
Package kclplugin registers forge's in-process KCL plugin namespace (kcl_plugin.forge.*), letting KCL pull host-runtime values during evaluation instead of forge having to pre-enumerate and inject them. |
|
kclprojects
Package kclprojects lets one forge project's KCL import another forge project's KCL package, at the version the importing project's Go module already pins.
|
Package kclprojects lets one forge project's KCL import another forge project's KCL package, at the version the importing project's Go module already pins. |
|
kclrender
Package kclrender is the single seam through which forge evaluates KCL.
|
Package kclrender is the single seam through which forge evaluates KCL. |
|
kcltest
Package kcltest runs the external `kcl` binary for tests that need to assert against a REAL render (as opposed to internal/kclrender, which is the embedded kcl-go seam production uses).
|
Package kcltest runs the external `kcl` binary for tests that need to assert against a REAL render (as opposed to internal/kclrender, which is the embedded kcl-go seam production uses). |
|
kclvendor
Package kclvendor supplies the forge KCL module to every KCL evaluation forge performs, straight from the binary that is performing it.
|
Package kclvendor supplies the forge KCL module to every KCL evaluation forge performs, straight from the binary that is performing it. |
|
kubeconfig
Package kubeconfig answers one question: where on THIS machine does the default kubeconfig live.
|
Package kubeconfig answers one question: where on THIS machine does the default kubeconfig live. |
|
ledgerfile
Package ledgerfile is the MACHINE-SCOPED file ledger: one model, the non-hosted store.
|
Package ledgerfile is the MACHINE-SCOPED file ledger: one model, the non-hosted store. |
|
lint/secrets
Package secrets is the `forge lint --secrets` lane: the rules about platform secrets (forge.ExternalSecret sources, External Secrets Operator objects, OpenBao grants) that the KCL schema cannot see because they span a whole rendered environment, or because they judge the objects it renders.
|
Package secrets is the `forge lint --secrets` lane: the rules about platform secrets (forge.ExternalSecret sources, External Secrets Operator objects, OpenBao grants) that the KCL schema cannot see because they span a whole rendered environment, or because they judge the objects it renders. |
|
linter/finding
Package finding is the single canonical home for the lint-finding vocabulary shared by every internal linter (forgeconv, scaffolds, migrationlint).
|
Package finding is the single canonical home for the lint-finding vocabulary shared by every internal linter (forgeconv, scaffolds, migrationlint). |
|
linter/forgeconv
File: internal/linter/forgeconv/allocate_port_spacing.go
|
File: internal/linter/forgeconv/allocate_port_spacing.go |
|
linter/scaffolds
Package scaffolds — `forge lint --check-workarounds` rule.
|
Package scaffolds — `forge lint --check-workarounds` rule. |
|
linter/slowtest
Package slowtest is the static half of forge's fast/slow test tiers: an analyzer that flags a Go test doing slow work without being marked slow, and that reads the inputs a slow test declares, from source.
|
Package slowtest is the static half of forge's fast/slow test tiers: an analyzer that flags a Go test doing slow work without being marked slow, and that reads the inputs a slow test declares, from source. |
|
linter/staticexport
Package staticexport reports what a Next.js App Router frontend contains that a static export (`output: "export"`) cannot serve.
|
Package staticexport reports what a Next.js App Router frontend contains that a static export (`output: "export"`) cannot serve. |
|
linter/suppress
Package suppress is the single suppression mechanism shared by every forge-owned linter (forgeconv, scaffolds, migrationlint, and the deadcode/vacuous guards once they are exposed to user projects).
|
Package suppress is the single suppression mechanism shared by every forge-owned linter (forgeconv, scaffolds, migrationlint, and the deadcode/vacuous guards once they are exposed to user projects). |
|
linter/tracinglint
Package tracinglint implements `forge lint --tracing`: the rules that keep a request's work inside ONE trace.
|
Package tracinglint implements `forge lint --tracing`: the rules that keep a request's work inside ONE trace. |
|
mergeproperty
Package mergeproperty checks forge's merge invariant for one generated file: two branches that change independent inputs merge with plain `git merge` — no merge driver, no attributes, exactly as GitHub's server-side merge does — into the bytes forge generate writes for the merged inputs.
|
Package mergeproperty checks forge's merge invariant for one generated file: two branches that change independent inputs merge with plain `git merge` — no merge driver, no attributes, exactly as GitHub's server-side merge does — into the bytes forge generate writes for the merged inputs. |
|
migrationgit
Package migrationgit answers, from git, the one question both the version lint and `forge db migration rebase` have to agree on: which migrations were already on the default branch when this branch was cut.
|
Package migrationgit answers, from git, the one question both the version lint and `forge db migration rebase` have to agree on: which migrations were already on the default branch when this branch was cut. |
|
migrationver
Package migrationver allocates migration version prefixes.
|
Package migrationver allocates migration version prefixes. |
|
mockheaderguard
Package mockheaderguard proves that the generated mock-data header describes a layout forge actually creates.
|
Package mockheaderguard proves that the generated mock-data header describes a layout forge actually creates. |
|
nodeengine
Package nodeengine refuses to run npm in a frontend on a Node the frontend's package.json says it does not support.
|
Package nodeengine refuses to run npm in a frontend on a Node the frontend's package.json says it does not support. |
|
npmoverlay
Package npmoverlay serves an npm registry that is the public one plus packages packed from a local checkout, so a test installs the code it is testing rather than the last release.
|
Package npmoverlay serves an npm registry that is the public one plus packages packed from a local checkout, so a test installs the code it is testing rather than the last release. |
|
npmoverlay/cmd/npm-overlay
command
Command npm-overlay serves this checkout's npm packages beside the public registry (package npmoverlay) until it is stopped.
|
Command npm-overlay serves this checkout's npm packages beside the public registry (package npmoverlay) until it is stopped. |
|
obsbackend
Code generated by forge.
|
Code generated by forge. |
|
obsbackend/obstest
Package obstest boots a throwaway ClickHouse holding the OpenTelemetry exporter's tables and seeds it with a known set of traces, logs and metrics, for the tests of the obs verbs (obsbackend's own, and the CLI's end to end).
|
Package obstest boots a throwaway ClickHouse holding the OpenTelemetry exporter's tables and seeds it with a known set of traces, logs and metrics, for the tests of the obs verbs (obsbackend's own, and the CLI's end to end). |
|
obsdash
Package obsdash turns a forge project's own service metadata into observability dashboards.
|
Package obsdash turns a forge project's own service metadata into observability dashboards. |
|
obsout
Package obsout is the agent output layer of the feedback-loop verbs (`forge obs …`, `forge env releases …`, `forge db query`): the one place that decides what a machine-readable document looks like, so every verb an agent calls answers in the same shape.
|
Package obsout is the agent output layer of the feedback-loop verbs (`forge obs …`, `forge env releases …`, `forge db query`): the one place that decides what a machine-readable document looks like, so every verb an agent calls answers in the same shape. |
|
openfiles
Package openfiles answers the one question every reclaimer that deletes from a shared directory must ask first: is a live process using this path?
|
Package openfiles answers the one question every reclaimer that deletes from a shared directory must ask first: is a live process using this path? |
|
pkgdirective
Package pkgdirective reads forge's package-level comment directives — `//forge:exclude-contract: <why>`, `//forge:not-a-component: <why>` and their kin — from a package directory's source.
|
Package pkgdirective reads forge's package-level comment directives — `//forge:exclude-contract: <why>`, `//forge:not-a-component: <why>` and their kin — from a package directory's source. |
|
procguard
Package procguard keeps forge from signalling the processes it is running inside.
|
Package procguard keeps forge from signalling the processes it is running inside. |
|
projectstore
Package projectstore is the single read surface for a forge project's PROJECT-GLOBAL state.
|
Package projectstore is the single read surface for a forge project's PROJECT-GLOBAL state. |
|
releasecompose
Package releasecompose adapts the shared public release composition engine.
|
Package releasecompose adapts the shared public release composition engine. |
|
releasetimeline
Package releasetimeline answers "what was released to this environment, when, by whom, and what changed" from the deploy ledger, and "which release was live at time T".
|
Package releasetimeline answers "what was released to this environment, when, by whom, and what changed" from the deploy ledger, and "which release was live at time T". |
|
removalguard
Package removalguard is the repository-wide proof that a removed feature is gone from EVERY surface forge ships — not just the Go tree.
|
Package removalguard is the repository-wide proof that a removed feature is gone from EVERY surface forge ships — not just the Go tree. |
|
repowalk
Package repowalk walks this repository's tree for the tests that scan it (the guard tests: goexec's toolchain guards, trimpathguard, vacuousguard), in a way Go's test cache can replay.
|
Package repowalk walks this repository's tree for the tests that scan it (the guard tests: goexec's toolchain guards, trimpathguard, vacuousguard), in a way Go's test cache can replay. |
|
scaffold
Package scaffold holds forge's BIRTH-TIME, SCAFFOLD-ONCE emitters: code that renders user-owned artifacts exactly once, at an explicit `forge scaffold ...` moment, and never touches them again.
|
Package scaffold holds forge's BIRTH-TIME, SCAFFOLD-ONCE emitters: code that renders user-owned artifacts exactly once, at an explicit `forge scaffold ...` moment, and never touches them again. |
|
secrets
Package secrets resolves declared secret REFERENCES (which live in git: EnvVar.secret_ref / secret_key) to secret VALUES (which never live in git) for one environment.
|
Package secrets resolves declared secret REFERENCES (which live in git: EnvVar.secret_ref / secret_key) to secret VALUES (which never live in git) for one environment. |
|
shadowdb
Package shadowdb resolves WHICH postgres server hosts the generate-time schema-introspection shadow database, and — inside a generate run — makes every reader of the applied schema share ONE application of the migrations to it (applied.go).
|
Package shadowdb resolves WHICH postgres server hosts the generate-time schema-introspection shadow database, and — inside a generate run — makes every reader of the applied schema share ONE application of the migrations to it (applied.go). |
|
shellbuildtokens
Package shellbuildtokens finds retired forge substitution tokens left in a ShellBuild `cmd`.
|
Package shellbuildtokens finds retired forge substitution tokens left in a ShellBuild `cmd`. |
|
shellrun
Package shellrun runs a POSIX shell script in-process (mvdan.cc/sh), so the same script behaves identically on every OS — including Windows, where no `sh` binary is on PATH.
|
Package shellrun runs a POSIX shell script in-process (mvdan.cc/sh), so the same script behaves identically on every OS — including Windows, where no `sh` binary is on PATH. |
|
sqlident
Package sqlident reads postgres identifiers out of SQL text.
|
Package sqlident reads postgres identifiers out of SQL text. |
|
statefile
Package statefile is the one place forge's JSON-record-under-.forge/state helpers live.
|
Package statefile is the one place forge's JSON-record-under-.forge/state helpers live. |
|
storage
Package storage owns host storage budgets and the lifecycle of explicitly registered local development caches.
|
Package storage owns host storage budgets and the lifecycle of explicitly registered local development caches. |
|
suspect
Package suspect finds the commits most likely to have introduced an error: the commits of a release's range that touched the files the error was raised from.
|
Package suspect finds the commits most likely to have introduced an error: the commits of a release's range that touched the files the error was raised from. |
|
templates
Package templates owns the embedded forge template tree and renders it into scaffolded code.
|
Package templates owns the embedded forge template tree and renders it into scaffolded code. |
|
testbudget
Package testbudget is the measured half of forge's fast/slow test tiers: it reads a `go test -short -json` run and reports every test that took longer than the budget.
|
Package testbudget is the measured half of forge's fast/slow test tiers: it reads a `go test -short -json` run and reports every test that took longer than the budget. |
|
testreport
Package testreport turns the record of a `go test -json` run into a verdict about whether that run actually proved anything.
|
Package testreport turns the record of a `go test -json` run into a verdict about whether that run actually proved anything. |
|
tierguard
Package tierguard proves that every Tier-1 (regenerated-every-run) file forge writes is actually DERIVED from something the user wrote.
|
Package tierguard proves that every Tier-1 (regenerated-every-run) file forge writes is actually DERIVED from something the user wrote. |
|
toolcache
Package toolcache is the one machine-wide directory every tool forge installs for itself lives in: the gate's pinned linters and scanners (internal/cigate), forge lint's golangci-lint build (internal/cli/lint), and the codegen plugins and air that `forge generate` and `forge env up` pin (internal/cli).
|
Package toolcache is the one machine-wide directory every tool forge installs for itself lives in: the gate's pinned linters and scanners (internal/cigate), forge lint's golangci-lint build (internal/cli/lint), and the codegen plugins and air that `forge generate` and `forge env up` pin (internal/cli). |
|
toolpin
Package toolpin answers one question for every forge surface that runs buf: which buf does THIS project pin?
|
Package toolpin answers one question for every forge surface that runs buf: which buf does THIS project pin? |
|
tools/mockgen
command
Command mockgen regenerates every contract mock (mock_gen.go) under a project's internal/ tree WITHOUT building forge.
|
Command mockgen regenerates every contract mock (mock_gen.go) under a project's internal/ tree WITHOUT building forge. |
|
vacuousguard
Package vacuousguard is the repository-wide proof that a green test actually ran something.
|
Package vacuousguard is the repository-wide proof that a green test actually ran something. |
|
webruntimepeers
Package webruntimepeers is the SINGLE source of truth for which packages must resolve to exactly one copy when a project links @reliantlabs/forge-web-runtime.
|
Package webruntimepeers is the SINGLE source of truth for which packages must resolve to exactly one copy when a project links @reliantlabs/forge-web-runtime. |
|
writeguard
Package writeguard fails the build when forge's own code writes a file with os.WriteFile.
|
Package writeguard fails the build when forge's own code writes a file with os.WriteFile. |
|
Package kcl embeds the forge KCL module — the typed schemas + manifest render layer that generated projects' deploy/kcl env files import (`import forge`, `import forge.workloads`).
|
Package kcl embeds the forge KCL module — the typed schemas + manifest render layer that generated projects' deploy/kcl env files import (`import forge`, `import forge.workloads`). |
|
pkg
module
|
|
|
accesstoken
Package accesstoken is the security primitive behind Reliant Labs' ONE machine credential, `rlat_`: its wire format, generation, hashing, constant-time comparison, the closed scope vocabulary, the rule that a token may never grant authority it does not hold, and the Principal a presented token resolves to.
|
Package accesstoken is the security primitive behind Reliant Labs' ONE machine credential, `rlat_`: its wire format, generation, hashing, constant-time comparison, the closed scope vocabulary, the rule that a token may never grant authority it does not hold, and the Principal a presented token resolves to. |
|
activity
Package activity is forge's typed activity stream: who did what to which object, where, and through what.
|
Package activity is forge's typed activity stream: who did what to which object, where, and through what. |
|
alerting
Package alerting is a SQL alert-rule evaluator in the Prometheus shape.
|
Package alerting is a SQL alert-rule evaluator in the Prometheus shape. |
|
alerting/amconfig
Package amconfig renders an Alertmanager configuration from stored receivers and routes.
|
Package amconfig renders an Alertmanager configuration from stored receivers and routes. |
|
alerting/chquery
Package chquery is a single-owner alerting.Querier over one ClickHouse connection: the owner key is ignored and every rule runs against the connection's database.
|
Package chquery is a single-owner alerting.Querier over one ClickHouse connection: the owner key is ignored and every rule runs against the connection's database. |
|
alerting/pgstore
Package pgstore is the Postgres alerting.StateStore.
|
Package pgstore is the Postgres alerting.StateStore. |
|
apikey
Package apikey provides the security-sensitive primitives for issuing and verifying API keys: cryptographically-random key generation, hashing, and constant-time verification.
|
Package apikey provides the security-sensitive primitives for issuing and verifying API keys: cryptographically-random key generation, hashing, and constant-time verification. |
|
appkit
Package appkit holds the worker/operator supervised-component contracts that the generated internal/app composition layer re-uses.
|
Package appkit holds the worker/operator supervised-component contracts that the generated internal/app composition layer re-uses. |
|
appkit/operatorkit
Package operatorkit owns the controller-manager runtime behind the generated App.RunOperators method in forge projects.
|
Package operatorkit owns the controller-manager runtime behind the generated App.RunOperators method in forge projects. |
|
audit
Package audit provides the durable write-side of forge's audit trail: an Entry record, a Store persistence interface, and a Postgres-backed DBAuditStore that writes and queries the audit_log table.
|
Package audit provides the durable write-side of forge's audit trail: an Entry record, a Store persistence interface, and a Postgres-backed DBAuditStore that writes and queries the audit_log table. |
|
auth
Package auth provides JWT and API-key authentication for forge-generated Connect RPC services.
|
Package auth provides JWT and API-key authentication for forge-generated Connect RPC services. |
|
authn
Package authn provides the authentication interceptor mechanism that forge-generated services wire from their thin, user-owned pkg/middleware file.
|
Package authn provides the authentication interceptor mechanism that forge-generated services wire from their thin, user-owned pkg/middleware file. |
|
cloudcred
Package cloudcred is the PUBLIC seam between forge and a HOST APPLICATION that already holds the user's session — the credential-helper protocol.
|
Package cloudcred is the PUBLIC seam between forge and a HOST APPLICATION that already holds the user's session — the credential-helper protocol. |
|
cmdkit
Package cmdkit is the paved path for forge's non-server binary shapes: CLI subcommands, one-shot admin tools, and standalone long-running binaries that ship in the same image as the Connect server but are not themselves Connect services.
|
Package cmdkit is the paved path for forge's non-server binary shapes: CLI subcommands, one-shot admin tools, and standalone long-running binaries that ship in the same image as the Connect server but are not themselves Connect services. |
|
config
Package config resolves a project's typed configuration from proto field annotations at runtime, with no per-field generated loader.
|
Package config resolves a project's typed configuration from proto field annotations at runtime, with no per-field generated loader. |
|
contractkit
Package contractkit provides runtime helpers used by the per-package mock_gen.go file forge generates from contract.go.
|
Package contractkit provides runtime helpers used by the per-package mock_gen.go file forge generates from contract.go. |
|
controller
Package controller provides opinionated runtime helpers for controller-runtime reconcilers.
|
Package controller provides opinionated runtime helpers for controller-runtime reconcilers. |
|
controller/controllertest
Package controllertest provides a small envtest harness that generated `<crd>_controller_test.go` files use in their TestMain setup.
|
Package controllertest provides a small envtest harness that generated `<crd>_controller_test.go` files use in their TestMain setup. |
|
credentials
Package credentials is the ONE on-disk store of control-plane access tokens, shared by every CLI that talks to a Reliant Labs control plane — `forge login` and `reliant auth login` both write it, and every command of both reads it.
|
Package credentials is the ONE on-disk store of control-plane access tokens, shared by every CLI that talks to a Reliant Labs control plane — `forge login` and `reliant auth login` both write it, and every command of both reads it. |
|
crud
Package crud provides runtime helpers used by the per-service handlers_crud_gen.go file forge generates from a service's CRUD RPCs.
|
Package crud provides runtime helpers used by the per-service handlers_crud_gen.go file forge generates from a service's CRUD RPCs. |
|
crypto
Package crypto provides at-rest AES-256-GCM encryption under a VERSIONED KEYRING, so a key can be rotated without making every already-sealed value permanently unreadable.
|
Package crypto provides at-rest AES-256-GCM encryption under a VERSIONED KEYRING, so a key can be rotated without making every already-sealed value permanently unreadable. |
|
dashspec
Package dashspec is forge's renderer-neutral dashboard vocabulary (forge.dashboards/v1) and its validator: the types a dashboard file is written in, and ParseDashboard, which judges one with every problem located by line, column and path.
|
Package dashspec is forge's renderer-neutral dashboard vocabulary (forge.dashboards/v1) and its validator: the types a dashboard file is written in, and ParseDashboard, which judges one with every problem located by line, column and path. |
|
dbgrants
Package dbgrants is the read-only database role every forge-managed Postgres carries, and the grants that bound what it can read.
|
Package dbgrants is the read-only database role every forge-managed Postgres carries, and the grants that bound what it can read. |
|
dbquery
Package dbquery runs one read-only SQL statement against a Postgres and returns typed, bounded, JSON-encodable results.
|
Package dbquery runs one read-only SQL statement against a Postgres and returns typed, bounded, JSON-encodable results. |
|
dbquery/kubedial
Package kubedial reaches a CloudNativePG database in a Kubernetes namespace through the kube API server, with no network path of its own: it resolves a ready pod behind the database's Service, opens a pods/portforward stream to it and hands the stream to pgx as a net.Conn.
|
Package kubedial reaches a CloudNativePG database in a Kubernetes namespace through the kube API server, with no network path of its own: it resolves a ready pod behind the database's Service, opens a pods/portforward stream to it and hands the stream to pgx as a net.Conn. |
|
deploy
Package deploy is forge's deploy-tier library: the pure functions that operate on the tier specs in pkg/deploy/v1alpha1.
|
Package deploy is forge's deploy-tier library: the pure functions that operate on the tier specs in pkg/deploy/v1alpha1. |
|
deploy/eso
Package eso holds what forge pins about the External Secrets Operator component (forge.ExternalSecretsOperator): the chart and image it installs, the keyless-signing identity that image must carry, and the CRDs forge supplies itself.
|
Package eso holds what forge pins about the External Secrets Operator component (forge.ExternalSecretsOperator): the chart and image it installs, the keyless-signing identity that image must carry, and the CRDs forge supplies itself. |
|
deploy/openbao
Package openbao renders forge.OpenBao, the secret store an env runs itself.
|
Package openbao renders forge.OpenBao, the secret store an env runs itself. |
|
deploy/v1alpha1
Package v1alpha1 is the ONE declaration of forge's deploy kinds — Workload, StaticSite and ManagedDatabase — in API group forge.dev.
|
Package v1alpha1 is the ONE declaration of forge's deploy kinds — Workload, StaticSite and ManagedDatabase — in API group forge.dev. |
|
deploystate
Package deploystate is the pluggable backend for forge's reconcile state: what forge last shipped to a target, what it last OBSERVED running there, and the per-environment policy that says whether forge is allowed to do anything about the difference.
|
Package deploystate is the pluggable backend for forge's reconcile state: what forge last shipped to a target, what it last OBSERVED running there, and the per-environment policy that says whether forge is allowed to do anything about the difference. |
|
devidp
Package devidp is the sign-in broker's client for a Zitadel instance: it drives the OIDC authorization-code flow with PKCE on the server's behalf (BeginFlow, SignIn, SignUp, RedeemCode), creates and finalizes sessions with the login broker's token, and resets passwords.
|
Package devidp is the sign-in broker's client for a Zitadel instance: it drives the OIDC authorization-code flow with PKCE on the server's behalf (BeginFlow, SignIn, SignUp, RedeemCode), creates and finalizes sessions with the login broker's token, and resets passwords. |
|
diagnostics
Package diagnostics surfaces unwired forge scaffolds at runtime.
|
Package diagnostics surfaces unwired forge scaffolds at runtime. |
|
flux
Package flux holds the identity of the Flux install forge pins — ControlPlane's Flux Operator chart and the FluxInstance riding it — and the names a writer of Flux objects needs to agree with `forge.flux_chart()`: the per-namespace ClusterRoles, the tenant ServiceAccount, and the connected-cluster shard (the sharding label, its value, the shard's controller and the ClusterRole a namespace binds it to).
|
Package flux holds the identity of the Flux install forge pins — ControlPlane's Flux Operator chart and the FluxInstance riding it — and the names a writer of Flux objects needs to agree with `forge.flux_chart()`: the per-namespace ClusterRoles, the tenant ServiceAccount, and the connected-cluster shard (the sharding label, its value, the shard's controller and the ClusterRole a namespace binds it to). |
|
fluxdelivery
Package fluxdelivery is the Go half of kcl/lib/flux_delivery.k: gitless Flux delivery through a flux-operator ResourceSet.
|
Package fluxdelivery is the Go half of kcl/lib/flux_delivery.k: gitless Flux delivery through a flux-operator ResourceSet. |
|
fluxdelivery/internal/gentemplate
command
Command gentemplate writes pkg/fluxdelivery/template_gen.go: the Go constant of kcl/lib/flux_delivery.k's FLUX_DELIVERY_TEMPLATE, evaluated through forge's own KCL seam.
|
Command gentemplate writes pkg/fluxdelivery/template_gen.go: the Go constant of kcl/lib/flux_delivery.k's FLUX_DELIVERY_TEMPLATE, evaluated through forge's own KCL seam. |
|
fluxdelivery/internal/kcleval
Package kcleval evaluates a KCL program against the forge module embedded in this binary — the module a released forge renders with — for fluxdelivery's generator and its Go/KCL agreement tests.
|
Package kcleval evaluates a KCL program against the forge module embedded in this binary — the module a released forge renders with — for fluxdelivery's generator and its Go/KCL agreement tests. |
|
graphkit
Package graphkit is the runtime under a project's generated composition graph (internal/app/graph_gen.go): memoized construction of each node, the root's Build — force the closure, then seal — and the lifecycle nodes of what was built, in the order it was built, for lifecyclekit.Supervise.
|
Package graphkit is the runtime under a project's generated composition graph (internal/app/graph_gen.go): memoized construction of each node, the root's Build — force the closure, then seal — and the lifecycle nodes of what was built, in the order it was built, for lifecyclekit.Supervise. |
|
hostslot
Package hostslot is a host-wide counting semaphore for heavy work: at most N heavy jobs — builds, test lanes, codegen, linters — run at once on one machine, however many agents, worktrees and terminals start them.
|
Package hostslot is a host-wide counting semaphore for heavy work: at most N heavy jobs — builds, test lanes, codegen, linters — run at once on one machine, however many agents, worktrees and terminals start them. |
|
identity
Package identity converges the CONTENT of one Zitadel instance to a declared Spec: the project, its roles, the OIDC applications (web, SPA, native and the native-sign-in broker app), machine users and their keys, the login / password-complexity / lockout policies, SMTP, declared role members and (dev and preview only) seed users.
|
Package identity converges the CONTENT of one Zitadel instance to a declared Spec: the project, its roles, the OIDC applications (web, SPA, native and the native-sign-in broker app), machine users and their keys, the login / password-complexity / lockout policies, SMTP, declared role members and (dev and preview only) seed users. |
|
kcleval
Package kcleval reads values out of a forge project's KCL from Go, so a test can assert against what the project DECLARES instead of restating it.
|
Package kcleval reads values out of a forge project's KCL from Go, so a test can assert against what the project DECLARES instead of restating it. |
|
lease
Package lease is a named, process-level singleton lock over Postgres advisory locks: at most one replica at a time runs a given job, every other replica waits as a hot standby and takes over when the holder exits, crashes or loses its database connection.
|
Package lease is a named, process-level singleton lock over Postgres advisory locks: at most one replica at a time runs a given job, every other replica waits as a hot standby and takes over when the holder exits, crashes or loses its database connection. |
|
lifecyclekit
Package lifecyclekit owns process lifecycle: the four single-method component interfaces (Runner, Drainer, Closer, Readier) and Supervise, which starts a list of components in order and stops them in reverse (supervise.go) — plus the uniform worker/operator supervised-component machinery that the generated internal/app/lifecycle_gen.go delegates to.
|
Package lifecyclekit owns process lifecycle: the four single-method component interfaces (Runner, Drainer, Closer, Readier) and Supervise, which starts a list of components in order and stops them in reverse (supervise.go) — plus the uniform worker/operator supervised-component machinery that the generated internal/app/lifecycle_gen.go delegates to. |
|
middleware
Package middleware provides the commodity HTTP middlewares and Connect interceptors that every forge-generated service ships with.
|
Package middleware provides the commodity HTTP middlewares and Connect interceptors that every forge-generated service ships with. |
|
migratekit
Package migratekit is the invariant half of a forge project's `db migrate` command tree: opening a migrator over an embedded migration set, closing it, and reporting what the schema is doing.
|
Package migratekit is the invariant half of a forge project's `db migrate` command tree: opening a migrator over an embedded migration set, closing it, and reporting what the schema is doing. |
|
migratekit/compat
Package compat reads the contracts a migration declares about itself: that it is BACKWARD-COMPATIBLE, or deliberately BREAKS ROLLBACK (this file), and which foreign migration history a baseline ADOPTS (adopt.go).
|
Package compat reads the contracts a migration declares about itself: that it is BACKWARD-COMPATIBLE, or deliberately BREAKS ROLLBACK (this file), and which foreign migration history a baseline ADOPTS (adopt.go). |
|
money
Package money provides a small, allocation-free value type for representing monetary amounts as an integer number of minor units ("cents") plus a currency, together with overflow-checked arithmetic and locale-neutral formatting.
|
Package money provides a small, allocation-free value type for representing monetary amounts as an integer number of minor units ("cents") plus a currency, together with overflow-checked arithmetic and locale-neutral formatting. |
|
mountkit
Package mountkit mounts a forge Connect service onto an http.ServeMux.
|
Package mountkit mounts a forge Connect service onto an http.ServeMux. |
|
mountkit/inventory
Package inventory owns the DATA-ONLY service descriptor type and reader helpers behind the generated internal/app/inventory_gen.go's `var Inventory = []inventory.ComponentInfo{...}`.
|
Package inventory owns the DATA-ONLY service descriptor type and reader helpers behind the generated internal/app/inventory_gen.go's `var Inventory = []inventory.ComponentInfo{...}`. |
|
netguard
Package netguard refuses outbound connections to destinations a caller picked but must not be able to reach: loopback, private, link-local, cloud-metadata, CGNAT, multicast, reserved and documentation ranges, the in-cluster and internal hostnames, and the IPv4 addresses hidden inside IPv6 transition forms (mapped, compatible, translated, NAT64, 6to4, Teredo).
|
Package netguard refuses outbound connections to destinations a caller picked but must not be able to reach: loopback, private, link-local, cloud-metadata, CGNAT, multicast, reserved and documentation ranges, the in-cluster and internal hostnames, and the IPv4 addresses hidden inside IPv6 transition forms (mapped, compatible, translated, NAT64, 6to4, Teredo). |
|
oauth2
Package oauth2 implements the client half of the OAuth 2.0 authorization-code flow with PKCE (RFC 7636) using only the standard library.
|
Package oauth2 implements the client half of the OAuth 2.0 authorization-code flow with PKCE (RFC 7636) using only the standard library. |
|
observe
File: client.go — the OUTBOUND Connect client stack.
|
File: client.go — the OUTBOUND Connect client stack. |
|
observe/chtrace
Package chtrace makes a ClickHouse connection's statements OpenTelemetry spans, the way dbtrace does for Postgres.
|
Package chtrace makes a ClickHouse connection's statements OpenTelemetry spans, the way dbtrace does for Postgres. |
|
observe/dbtrace
Package dbtrace opens a *sql.DB whose queries are OpenTelemetry spans.
|
Package dbtrace opens a *sql.DB whose queries are OpenTelemetry spans. |
|
observe/metrics
Package metrics is forge's declared metrics registry: a typed layer over the OpenTelemetry metrics API in which every instrument is DECLARED before it is created.
|
Package metrics is forge's declared metrics registry: a typed layer over the OpenTelemetry metrics API in which every instrument is DECLARED before it is created. |
|
observe/natsotel
Package natsotel carries trace context across NATS, so a message's consumer continues the trace of the code that published it.
|
Package natsotel carries trace context across NATS, so a message's consumer continues the trace of the code that published it. |
|
observe/observetest
Package observetest holds test helpers that pin a process's observability wiring from a unit test.
|
Package observetest holds test helpers that pin a process's observability wiring from a unit test. |
|
observe/temporalotel
Package temporalotel carries trace context through Temporal, so the request that starts or signals a workflow, the workflow, and every activity it runs are ONE trace.
|
Package temporalotel carries trace context through Temporal, so the request that starts or signals a workflow, the workflow, and every activity it runs are ONE trace. |
|
obsquery
Package obsquery compiles typed observability requests (log search, traces, metrics, dashboard panels, workloads, profiles) into parameterized ClickHouse SQL over the OTel exporter's tables.
|
Package obsquery compiles typed observability requests (log search, traces, metrics, dashboard panels, workloads, profiles) into parameterized ClickHouse SQL over the OTel exporter's tables. |
|
orm
Package orm is forge's typed data-access layer: a postgres-pinned query builder over uptrace/bun, plus the schema-truth machinery that projects entity types out of the applied migrations.
|
Package orm is forge's typed data-access layer: a postgres-pinned query builder over uptrace/bun, plus the schema-truth machinery that projects entity types out of the applied migrations. |
|
pgtest
Package pgtest provides a REAL ephemeral postgres for generate-time schema introspection and for hermetic tests that need a database.
|
Package pgtest provides a REAL ephemeral postgres for generate-time schema introspection and for hermetic tests that need a database. |
|
profilequery
Package profilequery reads continuous profiles back out of ClickHouse and writes them in formats other tools open.
|
Package profilequery reads continuous profiles back out of ClickHouse and writes them in formats other tools open. |
|
redact
Package redact removes credential shapes and personal paths from text that leaves the process: a bug report, a log line, an error string sent to telemetry.
|
Package redact removes credential shapes and personal paths from text that leaves the process: a bug report, a log line, an error string sent to telemetry. |
|
release
Package release is forge's release ledger vocabulary: what a RELEASE is (an immutable, content-addressed set of artifacts under a version label), what a PROMOTION is (one append-only event binding an environment to a release), and the invariants both must hold no matter where they are stored.
|
Package release is forge's release ledger vocabulary: what a RELEASE is (an immutable, content-addressed set of artifacts under a version label), what a PROMOTION is (one append-only event binding an environment to a release), and the invariants both must hold no matter where they are stored. |
|
releasehealth
Package releasehealth is the rule that judges a release: given the stats of the window before a promotion and the window after it, plus the issues, alerts and workload restarts the release opened, it produces findings and a verdict (PASS, FAIL or INCONCLUSIVE).
|
Package releasehealth is the rule that judges a release: given the stats of the window before a promotion and the window after it, plus the issues, alerts and workload restarts the release opened, it produces findings and a verdict (PASS, FAIL or INCONCLUSIVE). |
|
schemadef
Package schemadef projects a project's APPLIED database schema — db/migrations/*.up.sql executed in order against a REAL ephemeral postgres — into a typed model that code generation consumes.
|
Package schemadef projects a project's APPLIED database schema — db/migrations/*.up.sql executed in order against a REAL ephemeral postgres — into a typed model that code generation consumes. |
|
secretaccess
Package secretaccess derives OpenBao JWT auth mounts, roles and ACL policies from the set of secret names each Kubernetes namespace reads from the store.
|
Package secretaccess derives OpenBao JWT auth mounts, roles and ACL policies from the set of secret names each Kubernetes namespace reads from the store. |
|
secretgen
Package secretgen mints the secret values a project declares as generated: random key material, passwords that satisfy a complexity policy, and key pairs and certificates.
|
Package secretgen mints the secret values a project declares as generated: random key material, passwords that satisfy a complexity policy, and key pairs and certificates. |
|
seedplan
Package seeddata materializes deterministic, FK-coherent demo data directly into a development database — at RUNTIME, never as a persisted seed file in the user's project.
|
Package seeddata materializes deterministic, FK-coherent demo data directly into a development database — at RUNTIME, never as a persisted seed file in the user's project. |
|
serverkit
Package serverkit runs an already-composed forge server: HTTP/Connect listener (HTTP/1.1, HTTP/2, h2c), healthz/readyz probes, the HTTP edge (CORS / security-headers / request-id), worker supervisor, operator manager, and graceful shutdown sequence.
|
Package serverkit runs an already-composed forge server: HTTP/Connect listener (HTTP/1.1, HTTP/2, h2c), healthz/readyz probes, the HTTP edge (CORS / security-headers / request-id), worker supervisor, operator manager, and graceful shutdown sequence. |
|
serverkit/drainbudget
Package drainbudget is the one reading of a process's two drain knobs, PRE_STOP_DELAY and SHUTDOWN_TIMEOUT: how a value is written, what zero and a negative value mean, and the defaults.
|
Package drainbudget is the one reading of a process's two drain knobs, PRE_STOP_DELAY and SHUTDOWN_TIMEOUT: how a value is written, what zero and a negative value mean, and the defaults. |
|
servicecatalog
Package servicecatalog defines Forge's browse-only, declared RPC/code inventory.
|
Package servicecatalog defines Forge's browse-only, declared RPC/code inventory. |
|
stsresize
Package stsresize converges a StatefulSet whose declared volume size grew.
|
Package stsresize converges a StatefulSet whose declared volume size grew. |
|
svcerr
Package svcerr provides the canonical service-error → Connect-error mapping used by every forge handler package.
|
Package svcerr provides the canonical service-error → Connect-error mapping used by every forge handler package. |
|
tdd
Package tdd is a generics-based table-driven test library for Forge projects.
|
Package tdd is a generics-based table-driven test library for Forge projects. |
|
testkit
Package testkit provides a small set of test helpers that every forge-generated bootstrap_testing.go reinvents: a discard logger, a real-postgres ORM context (bare, or with the project's embedded migrations applied), an httptest harness that wraps a Connect-mounted service, and a claims-bearing AuthedContext for handlers that read the current user.
|
Package testkit provides a small set of test helpers that every forge-generated bootstrap_testing.go reinvents: a discard logger, a real-postgres ORM context (bare, or with the project's embedded migrations applied), an httptest harness that wraps a Connect-mounted service, and a claims-bearing AuthedContext for handlers that read the current user. |
|
validate
Package validate provides a Connect interceptor that enforces protovalidate (buf.validate) field rules at the RPC boundary.
|
Package validate provides a Connect interceptor that enforces protovalidate (buf.validate) field rules at the RPC boundary. |
Click to show internal directories.
Click to hide internal directories.