Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for optionsCommand (0.24 sec)

  1. istioctl/cmd/options.go

    	// istioctl also inherits support for log_rotate, log_rotate_max_age, log_rotate_max_backups,
    	// log_rotate_max_size, but these are rarely appropriate for a user-facing CLI so we ignore them
    }
    
    func optionsCommand(rootCmd *cobra.Command) *cobra.Command {
    	retval := &cobra.Command{
    		Use:   "options",
    		Short: "Displays istioctl global options",
    		Args:  cobra.ExactArgs(0),
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. istioctl/cmd/root.go

    		Manual:  "Istio Control",
    	}))
    
    	validateCmd := validate.NewValidateCommand(ctx)
    	hideInheritedFlags(validateCmd, "kubeconfig")
    	rootCmd.AddCommand(validateCmd)
    
    	rootCmd.AddCommand(optionsCommand(rootCmd))
    
    	// BFS applies the flag error function to all subcommands
    	seenCommands := make(map[*cobra.Command]bool)
    	var commandStack []*cobra.Command
    
    	commandStack = append(commandStack, rootCmd)
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top