Skip to main content

parse_workload

Function parse_workload 

Source
pub fn parse_workload(
    yaml_source: &str,
    params: &HashMap<String, String>,
) -> Result<Workload, String>
Expand description

Parse a YAML workload string into a normalized Workload.

In-memory entry point: callers that have already resolved the source text. Rejects extends: because there is no resolution context for the relative path (no including-file directory). Callers that need extends: support must use parse_workload_from_path.