Skip to main content

extract_helm

Function extract_helm 

Source
pub fn extract_helm(
    source_path: &str,
    input: &str,
) -> Result<InfrastructureDocument, InfrastructureExtractionError>
Expand description

Extracts statically visible declarations from a Helm template or values file.

Templates are never rendered. Dynamic expressions are masked before conservative YAML parsing, omitted from output, and reported through InfrastructureDocument::incomplete.

ยงErrors

Returns InfrastructureExtractionError when the source path, size, structure, or static YAML exceeds a documented bound. A syntactically valid-looking templated file that cannot be parsed without rendering returns an incomplete document instead of executing template logic.