Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for BoolVarP (0.15 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. istioctl/pkg/waypoint/waypoint.go

    		fmt.Sprintf("Specify the traffic type %s for the waypoint", sets.SortedList(validTrafficTypes)),
    	)
    
    	waypointApplyCmd.PersistentFlags().BoolVarP(&enrollNamespace, "enroll-namespace", "", false,
    		"If set, the namespace will be labeled with the waypoint name")
    
    	waypointApplyCmd.PersistentFlags().BoolVarP(&overwrite, "overwrite", "", false,
    		"Overwrite the existing Waypoint used by the namespace")
    
    	waypointDeleteCmd := &cobra.Command{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. istioctl/pkg/analyze/analyze.go

    					returnError = FileParseError{}
    				}
    			}
    			return returnError
    		},
    	}
    
    	analysisCmd.PersistentFlags().BoolVarP(&listAnalyzers, "list-analyzers", "L", false,
    		"List the analyzers available to run. Suppresses normal execution.")
    	analysisCmd.PersistentFlags().BoolVarP(&useKube, "use-kube", "k", true,
    		"Use live Kubernetes cluster for analysis. Set --use-kube=false to analyze files only.")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. istioctl/pkg/tag/tag.go

    		},
    	}
    
    	cmd.PersistentFlags().BoolVar(&overwrite, "overwrite", false, overrideHelpStr)
    	cmd.PersistentFlags().StringVarP(&manifestsPath, "manifests", "d", "", util.ManifestsFlagHelpStr)
    	cmd.PersistentFlags().BoolVarP(&skipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr)
    	cmd.PersistentFlags().StringVarP(&revision, "revision", "r", "", revisionHelpStr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top