core

package
v1.0.0-alpha.24 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 Imports: 1 Imported by: 0

Documentation

Overview

Package core defines the shared primitives of OPM-rendered artifacts. Compiled is the kernel's terminal output: Kernel.Render emits *Compiled values carrying the rendered CUE value plus OPM provenance. Platform-native identity for a compiled artifact is the frontend's concern — each consumer wraps *Compiled in its own resource type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiled

type Compiled struct {
	// Value is the CUE value produced by the transformer. Concrete and
	// fully evaluated — safe to encode directly to YAML or JSON.
	Value cue.Value

	// Instance is the name of the ModuleInstance that produced this resource.
	// Was: Release
	Instance string

	// Component is the source component name within the instance.
	Component string

	// Transformer is the FQN of the transformer that produced this resource.
	Transformer string
}

Compiled is the terminal output of an OPM render. It carries no platform-native fields — keeping platform vocabulary out of the kernel keeps it platform-neutral.

Jump to

Keyboard shortcuts

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