Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FindPort (0.1 sec)

  1. istioctl/pkg/describe/describe.go

    	for _, port := range svc.Spec.Ports {
    		if port.Protocol != "TCP" {
    			// Ignore UDP ports, which are not supported by Istio
    			continue
    		}
    		// Get port number
    		nport, err := pilotcontroller.FindPort(pod, &port)
    		if err == nil {
    			protocol := findProtocolForPort(&port)
    			fmt.Fprintf(writer, "   Port: %s %d/%s targets pod port %d\n", port.Name, port.Port, protocol, nport)
    		} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top