(
&self,
resolved_uid: u32,
_namespace_annotations: Option<&std::collections::BTreeMap<String, String>>,
)
| 361 | } |
| 362 | |
| 363 | pub fn resolve_sandbox_gid( |
| 364 | &self, |
| 365 | resolved_uid: u32, |
| 366 | _namespace_annotations: Option<&std::collections::BTreeMap<String, String>>, |
| 367 | ) -> u32 { |
| 368 | self.sandbox_gid |
| 369 | .or(self.sandbox_uid) |
| 370 | .unwrap_or(resolved_uid) |
| 371 | } |
| 372 | |
| 373 | /// Parse `OpenShift` SCC `sa.scc.uid-range` annotation. |
| 374 | /// |
no outgoing calls
no test coverage detected