(reason: &str, message: &str)
| 5030 | } |
| 5031 | |
| 5032 | fn 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 | |
| 5042 | fn platform_event(source: &str, event_type: &str, reason: &str, message: String) -> PlatformEvent { |
| 5043 | let mut event = PlatformEvent { |
no outgoing calls
no test coverage detected