Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Print (0.12 sec)

  1. istioctl/pkg/describe/describe.go

    	ports := []string{}
    	UserID := int64(1337)
    	for _, container := range pod.Spec.Containers {
    		for _, port := range container.Ports {
    			var protocol string
    			// Suppress /<protocol> for TCP, print it for everything else
    			if port.Protocol != "TCP" {
    				protocol = fmt.Sprintf("/%s", port.Protocol)
    			}
    			ports = append(ports, fmt.Sprintf("%d%s (%s)", port.ContainerPort, protocol, container.Name))
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top