Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for retrieveEndpointAddresses (0.18 sec)

  1. 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)
Back to top