- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for InferPodInfo (0.25 sec)
-
istioctl/pkg/util/handlers/handlers.go
"istio.io/istio/pilot/pkg/config/kube/gateway" "istio.io/istio/pkg/config/constants" 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: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 06 15:01:41 UTC 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/wait/wait.go
} } }, Args: func(cmd *cobra.Command, args []string) error { if err := cobra.ExactArgs(2)(cmd, args); err != nil { return err } nameflag, namespace = handlers.InferPodInfo(args[1], cliCtx.NamespaceOrDefault(namespace)) return validateType(args[0]) }, } cmd.PersistentFlags().StringVar(&forFlag, "for", "distribution", "Wait condition, must be 'distribution' or 'delete'")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 17 12:24:17 UTC 2024 - 10.1K 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: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0)