Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/multixds/gather.go

    	}
    	dialOpts, err := xds.DialOptions(xdsOpts, istioNamespace, tokenServiceAccount, kubeClient)
    	if err != nil {
    		return nil, err
    	}
    
    	for _, pod := range pods {
    		fw, err := kubeClient.NewPortForwarder(pod.Name, pod.Namespace, "localhost", 0, centralOpts.XdsPodPort)
    		if err != nil {
    			return nil, err
    		}
    		err = fw.Start()
    		if err != nil {
    			return nil, err
    		}
    		defer fw.Close()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top