Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/cmd/options.go

    		c.Printf("The following options can be passed to any command:\n")
    		// (Currently the only global options we show are help options)
    		rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) {
    			if _, ok := helpFlags[flag.Name]; ok {
    				// Currently every flag.Shorthand is "", so there is no point in showing shorthands
    				shorthand := "   "
    				if flag.Shorthand != "" {
    					shorthand = "-" + flag.Shorthand + ","
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/options.go

    		configAccess := clientcmd.NewDefaultPathOptions()
    		configAccess.GlobalFile = o.Kubeconfig
    		if config, err := configAccess.GetStartingConfig(); err == nil {
    			if context, ok := config.Contexts[config.CurrentContext]; ok && context.Namespace != "" {
    				o.Namespace = context.Namespace
    			}
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 01 23:59:49 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top