pub fn import_compose(yaml: &str) -> Result<ImportResult, ImportError>Expand description
Parse a compose v3 YAML string into a set of WorkloadSpec values.
Multi-service composes produce one spec per service. Compose service names
become mesh idents (with _ rewritten to - and a warning). depends_on
translates by compose service name → mesh ident.
Returns the first hard rejection (ImportError) on rejection paths;
otherwise returns ImportResult with one entry per service.