(host: &str, port: u32)
| 926 | }; |
| 927 | |
| 928 | fn endpoint(host: &str, port: u32) -> NetworkEndpoint { |
| 929 | NetworkEndpoint { |
| 930 | host: host.to_string(), |
| 931 | port, |
| 932 | ports: vec![port], |
| 933 | ..Default::default() |
| 934 | } |
| 935 | } |
| 936 | |
| 937 | fn rule_with_endpoint(name: &str, host: &str, port: u32) -> NetworkPolicyRule { |
| 938 | NetworkPolicyRule { |
nothing calls this directly
no outgoing calls
no test coverage detected