Directories
¶
| Path | Synopsis |
|---|---|
|
Package catalog defines the Catalog type, mirroring the #Catalog definition in the OPM core schema: the contracts a catalog defines (#resources, #traits, #blueprints) beside the transformers that implement them (#transformers).
|
Package catalog defines the Catalog type, mirroring the #Catalog definition in the OPM core schema: the contracts a catalog defines (#resources, #traits, #blueprints) beside the transformers that implement them (#transformers). |
|
Package errors provides the structured verdict rows and error types of OPM.
|
Package errors provides the structured verdict rows and error types of OPM. |
|
Package helper is the opt-in convenience boundary of the OPM library.
|
Package helper is the opt-in convenience boundary of the OPM library. |
|
objectset
Package objectset finds rendered objects that share one Kubernetes apply identity, so a runtime can refuse the render instead of letting the last write silently overwrite the first.
|
Package objectset finds rendered objects that share one Kubernetes apply identity, so a runtime can refuse the render instead of letting the last write silently overwrite the first. |
|
platformmodule
Package platformmodule generates a platform CUE module from catalog coordinates (0019:D5/D13).
|
Package platformmodule generates a platform CUE module from catalog coordinates (0019:D5/D13). |
|
internal
|
|
|
cueenv
Package cueenv builds the environment slice a cue/load or mod/modconfig call consults when the caller wants to override CUE_REGISTRY or CUE_CACHE_DIR for that one operation.
|
Package cueenv builds the environment slice a cue/load or mod/modconfig call consults when the caller wants to override CUE_REGISTRY or CUE_CACHE_DIR for that one operation. |
|
loader
Package loader is the kernel's one artifact-loading routine: it builds a single CUE package — from a directory or from an in-memory overlay — and runs the OPM artifact shape gate over the result, and it fetches a published artifact of any OPM kind from an OCI registry through CUE's native module machinery (FetchArtifact, with FetchModule the #Module entry over it; ADR-009).
|
Package loader is the kernel's one artifact-loading routine: it builds a single CUE package — from a directory or from an in-memory overlay — and runs the OPM artifact shape gate over the result, and it fetches a published artifact of any OPM kind from an OCI registry through CUE's native module machinery (FetchArtifact, with FetchModule the #Module entry over it; ADR-009). |
|
modversion
Package modversion holds the library's CUE module version helpers: the rules for turning a version as a caller or subscription writes it into the form CUE's module machinery requires.
|
Package modversion holds the library's CUE module version helpers: the rules for turning a version as a caller or subscription writes it into the form CUE's module machinery requires. |
|
registrytest
Package registrytest provides an in-memory OCI registry harness for tests that need catalogs and modules resolvable by import without a live registry.
|
Package registrytest provides an in-memory OCI registry harness for tests that need catalogs and modules resolvable by import without a live registry. |
|
renderstage
Package renderstage assembles the single-build render module (enhancement 0019:D9): it reads the two committed cue.mod/module.cue resolutions the render inputs carry, promotes them into the render module's dependency list (0019:D13), checks that list for OPM-namespace coverage (the 0019:D13 refusal invariant), compares the two committed lists for catalog version skew (0019:D7/D18), stages the generated render module into a directory, and builds it once in a caller-supplied cue.Context (0019:D8).
|
Package renderstage assembles the single-build render module (enhancement 0019:D9): it reads the two committed cue.mod/module.cue resolutions the render inputs carry, promotes them into the render module's dependency list (0019:D13), checks that list for OPM-namespace coverage (the 0019:D13 refusal invariant), compares the two committed lists for catalog version skew (0019:D7/D18), stages the generated render module into a directory, and builds it once in a caller-supplied cue.Context (0019:D8). |
|
schematest
Package schematest is a test-only helper for pointing tests at the workspace-local CUE module cache, and for handing a test a CUE module cache directory to build in.
|
Package schematest is a test-only helper for pointing tests at the workspace-local CUE module cache, and for handing a test a CUE module cache directory to build in. |
|
sourcetree
Package sourcetree walks, reads, names and writes the source tree a module.Source describes, in both of its modes: on-disk (Overlay nil, the tree is read from Root on the filesystem) and overlay (every file is an entry of Overlay, its bytes keyed by its absolute path under Root).
|
Package sourcetree walks, reads, names and writes the source tree a module.Source describes, in both of its modes: on-disk (Overlay nil, the tree is read from Root on the filesystem) and overlay (every file is an entry of Overlay, its bytes keyed by its absolute path under Root). |
|
synth
Package synth builds an OPM #ModuleInstance CUE value from typed in-memory inputs: caller-supplied identity (name, namespace, values, labels, annotations) against a module the caller already acquired with its staged source.
|
Package synth builds an OPM #ModuleInstance CUE value from typed in-memory inputs: caller-supplied identity (name, namespace, values, labels, annotations) against a module the caller already acquired with its staged source. |
|
valuesfile
Package valuesfile renders a values cue.Value as the source of a package file declaring the top-level `values` field.
|
Package valuesfile renders a values cue.Value as the source of a package file declaring the top-level `values` field. |
|
Package kernel exposes the OPM runtime as a single struct, Kernel.
|
Package kernel exposes the OPM runtime as a single struct, Kernel. |
|
Package module defines the Module type, mirroring the #Module definition in the OPM core schema.
|
Package module defines the Module type, mirroring the #Module definition in the OPM core schema. |
|
Package platform defines the Platform and PlatformMetadata types, mirroring the #Platform definition of the OPM core schema.
|
Package platform defines the Platform and PlatformMetadata types, mirroring the #Platform definition of the OPM core schema. |
|
Package schema is the kernel's single source of truth for OPM schema-side knowledge: CUE paths, metadata types, and the OCI-backed schema loader.
|
Package schema is the kernel's single source of truth for OPM schema-side knowledge: CUE paths, metadata types, and the OCI-backed schema loader. |
Click to show internal directories.
Click to hide internal directories.