Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for retrieveEndpointPort (0.19 sec)

  1. istioctl/pkg/writer/envoy/clusters/clusters.go

    		case *core.EnvoyInternalAddress_ServerListenerName:
    			return fmt.Sprintf("envoy://%s/%s", an.ServerListenerName, internal.EndpointId)
    		}
    	}
    	return "unknown"
    }
    
    func retrieveEndpointPort(l *admin.HostStatus) uint32 {
    	addr := l.Address.GetSocketAddress()
    	if addr != nil {
    		return addr.GetPortValue()
    	}
    	return 0
    }
    
    func retrieveEndpointStatus(l *admin.HostStatus) core.HealthStatus {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	if e.Address == "" && e.Port == 0 && e.Cluster == "" && e.Status == "" {
    		return true
    	}
    	if e.Address != "" && !strings.EqualFold(retrieveEndpointAddress(ep), e.Address) {
    		return false
    	}
    	if e.Port != 0 && retrieveEndpointPort(ep) != e.Port {
    		return false
    	}
    	if e.Cluster != "" && !strings.EqualFold(cluster, e.Cluster) {
    		return false
    	}
    	status := retrieveEndpointStatus(ep)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top