- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for retrieveEndpointAddresses (0.18 sec)
-
istioctl/pkg/writer/envoy/configdump/endpoint.go
func (e *EndpointFilter) Verify(ep *endpoint.LbEndpoint, cluster string) bool { if e.Address == "" && e.Port == 0 && e.Cluster == "" && e.Status == "" { return true } if e.Address != "" { found := slices.FindFunc(retrieveEndpointAddresses(ep), func(s string) bool { return strings.EqualFold(s, e.Address) }) != nil if !found { return false } } if e.Port != 0 && retrieveEndpointPort(ep) != e.Port { return false }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 09:57:29 UTC 2024 - 6.1K bytes - Viewed (0)