Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UsageString (0.12 sec)

  1. 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)
  2. 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)
Back to top