(status: PolicyStatus)
| 7234 | } |
| 7235 | |
| 7236 | fn policy_status_json_name(status: PolicyStatus) -> &'static str { |
| 7237 | match status { |
| 7238 | PolicyStatus::Unspecified => "unspecified", |
| 7239 | PolicyStatus::Pending => "pending", |
| 7240 | PolicyStatus::Loaded => "loaded", |
| 7241 | PolicyStatus::Failed => "failed", |
| 7242 | PolicyStatus::Superseded => "superseded", |
| 7243 | } |
| 7244 | } |
| 7245 | |
| 7246 | fn policy_revision_to_json( |
| 7247 | scope: &str, |
nothing calls this directly
no outgoing calls
no test coverage detected