Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for BoolVarP (0.19 sec)

  1. pkg/collateral/cobra_noagent.go

    	cmd.Flags().BoolVarP(&all, "all", "", all, "Produce all supported collateral files")
    	cmd.Flags().BoolVarP(&c.EmitMarkdown, "markdown", "", c.EmitMarkdown, "Produce markdown documentation files")
    	cmd.Flags().BoolVarP(&c.EmitManPages, "man", "", c.EmitManPages, "Produce man pages")
    	cmd.Flags().BoolVarP(&c.EmitBashCompletion, "bash", "", c.EmitBashCompletion, "Produce bash completion files")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go

    	}
    
    	return options
    }
    
    // AddFlags binds file name flags to a given flagset
    func (o *FileNameFlags) AddFlags(flags *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	if o.Recursive != nil {
    		flags.BoolVarP(o.Recursive, "recursive", "R", *o.Recursive, "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.")
    	}
    	if o.Filenames != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-diff.go

    	renameResources string
    }
    
    func addManifestDiffFlags(cmd *cobra.Command, diffArgs *manifestDiffArgs) {
    	cmd.PersistentFlags().BoolVarP(&diffArgs.compareDir, "directory", "r",
    		false, "Compare directory.")
    	cmd.PersistentFlags().BoolVarP(&diffArgs.verbose, "verbose", "v",
    		false, "Verbose output.")
    	cmd.PersistentFlags().StringVar(&diffArgs.selectResources, "select", "::",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. pkg/flag/flag.go

    func Bind[T Flaggable](fs *pflag.FlagSet, name, shorthand, usage string, val *T) {
    	switch d := any(val).(type) {
    	case *string:
    		fs.StringVarP(d, name, shorthand, *d, usage)
    	case *bool:
    		fs.BoolVarP(d, name, shorthand, *d, usage)
    	case *time.Duration:
    		fs.DurationVarP(d, name, shorthand, *d, usage)
    	case *uint16:
    		fs.Uint16VarP(d, name, shorthand, *d, usage)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/flags.go

    			"values and flag settings, with lists being replaced per JSON merge semantics.")
    
    	// dry run
    	cmd.PersistentFlags().BoolVarP(&args.DryRun, "dry-run", "", false,
    		"Only log commands that would be run, don't fetch or write.")
    
    	// full secrets
    	cmd.PersistentFlags().BoolVarP(&args.FullSecrets, "full-secrets", "", false,
    		"If set, secret contents are included in output.")
    
    	// istio namespaces
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. pkg/test/echo/cmd/client/main.go

    		"send http requests as HTTP 3")
    	rootCmd.PersistentFlags().BoolVarP(&insecureSkipVerify, "insecure-skip-verify", "k", insecureSkipVerify,
    		"do not verify TLS")
    	rootCmd.PersistentFlags().BoolVar(&serverFirst, "server-first", false,
    		"Treat as a server first protocol; do not send request until magic string is received")
    	rootCmd.PersistentFlags().BoolVarP(&followRedirects, "follow-redirects", "L", false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. operator/cmd/mesh/root.go

    type RootArgs struct {
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    }
    
    func addFlags(cmd *cobra.Command, rootArgs *RootArgs) {
    	cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "",
    		false, "Console/log output only, make no changes.")
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    func GetRootCmd(ctx cli.Context, args []string) *cobra.Command {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. pkg/version/cobra.go

    				if marshaled, err := json.MarshalIndent(&version, "", "  "); err == nil {
    					_, _ = fmt.Fprintln(cmd.OutOrStdout(), string(marshaled))
    				}
    			}
    
    			return nil
    		},
    	}
    
    	cmd.Flags().BoolVarP(&short, "short", "s", false, "Use --short=false to generate full version information")
    	cmd.Flags().StringVarP(&output, "output", "o", "", "One of 'yaml' or 'json'.")
    	if options.GetRemoteVersion != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-remove.go

    	revision string
    	// purge if set to true, all revisions of Istio operator will be specified.
    	purge bool
    }
    
    func addOperatorRemoveFlags(cmd *cobra.Command, oiArgs *operatorRemoveArgs) {
    	cmd.PersistentFlags().BoolVarP(&oiArgs.skipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr)
    	cmd.PersistentFlags().BoolVar(&oiArgs.force, "force", false, ForceFlagHelpStr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go

    	}
    	if o.AllNamespaces != nil {
    		flagset.BoolVarP(o.AllNamespaces, "all-namespaces", "A", *o.AllNamespaces, "If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.")
    	}
    	if o.All != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 6.7K bytes
    - Viewed (0)
Back to top