- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for UsageString (0.06 sec)
-
istioctl/pkg/proxyconfig/proxyconfig.go
Args: func(cmd *cobra.Command, args []string) error { if len(args) != 1 && (labelSelector == "") { cmd.Println(cmd.UsageString()) return fmt.Errorf("stats requires pod name or label selector") } if len(args) == 1 && (labelSelector != "") { cmd.Println(cmd.UsageString()) return fmt.Errorf("name cannot be provided when the label selector is specified") } return nil },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
return fmt.Errorf("failed to create k8s client: %v", err) } if labelSelector == "" && len(args) < 1 { c.Println(c.UsageString()) return fmt.Errorf("specify a pod or --selector") } if labelSelector != "" && len(args) > 0 { c.Println(c.UsageString()) return fmt.Errorf("name cannot be provided when a selector is specified") } if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
Args: func(logCmd *cobra.Command, args []string) error { if istiodReset && outputLogLevel != "" { logCmd.Println(logCmd.UsageString()) return fmt.Errorf("--level cannot be combined with --reset") } if istiodReset && stackTraceLevel != "" { logCmd.Println(logCmd.UsageString()) return fmt.Errorf("--stack-trace-level cannot be combined with --reset") } return nil },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
# Check AuthorizationPolicy from Envoy config dump file: istioctl x authz check -f httpbin_config_dump.json`, Args: func(cmd *cobra.Command, args []string) error { if len(args) > 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("check requires only <pod-name>[.<pod-namespace>]") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
istioctl x check-inject -n test -l app=helloworld,version=v1 `, Args: func(cmd *cobra.Command, args []string) error { if len(args) == 0 && labelPairs == "" || len(args) > 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("check-inject requires only [<resource-type>/]<resource-name>[.<namespace>], or specify labels flag") } return nil }, RunE: func(cmd *cobra.Command, args []string) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
// nolint: goimports Aliases: []string{"m"}, Args: func(cmd *cobra.Command, args []string) error { if len(args) < 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("metrics requires workload name") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { return run(cmd, ctx, args) }, DisableFlagsInUseLine: true,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
Args: func(cmd *cobra.Command, args []string) error { if err := common.validateArgs(cmd, args); err != nil { return err } if reset && loggerLevelString != "" { cmd.Println(cmd.UsageString()) return fmt.Errorf("--level cannot be combined with --reset") } if common.outputFormat != "" && common.outputFormat != summaryOutput { return fmt.Errorf("--output is not applicable for this command")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
the configuration objects that affect that service.`, Example: ` istioctl experimental describe service productpage`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("expecting service name") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0)