Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 553 for flagstr (0.14 sec)

  1. cmd/kube-controller-manager/names/controller_names.go

    //     2.4. [TODO] calling WaitForNamedCacheSync
    //  3. defining controller options for "--help" command or generated documentation
    //     3.1. controller name should be used to create a pflag.FlagSet when registering controller options (the name is rendered in a controller flag group header) in options.KubeControllerManagerOptions
    //     3.2. when defined flag's help mentions a controller name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/cmd/internal/telemetry/telemetry.go

    func CountFlags(prefix string, flagSet flag.FlagSet) {
    	counter.CountFlags(prefix, flagSet)
    }
    
    // CountFlagValue creates a counter for the flag value
    // if it is set and increments the counter. The name of the
    // counter is the concatenation of prefix, the flagName, ":",
    // and value.String() for the flag's value.
    func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/util/cmdutil.go

    	file = rules.GetDefaultFilename()
    	klog.V(1).Infof("Using kubeconfig file: %s", file)
    	return file
    }
    
    // AddCRISocketFlag adds the cri-socket flag to the supplied flagSet
    func AddCRISocketFlag(flagSet *pflag.FlagSet, criSocket *string) {
    	flagSet.StringVar(
    		criSocket, options.NodeCRISocket, *criSocket,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. cmd/kube-scheduler/app/testing/testserver.go

    	if err != nil {
    		return result, fmt.Errorf("failed to create temp dir: %v", err)
    	}
    
    	fs := pflag.NewFlagSet("test", pflag.PanicOnError)
    
    	opts := options.NewOptions()
    	nfs := opts.Flags
    	for _, f := range nfs.FlagSets {
    		fs.AddFlagSet(f)
    	}
    	fs.Parse(customFlags)
    
    	if opts.SecureServing.BindPort != 0 {
    		opts.SecureServing.Listener, opts.SecureServing.BindPort, err = createListenerOnFreePort()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 10:35:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/base/base.go

    	// Short is the short description shown in the 'go help' output.
    	Short string
    
    	// Long is the long message shown in the 'go help <this-command>' output.
    	Long string
    
    	// Flag is a set of flags specific to this command.
    	Flag flag.FlagSet
    
    	// CustomFlags indicates that the command will do its own
    	// flag parsing.
    	CustomFlags bool
    
    	// Commands lists the available commands and help topics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/ProgressStartEventSerializer.java

            } else if (event.getCategory().equals(ProgressStartEvent.TASK_CATEGORY)) {
                flags |= CATEGORY_IS_TASK;
            } else {
                flags |= CATEGORY_NAME;
            }
    
            encoder.writeSmallInt(flags);
    
            encoder.writeSmallLong(event.getProgressOperationId().getId());
            if (parentProgressOperationId != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. src/internal/buildcfg/exp.go

    			}
    			set(val)
    		}
    	}
    
    	if regabiAlwaysOn {
    		flags.RegabiWrappers = true
    		flags.RegabiArgs = true
    	}
    	// regabi is only supported on amd64, arm64, loong64, riscv64, ppc64 and ppc64le.
    	if !regabiSupported {
    		flags.RegabiWrappers = false
    		flags.RegabiArgs = false
    	}
    	// Check regabi dependencies.
    	if flags.RegabiArgs && !flags.RegabiWrappers {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:38:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultFeatureFlagsTest.groovy

            flag.systemPropertyName >> "prop"
    
            expect:
            !flags.isEnabled(flag)
            !flags.isEnabledWithApi(flag)
        }
    
        def "can explicitly enable flag"() {
            def flag = Stub(FeatureFlag)
            flag.systemPropertyName >> null
            flags.enable(flag)
    
            expect:
            flags.isEnabled(flag)
            flags.isEnabledWithApi(flag)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/testing/testserver.go

    	if err != nil {
    		return TestServer{}, err
    	}
    	all, disabled, aliases := app.KnownControllers(), app.ControllersDisabledByDefault(), app.ControllerAliases()
    	namedFlagSets := s.Flags(all, disabled, aliases)
    	for _, f := range namedFlagSets.FlagSets {
    		fs.AddFlagSet(f)
    	}
    	fs.Parse(customFlags)
    
    	if s.SecureServing.BindPort != 0 {
    		s.SecureServing.Listener, s.SecureServing.BindPort, err = createListenerOnFreePort()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/flag.go

    func (f *PerPackageFlag) Present() bool {
    	return f.present
    }
    
    // For returns the flags to use for the given package.
    func (f *PerPackageFlag) For(p *Package) []string {
    	flags := []string{}
    	for _, v := range f.values {
    		if v.match(p) {
    			flags = v.flags
    		}
    	}
    	return flags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:20:43 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top