Skip to main content

resolve_ref

Function resolve_ref 

Source
pub fn resolve_ref(reference: &str) -> Option<WorkloadSource>
Expand description

Resolve a single workload reference the way nmbrs run does: an existing .yaml/.yml file path first, then a bundled catalog name. None if it is neither. Directories are not a single workload — callers handle those separately (via verify_path).