Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 797 for flagstr (0.2 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/kube-controller-manager/app/options/options_test.go

    }
    
    func TestAddFlags(t *testing.T) {
    	fs := pflag.NewFlagSet("addflagstest", pflag.ContinueOnError)
    	s, _ := NewKubeControllerManagerOptions()
    	for _, f := range s.Flags([]string{""}, []string{""}, nil).FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    	fs.Parse(args)
    	// Sort GCIgnoredResources because it's built from a map, which means the
    	// insertion order is random.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    			l = append(l, *s)
    		}
    	}
    	return l
    }
    
    // installConfigFlags creates command line flags for configuration
    // fields and returns a function which can be called after flags have
    // been parsed to copy any flags specified on the command line to
    // *cfg.
    func installConfigFlags(flag plugin.FlagSet, cfg *config) func() error {
    	// List of functions for setting the different parts of a config.
    	var setters []func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/vendor/golang.org/x/text/internal/language/tables.go

    	56:   {region: 0x166, script: 0x5b, flags: 0x0},
    	57:   {region: 0x166, script: 0x5b, flags: 0x0},
    	58:   {region: 0x6c, script: 0x5, flags: 0x0},
    	59:   {region: 0x0, script: 0x3, flags: 0x1},
    	60:   {region: 0x166, script: 0x5b, flags: 0x0},
    	61:   {region: 0x51, script: 0x5b, flags: 0x0},
    	62:   {region: 0x3f, script: 0x5b, flags: 0x0},
    	63:   {region: 0x68, script: 0x5, flags: 0x0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 153K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top