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).