(&mut self)
| 96 | } |
| 97 | |
| 98 | fn index_endpoints(&mut self) { |
| 99 | for (policy_name, rule) in &self.policy.network_policies { |
| 100 | for ep in &rule.endpoints { |
| 101 | for port in ep.effective_ports() { |
| 102 | self.endpoints.push(EndpointId { |
| 103 | policy_name: policy_name.clone(), |
| 104 | host: ep.host.clone(), |
| 105 | port, |
| 106 | }); |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | fn index_binaries(&mut self) { |
| 113 | let mut seen = HashSet::new(); |
no test coverage detected