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

Function make_driver_condition

crates/openshell-server/src/compute/mod.rs:2412–2420  ·  view source on GitHub ↗
(reason: &str, message: &str)

Source from the content-addressed store, hash-verified

2410 }
2411
2412 fn make_driver_condition(reason: &str, message: &str) -> DriverCondition {
2413 DriverCondition {
2414 r#type: "Ready".to_string(),
2415 status: "False".to_string(),
2416 reason: reason.to_string(),
2417 message: message.to_string(),
2418 last_transition_time: String::new(),
2419 }
2420 }
2421
2422 fn make_driver_status(condition: DriverCondition) -> DriverSandboxStatus {
2423 DriverSandboxStatus {

Calls

no outgoing calls