Tim Gross
4fef82e8e2
tproxy: refactor getPortMapping
...
The `getPortMapping` method forces callers to handle two different data
structures, but only one caller cares about it. We don't want to return a single
map or slice because the `cni.PortMapping` object doesn't include a label field
that we need for tproxy. Return a new datastructure that closes over both a
slice of `cni.PortMapping` and a map of label to index in that slice.
2024-04-10 10:16:13 -04:00
..
2024-03-19 13:49:09 -04:00
2023-12-06 16:59:51 -05:00
2024-04-10 10:16:13 -04:00
2024-03-13 08:24:17 -05:00
2024-03-20 10:18:56 -04:00
2023-11-30 10:55:03 -05:00
2023-08-15 14:38:18 -04:00
2023-08-10 17:27:15 -05:00
2024-02-14 12:15:58 -05:00
2023-10-24 09:58:25 -04:00
2023-09-12 09:11:11 -05:00
2024-02-09 13:45:29 -05:00
2024-03-07 11:04:16 -06:00
2023-09-21 16:03:53 -05:00
2023-08-10 17:27:15 -05:00
2023-12-06 16:59:51 -05:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2023-10-19 15:09:30 -05:00
2024-03-21 11:44:23 -07:00
2024-02-13 09:50:46 -05:00
2023-11-09 11:06:03 -05:00
2023-10-16 09:30:24 -04:00
2023-12-08 08:46:55 -05:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2023-10-16 09:30:24 -04:00
2024-01-12 14:13:29 -06:00
2023-08-10 17:27:15 -05:00
2023-12-08 08:46:55 -05:00
2024-03-13 08:24:17 -05:00
2024-04-04 17:01:07 -04:00
2023-09-21 16:03:53 -05:00
2023-12-08 08:46:55 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-09-18 08:58:07 -05:00
2023-08-18 07:47:24 +01:00
2023-10-19 15:09:30 -05:00
2023-08-10 17:27:15 -05:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2023-11-07 09:15:37 -05:00
2023-08-10 17:27:15 -05:00
2024-02-19 16:41:35 +01:00
2024-02-19 16:41:35 +01:00
2023-10-05 11:41:44 -04:00
2023-12-08 08:46:55 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2024-03-21 11:44:23 -07:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00