kubernetes/pkg/controller/endpoint
Tsubasa Nagasawa 0ad351281b Cleanup duplicate function to get port number from named port
Currently, the function to translate named port to port number is
located in two places (pod utils and endpointslice lib).
When fixing the bug in restartable init containers, one part of the code
was fixed, but the other part was not, leaving the bug unresolved.
To prevent such partial fixes in the future, we will make the function
in the endpointslice lib public and remove the other part of the code
from pod utils. Then consume the endpointslice lib in k/k.

Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2025-07-05 10:03:30 +09:00
..
config remove import doc comments 2024-12-02 16:59:34 +01:00
doc.go remove import doc comments 2024-12-02 16:59:34 +01:00
endpoints_controller.go Cleanup duplicate function to get port number from named port 2025-07-05 10:03:30 +09:00
endpoints_controller_test.go Export endpoints, endpointslice, mirroring controller names 2025-03-07 10:52:54 -05:00
endpoints_tracker.go Fix endpoints status out-of-sync when the pod state changes rapidly 2024-07-01 21:56:36 +08:00
endpoints_tracker_test.go Fix endpoints status out-of-sync when the pod state changes rapidly 2024-07-01 21:56:36 +08:00
OWNERS update sig-network reviewers/approvers on controller manager 2022-09-19 10:34:39 +02:00