Skip to main content

extract_docker_compose

Function extract_docker_compose 

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

Extracts explicit Docker Compose services and their declaration metadata.

Environment values, secret definitions, and source fragments are never retained.

ยงErrors

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