- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for InferPodInfo (0.07 sec)
-
istioctl/pkg/util/handlers/handlers.go
"istio.io/api/label" "istio.io/istio/pilot/pkg/config/kube/gateway" kubelib "istio.io/istio/pkg/kube" ) // InferPodInfo Uses name to infer namespace if the passed name contains namespace information. // Otherwise uses the namespace value passed into the function func InferPodInfo(name, defaultNS string) (string, string) { return inferNsInfo(name, defaultNS) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 6.3K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace()) if len(args) != 1 { return fmt.Errorf("expecting pod name") } podName, ns := handlers.InferPodInfo(args[0], ctx.NamespaceOrDefault("")) client, err := ctx.CLIClient() if err != nil { return err } pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{})
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0)