Directories
¶
| Path | Synopsis |
|---|---|
|
opm
|
|
|
compat
Package compat implements publish-side catalog compatibility logic: enhancement 0010 D27's additive-only comparison walk (Check, CheckAtLevel), the D34 contract-level ladder (Level, ParseLevel, CompareAPIVersions), and D9 predecessor selection (HighestStable).
|
Package compat implements publish-side catalog compatibility logic: enhancement 0010 D27's additive-only comparison walk (Check, CheckAtLevel), the D34 contract-level ladder (Level, ParseLevel, CompareAPIVersions), and D9 predecessor selection (HighestStable). |
|
core
Package core defines the shared primitives of OPM-rendered artifacts.
|
Package core defines the shared primitives of OPM-rendered artifacts. |
|
errors
Package errors provides structured error types for OPM.
|
Package errors provides structured error types for OPM. |
|
helper
Package helper is the opt-in convenience boundary of the OPM library.
|
Package helper is the opt-in convenience boundary of the OPM library. |
|
helper/loader/internal/shape
Package shape is the single source of the OPM artifact shape gate shared by the package loaders (opm/helper/loader/file and opm/helper/loader/registry).
|
Package shape is the single source of the OPM artifact shape gate shared by the package loaders (opm/helper/loader/file and opm/helper/loader/registry). |
|
helper/loader/internal/stage
Package stage builds an in-memory load.Config.Overlay from a fetched CUE module's source location, keyed under a deterministic synthetic root.
|
Package stage builds an in-memory load.Config.Overlay from a fetched CUE module's source location, keyed under a deterministic synthetic root. |
|
helper/loader/registry
Package registry loads a published #Module from an OCI registry by path@version, the registry-sourced sibling of opm/helper/loader/file.
|
Package registry loads a published #Module from an OCI registry by path@version, the registry-sourced sibling of opm/helper/loader/file. |
|
helper/synth
Package synth builds an OPM #ModuleInstance CUE value from in-memory typed inputs by unifying caller-supplied identity (name, namespace, module reference, values, labels, annotations) against the schema definition resolved through the caller-supplied *schema.Cache.
|
Package synth builds an OPM #ModuleInstance CUE value from in-memory typed inputs by unifying caller-supplied identity (name, namespace, module reference, values, labels, annotations) against the schema definition resolved through the caller-supplied *schema.Cache. |
|
internal/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. |
|
internal/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 (D13), checks that list for OPM-namespace coverage (the D13 refusal invariant), compares the two committed lists for catalog version skew (D7/D18), stages the generated render module into a directory, and builds it once in a caller-supplied cue.Context (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 (D13), checks that list for OPM-namespace coverage (the D13 refusal invariant), compares the two committed lists for catalog version skew (D7/D18), stages the generated render module into a directory, and builds it once in a caller-supplied cue.Context (D8). |
|
internal/schematest
Package schematest is a test-only helper for constructing schema.Cache instances against the workspace-local CUE module cache.
|
Package schematest is a test-only helper for constructing schema.Cache instances against the workspace-local CUE module cache. |
|
kernel
Package kernel exposes the OPM runtime as a single struct, Kernel.
|
Package kernel exposes the OPM runtime as a single struct, Kernel. |
|
module
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. |
|
platform
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. |
|
schema
Package schema is the kernel's single source of truth for OPM schema-side knowledge: CUE paths, metadata decoders, and the OCI-backed schema loader.
|
Package schema is the kernel's single source of truth for OPM schema-side knowledge: CUE paths, metadata decoders, and the OCI-backed schema loader. |
Click to show internal directories.
Click to hide internal directories.