Skip to main content

parse_workload_from_path

Function parse_workload_from_path 

Source
pub fn parse_workload_from_path(
    path: &Path,
    params: &HashMap<String, String>,
) -> Result<Workload, String>
Expand description

Path-based entry point: load a workload YAML from disk, follow its extends: chain (SRD-72), and parse the merged result into a Workload.

path MUST be an existing file. Relative paths are resolved against the cwd before being passed to the loader.