Skip to main content

extract_kubernetes

Function extract_kubernetes 

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

Extracts explicit Kubernetes workloads and resources without resolving selector-based links.

ConfigMap and Secret values are ignored; only their key names are retained.

ยงErrors

Returns InfrastructureExtractionError when the source path, size, structure, or YAML/JSON document exceeds a documented bound or is malformed.