MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / publish_prepared_cache_miss

Method publish_prepared_cache_miss

crates/openshell-driver-vm/src/driver.rs:2518–2536  ·  view source on GitHub ↗
(
        &self,
        sandbox_id: &str,
        image_ref: &str,
        image_source: &str,
        image_identity: &str,
    )

Source from the content-addressed store, hash-verified

2516 }
2517
2518 fn publish_prepared_cache_miss(
2519 &self,
2520 sandbox_id: &str,
2521 image_ref: &str,
2522 image_source: &str,
2523 image_identity: &str,
2524 ) {
2525 self.publish_vm_progress(
2526 sandbox_id,
2527 "CacheMiss",
2528 format!("Preparing VM image disk cache for \"{image_ref}\""),
2529 HashMap::from([
2530 ("image_ref".to_string(), image_ref.to_string()),
2531 ("image_source".to_string(), image_source.to_string()),
2532 ("cache_hit".to_string(), "false".to_string()),
2533 ("image_identity".to_string(), image_identity.to_string()),
2534 ]),
2535 );
2536 }
2537
2538 #[allow(clippy::similar_names)]
2539 async fn build_cached_local_image_rootfs_image(

Calls 1

publish_vm_progressMethod · 0.80

Tested by

no test coverage detected