(image_ref: &str)
| 3251 | |
| 3252 | #[allow(clippy::result_large_err)] |
| 3253 | fn parse_registry_reference(image_ref: &str) -> Result<Reference, Status> { |
| 3254 | Reference::try_from(image_ref).map_err(|err| { |
| 3255 | Status::failed_precondition(format!( |
| 3256 | "invalid vm sandbox image reference '{image_ref}': {err}" |
| 3257 | )) |
| 3258 | }) |
| 3259 | } |
| 3260 | |
| 3261 | /// Try to connect to a local container engine (Docker or Podman). |
| 3262 | /// |
no outgoing calls
no test coverage detected