Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pl (0.11 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    		podNames []string
    		ns       string
    	)
    	pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    	if err != nil {
    		return nil, "", fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    	}
    	if len(pl.Items) < 1 {
    		return nil, "", errors.New("no pods found")
    	}
    	for _, pod := range pl.Items {
    		podNames = append(podNames, pod.Name)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top