Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 296 for flagstr (0.25 sec)

  1. cmd/kube-scheduler/app/server_test.go

    			opts.SecureServing.Listener = makeListener(t)
    			defer opts.SecureServing.Listener.Close()
    
    			nfs := opts.Flags
    			for _, f := range nfs.FlagSets {
    				fs.AddFlagSet(f)
    			}
    			if err := fs.Parse(tc.flags); err != nil {
    				t.Fatal(err)
    			}
    
    			// use listeners instead of static ports so parallel test runs don't conflict
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs.go

    		},
    		Args: cobra.NoArgs,
    	}
    	addRenewFlags(allCmd, flags)
    
    	cmdList = append(cmdList, allCmd)
    	return cmdList
    }
    
    func addRenewFlags(cmd *cobra.Command, flags *renewFlags) {
    	options.AddConfigFlag(cmd.Flags(), &flags.cfgPath)
    	options.AddCertificateDirFlag(cmd.Flags(), &flags.cfg.CertificatesDir)
    	options.AddKubeConfigFlag(cmd.Flags(), &flags.kubeconfigPath)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/feature.go

    		DebugSocketPath:           defaults.DebugSocketPath,
    		EnableContentionProfiling: defaults.EnableContentionProfiling,
    		EnablePriorityAndFairness: true,
    	}
    }
    
    func (o *FeatureOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.BoolVar(&o.EnableProfiling, "profiling", o.EnableProfiling,
    		"Enable profiling via web interface host:port/debug/pprof/")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    	// depends on the driver which runs the analyzer.
    	Flags flag.FlagSet
    
    	// Run applies the analyzer to a package.
    	// It returns an error if the analyzer failed.
    	//
    	// On success, the Run function may return a result
    	// computed by the Analyzer; its type must match ResultType.
    	// The driver makes this result available as an input to
    	// another Analyzer that depends directly on this one (see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check_test.go

    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    	if err := parseFlags(srcs[0], flags); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/go/types/check_test.go

    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    	if err := parseFlags(srcs[0], flags); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/admission.go

    		DefaultOffPlugins:      sets.Set[string]{},
    	}
    	server.RegisterAllAdmissionPlugins(options.Plugins)
    	return options
    }
    
    // AddFlags adds flags related to admission for a specific APIServer to the specified FlagSet
    func (a *AdmissionOptions) AddFlags(fs *pflag.FlagSet) {
    	if a == nil {
    		return
    	}
    
    	fs.StringSliceVar(&a.EnablePlugins, "enable-admission-plugins", a.EnablePlugins, ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server_test.go

    				// Flag and config get merged with command line flags first.
    				c.Logging.VModule = append([]logsapi.VModuleItem{
    					{
    						FilePattern: "goo.go",
    						Verbosity:   8,
    					},
    				}, c.Logging.VModule...)
    				return c
    			}(),
    		},
    	} {
    		t.Run(name, func(t *testing.T) {
    			options := NewOptions()
    			fs := new(pflag.FlagSet)
    			options.AddFlags(fs)
    			flags := tc.flags
    			if len(tc.config) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "CMP", argLength: 2, reg: gp2cr, asm: "CMP", typ: "Flags"},     // arg0 compare to arg1
    		{name: "CMPU", argLength: 2, reg: gp2cr, asm: "CMPU", typ: "Flags"},   // arg0 compare to arg1
    		{name: "CMPW", argLength: 2, reg: gp2cr, asm: "CMPW", typ: "Flags"},   // arg0 compare to arg1
    		{name: "CMPWU", argLength: 2, reg: gp2cr, asm: "CMPWU", typ: "Flags"}, // arg0 compare to arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. src/cmd/internal/telemetry/telemetry_bootstrap.go

    func NewStackCounter(name string, depth int) dummyCounter                 { return dummyCounter{} }
    func CountFlags(name string, flagSet flag.FlagSet)                        {}
    func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) {}
    func Mode() string                                                        { return "" }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top