pub fn lint_workload<'a>(
workload_stop_when: &[StopConditionSpec],
phases: impl Iterator<Item = (&'a str, &'a WorkloadPhase)> + Clone,
) -> Result<Vec<String>, String>Expand description
Run every lint over the loaded workload. Ok(warnings) — the run
may proceed, with each warning routed to the operator; Err — a
spec is malformed and the load fails.