- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UsageString (0.13 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/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)