internal/

directory
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
Package check is the static module-health core behind `cuefn check`: it verifies canonical CUE formatting, that the module evaluates cleanly without requiring concreteness (the programmatic `cue vet -c=false ./...`), and that the module's XRD generates — optionally comparing it against a reviewed golden file.
Package check is the static module-health core behind `cuefn check`: it verifies canonical CUE formatting, that the module evaluates cleanly without requiring concreteness (the programmatic `cue vet -c=false ./...`), and that the module's XRD generates — optionally comparing it against a reviewed golden file.
Package contract holds the Go-side validation for the shipped CUE contract module (the repo's top-level contract/ directory).
Package contract holds the Go-side validation for the shipped CUE contract module (the repo's top-level contract/ directory).
Package cueerr formats CUE evaluation errors into concise, deduplicated messages.
Package cueerr formats CUE evaluation errors into concise, deduplicated messages.
Package function is the Crossplane v2 composition-function edge adapter for cuefn.
Package function is the Crossplane v2 composition-function edge adapter for cuefn.
Package modulepublish prepares and publishes canonical CUE module OCI artifacts.
Package modulepublish prepares and publishes canonical CUE module OCI artifacts.
Package pkg assembles an installable Crossplane Configuration xpkg image from the YAML a single CUE module generates, and pushes it to an OCI registry.
Package pkg assembles an installable Crossplane Configuration xpkg image from the YAML a single CUE module generates, and pushes it to an OCI registry.
Package render evaluates a CUE module from a local directory against a curated set of inputs and returns the Kubernetes resources, readiness, and status it produces.
Package render evaluates a CUE module from a local directory against a curated set of inputs and returns the Kubernetes resources, readiness, and status it produces.
Package schema is the author-time codegen core: it turns an already-built CUE module value into a Kubernetes-structural Crossplane v2 XRD, and validates a populated XR spec against the module's #Spec.
Package schema is the author-time codegen core: it turns an already-built CUE module value into a Kubernetes-structural Crossplane v2 XRD, and validates a populated XR spec against the module's #Spec.
Package snapshot loads the YAML fixtures cuefn accepts as render inputs — XRs, environments, and required/observed cluster-object snapshots — and matches required resources against a module's emitted requirements the way Crossplane delivers them.
Package snapshot loads the YAML fixtures cuefn accepts as render inputs — XRs, environments, and required/observed cluster-object snapshots — and matches required resources against a module's emitted requirements the way Crossplane delivers them.
test
common
Package common holds the shared test infrastructure for the relocated integration and end-to-end suites: a throwaway OCI registry, environment gates, path/port helpers, binary/gRPC serving helpers, synthetic runtime bases, stream parsing, render-result accessors, and typed Crossplane fixtures.
Package common holds the shared test infrastructure for the relocated integration and end-to-end suites: a throwaway OCI registry, environment gates, path/port helpers, binary/gRPC serving helpers, synthetic runtime bases, stream parsing, render-result accessors, and typed Crossplane fixtures.
e2e
Package e2e is the edge adapter for the kind-based end-to-end harness.
Package e2e is the edge adapter for the kind-based end-to-end harness.
Package testharness is the core of `cuefn test`: it parses txtar test cases for cuefn modules, renders them through the real engine, and evaluates the declared expectations against a normalized result document.
Package testharness is the core of `cuefn test`: it parses txtar test cases for cuefn modules, renders them through the real engine, and evaluates the declared expectations against a normalized result document.
Package textdiff renders plain line diffs of small, human-reviewed texts such as golden files.
Package textdiff renders plain line diffs of small, human-reviewed texts such as golden files.

Jump to

Keyboard shortcuts

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