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

Function error_condition

crates/openshell-driver-vm/src/driver.rs:5032–5040  ·  view source on GitHub ↗
(reason: &str, message: &str)

Source from the content-addressed store, hash-verified

5030}
5031
5032fn error_condition(reason: &str, message: &str) -> SandboxCondition {
5033 SandboxCondition {
5034 r#type: "Ready".to_string(),
5035 status: "False".to_string(),
5036 reason: reason.to_string(),
5037 message: message.to_string(),
5038 last_transition_time: String::new(),
5039 }
5040}
5041
5042fn platform_event(source: &str, event_type: &str, reason: &str, message: String) -> PlatformEvent {
5043 let mut event = PlatformEvent {

Callers 2

fail_provisioningMethod · 0.70
monitor_sandboxMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected