- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for PodsForSelector (0.07 sec)
-
istioctl/pkg/proxyconfig/proxyconfig.go
} func getPodNameBySelector(ctx cli.Context, kubeClient kube.CLIClient, labelSelector string) ([]string, string, error) { var ( 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 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0)