Directories
¶
| Path | Synopsis |
|---|---|
|
Package engine orchestrates synth, diff, and apply: the dumb coordinator that drives Adapter implementations, in-process for now (SPEC §2).
|
Package engine orchestrates synth, diff, and apply: the dumb coordinator that drives Adapter implementations, in-process for now (SPEC §2). |
|
dag
Package dag provides a minimal directed-acyclic-graph with a deterministic topological sort.
|
Package dag provides a minimal directed-acyclic-graph with a deterministic topological sort. |
|
diff
Package diff computes the set of changes needed to move state.State to match an ir.Document.
|
Package diff computes the set of changes needed to move state.State to match an ir.Document. |
|
internal/maputil
Package maputil holds tiny generic helpers shared across pkg/engine's subpackages.
|
Package maputil holds tiny generic helpers shared across pkg/engine's subpackages. |
|
ir
Package ir defines the JSON intermediate representation emitted by the @dex/iac SDK (SPEC.md §5.1) and validates it on the way into the engine.
|
Package ir defines the JSON intermediate representation emitted by the @dex/iac SDK (SPEC.md §5.1) and validates it on the way into the engine. |
|
state
Package state manages the engine's on-disk record of what has been applied: .dex/state.json plus its advisory lock file.
|
Package state manages the engine's on-disk record of what has been applied: .dex/state.json plus its advisory lock file. |
|
Package jsenv bundles a TypeScript entrypoint with esbuild and evaluates it in a goja VM to produce the JSON IR (SPEC.md §5.1).
|
Package jsenv bundles a TypeScript entrypoint with esbuild and evaluates it in a goja VM to produce the JSON IR (SPEC.md §5.1). |
|
sdk
Package sdk embeds the pre-bundled @dex/iac JavaScript so it ships inside the dex binary; the user has no Node.js and no node_modules.
|
Package sdk embeds the pre-bundled @dex/iac JavaScript so it ships inside the dex binary; the user has no Node.js and no node_modules. |
|
sdk/gen
command
Command gen bundles packages/sdk/dist (tsc output) into a single ESM file embedded into the dex binary as pkg/jsenv/sdk/iac.js.
|
Command gen bundles packages/sdk/dist (tsc output) into a single ESM file embedded into the dex binary as pkg/jsenv/sdk/iac.js. |
|
Package plugin provides the Go SDK for building dex adapters.
|
Package plugin provides the Go SDK for building dex adapters. |
Click to show internal directories.
Click to hide internal directories.