- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getPortMap (0.2 sec)
-
pilot/pkg/serviceregistry/kube/controller/pod.go
workloadInstance := &model.WorkloadInstance{ Name: pod.Name, Namespace: pod.Namespace, Kind: model.PodKind, Endpoint: ep, PortMap: getPortMap(pod), } pc.c.handlers.NotifyWorkloadHandlers(workloadInstance, ev) } func getPortMap(pod *v1.Pod) map[string]uint32 { pmap := map[string]uint32{} for _, c := range pod.Spec.Containers { for _, port := range c.Ports {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0)