- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NamespaceOrDefault (0.11 sec)
-
istioctl/pkg/cli/context.go
Namespace() string // IstioNamespace returns the Istio namespace specified by the user IstioNamespace() string // NamespaceOrDefault returns the namespace specified by the user, or the default namespace if none was specified NamespaceOrDefault(namespace string) string // CLIClientsForContexts returns clients for all the given contexts in a kubeconfig.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
"istio.io/istio/pkg/kube" ) func getPodsNameInDefaultNamespace(ctx cli.Context, toComplete string) ([]string, error) { client, err := ctx.CLIClient() if err != nil { return nil, err } ns := ctx.NamespaceOrDefault(ctx.Namespace()) podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{}) if err != nil { return nil, err } var podsName []string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0)