Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 492 for flagstr (0.24 sec)

  1. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    	Bool(name string, def bool, usage string) *bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/workflow/phase.go

    	// for this phase.
    	// Nb. if two or phases have the same local flags, please consider using local flags in the parent command
    	// or additional flags defined in the phase runner.
    	LocalFlags *pflag.FlagSet
    
    	// ArgsValidator defines the positional arg function to be used for validating args for this phase
    	// If not set a phase will adopt the args of the top level command.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 15:35:58 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/options/legacyserviceaccounttokencleaner.go

    type LegacySATokenCleanerOptions struct {
    	*serviceaccountconfig.LegacySATokenCleanerConfiguration
    }
    
    // AddFlags adds flags related to LegacySATokenCleaner for controller manager to the specified FlagSet
    func (o *LegacySATokenCleanerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 24 23:20:17 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/ttlafterfinishedcontroller.go

    type TTLAfterFinishedControllerOptions struct {
    	*ttlafterfinishedconfig.TTLAfterFinishedControllerConfiguration
    }
    
    // AddFlags adds flags related to TTLAfterFinishedController for controller manager to the specified FlagSet.
    func (o *TTLAfterFinishedControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 19 13:01:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/cronjobcontroller.go

    type CronJobControllerOptions struct {
    	*cronjobconfig.CronJobControllerConfiguration
    }
    
    // AddFlags adds flags related to JobController for controller manager to the specified FlagSet.
    func (o *CronJobControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 10:28:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/goflags.go

    				if err := flags.Set(f.Name, "true"); err != nil {
    					fmt.Fprintf(flags.Output(), "go: invalid boolean flag %s (from %s): %v\n", name, where, err)
    					flags.Usage()
    				}
    			}
    		} else {
    			if !hasValue {
    				fmt.Fprintf(flags.Output(), "go: flag needs an argument: %s (from %s)\n", name, where)
    				flags.Usage()
    			}
    			if err := flags.Set(f.Name, value); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. cmd/genyaml/gen_kubectl_yaml.go

    	doc.Synopsis = forceMultiLine(command.Short)
    	doc.Description = forceMultiLine(command.Long)
    
    	flags := command.NonInheritedFlags()
    	if flags.HasFlags() {
    		doc.Options = genFlagResult(flags)
    	}
    	flags = command.InheritedFlags()
    	if flags.HasFlags() {
    		doc.InheritedOptions = genFlagResult(flags)
    	}
    
    	if len(command.Example) > 0 {
    		doc.Example = command.Example
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/upgrade/diff.go

    	options.AddConfigFlag(cmd.Flags(), &flags.cfgPath)
    	cmd.Flags().StringVar(&flags.apiServerManifestPath, "api-server-manifest", defaultAPIServerManifestPath, "path to API server manifest")
    	cmd.Flags().StringVar(&flags.controllerManagerManifestPath, "controller-manager-manifest", defaultControllerManagerManifestPath, "path to controller manifest")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    //
    //	For instance, CountFlags("gopls/flag:", *flag.CommandLine)
    func CountFlags(prefix string, fs flag.FlagSet) {
    	fs.Visit(func(f *flag.Flag) {
    		New(prefix + f.Name).Inc()
    	})
    }
    
    // CountCommandLineFlags creates a counter for every flag
    // that is set in the default flag.CommandLine FlagSet using
    // the counter name binaryName+"/flag:"+flagName where
    // binaryName is the base name of the Path embedded in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/attachdetachcontroller.go

    type AttachDetachControllerOptions struct {
    	*attachdetachconfig.AttachDetachControllerConfiguration
    }
    
    // AddFlags adds flags related to AttachDetachController for controller manager to the specified FlagSet.
    func (o *AttachDetachControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top