Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for portPrefs (0.05 sec)

  1. istioctl/pkg/dashboard/dashboard.go

    	// - If --listenPort is specified, use it
    	// - without --listenPort, prefer the remotePort but fall back to a random port
    	var portPrefs []int
    	if listenPort != 0 {
    		portPrefs = []int{listenPort}
    	} else {
    		portPrefs = []int{remotePort, 0}
    	}
    
    	var err error
    	for _, localPort := range portPrefs {
    		var fw kube.PortForwarder
    		fw, err = client.NewPortForwarder(podName, namespace, localAddress, localPort, remotePort)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top