Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for HelpFunc (0.18 sec)

  1. istioctl/pkg/admin/admin.go

    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. istioctl/cmd/root.go

    	orig.SetHelpFunc(func(cmd *cobra.Command, args []string) {
    		for _, hidden := range hidden {
    			_ = cmd.Flags().MarkHidden(hidden) // nolint: errcheck
    		}
    
    		orig.SetHelpFunc(nil)
    		orig.HelpFunc()(cmd, args)
    	})
    }
    
    func ConfigureLogging(_ *cobra.Command, _ []string) error {
    	return log.Configure(root.LoggingOptions)
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. istioctl/pkg/injector/injector-list.go

    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(injectorListCommand(cliContext))
    	return cmd
    }
    
    func injectorListCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. istioctl/pkg/waypoint/waypoint.go

    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	waypointApplyCmd.PersistentFlags().StringVarP(&revision, "revision", "r", "", "The revision to label the waypoint with")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(tagSetCommand(ctx))
    	cmd.AddCommand(tagGenerateCommand(ctx))
    	cmd.AddCommand(tagListCommand(ctx))
    	cmd.AddCommand(tagRemoveCommand(ctx))
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. istioctl/pkg/dashboard/dashboard.go

    			if len(args) != 0 {
    				return fmt.Errorf("unknown dashboard %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	dashboardCmd.PersistentFlags().IntVarP(&listenPort, "port", "p", 0, "Local port to listen to")
    	dashboardCmd.PersistentFlags().StringVar(&bindAddress, "address", "localhost",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    				return fmt.Errorf("unknown resource type %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace())
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	describeCmd.AddCommand(podDescribeCmd(ctx))
    	describeCmd.AddCommand(svcDescribeCmd(ctx))
    	return describeCmd
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top