componentrelease

package
v1.1.3 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 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSpec

BuildSpec assembles a ComponentReleaseSpec from resolved resources. Both the controller and API service use this to ensure consistent spec construction.

func FindTraitSpec

FindTraitSpec searches the release traits slice for an entry matching kind and name, returning a copy of its Spec. Returns an empty TraitSpec and false if not found.

Types

type BuildInput

BuildInput holds the resolved resources needed to assemble a ComponentReleaseSpec. Traits and ClusterTraits are separate maps keyed by trait name. Callers handle fetching, ClusterTrait→TraitSpec conversion, and deduplication. BuildSpec merges both maps into a single Traits field on the ComponentReleaseSpec.

Jump to

Keyboard shortcuts

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