opm/

directory
v1.0.0-alpha.26 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: Apache-2.0

Directories

Path Synopsis
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).
Package core defines the shared primitives of OPM-rendered artifacts.
Package core defines the shared primitives of OPM-rendered artifacts.
Package errors provides structured error types for OPM.
Package errors provides structured error types for 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.
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).
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.
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.
platformmodule
Package platformmodule generates a platform CUE module from catalog coordinates (enhancement 0019 D5/D13).
Package platformmodule generates a platform CUE module from catalog coordinates (enhancement 0019 D5/D13).
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.
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).
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.
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 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.

Jump to

Keyboard shortcuts

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