Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findProtocolForPort (0.09 sec)

  1. istioctl/pkg/describe/describe.go

    		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 {
    			fmt.Fprintf(writer, "   %s\n", err.Error())
    		}
    	}
    }
    
    func findProtocolForPort(port *corev1.ServicePort) string {
    	var protocol string
    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