- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ShardsForService (0.15 sec)
-
pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go
return GetEndpointsForPort(s, endpoints, 0) } func GetEndpointsForPort(s *model.Service, endpoints *model.EndpointIndex, port int) []*model.IstioEndpoint { shards, ok := endpoints.ShardsForService(string(s.Hostname), s.Attributes.Namespace) if !ok { return nil } var pn string for _, p := range s.Ports { if p.Port == port { pn = p.Name break } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 9.1K bytes - Viewed (0)