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

Function deleted_event

crates/openshell-driver-podman/src/watcher.rs:43–49  ·  view source on GitHub ↗

Build a `WatchSandboxesEvent` for a deleted sandbox.

(sandbox_id: String)

Source from the content-addressed store, hash-verified

41
42/// Build a `WatchSandboxesEvent` for a deleted sandbox.
43fn deleted_event(sandbox_id: String) -> WatchSandboxesEvent {
44 WatchSandboxesEvent {
45 payload: Some(watch_sandboxes_event::Payload::Deleted(
46 WatchSandboxesDeletedEvent { sandbox_id },
47 )),
48 }
49}
50
51/// Start a watch stream that emits current state and live events.
52///

Callers 2

map_podman_eventFunction · 0.85

Calls

no outgoing calls

Tested by 1