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

Function public_condition_from_driver

crates/openshell-server/src/compute/mod.rs:1904–1912  ·  view source on GitHub ↗
(condition: &DriverCondition)

Source from the content-addressed store, hash-verified

1902}
1903
1904fn public_condition_from_driver(condition: &DriverCondition) -> SandboxCondition {
1905 SandboxCondition {
1906 r#type: condition.r#type.clone(),
1907 status: condition.status.clone(),
1908 reason: condition.reason.clone(),
1909 message: condition.message.clone(),
1910 last_transition_time: condition.last_transition_time.clone(),
1911 }
1912}
1913
1914fn public_platform_event_from_driver(event: &DriverPlatformEvent) -> PlatformEvent {
1915 PlatformEvent {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected