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

Function sandbox_record

crates/openshell-server/src/supervisor_session.rs:836–847  ·  view source on GitHub ↗
(id: &str, name: &str)

Source from the content-addressed store, hash-verified

834 }
835
836 fn sandbox_record(id: &str, name: &str) -> Sandbox {
837 Sandbox {
838 metadata: Some(openshell_core::proto::datamodel::v1::ObjectMeta {
839 id: id.to_string(),
840 name: name.to_string(),
841 created_at_ms: 1_000_000,
842 labels: HashMap::new(),
843 resource_version: 0,
844 }),
845 ..Default::default()
846 }
847 }
848
849 fn pending_relay(
850 sandbox_id: &str,

Calls

no outgoing calls

Tested by

no test coverage detected