Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,213 for flagstr (0.11 sec)

  1. cmd/kubeadm/app/cmd/join.go

    	)
    	cmdutil.AddCRISocketFlag(flagSet, &cfg.NodeRegistration.CRISocket)
    }
    
    // addJoinOtherFlags adds join flags that are not bound to a configuration file to the given flagset
    func addJoinOtherFlags(flagSet *flag.FlagSet, joinOptions *joinOptions) {
    	options.AddConfigFlag(flagSet, &joinOptions.cfgPath)
    	flagSet.StringSliceVar(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/options/options.go

    	o.SecureServing.AddFlags(nfs.FlagSet("secure serving"))
    	o.Authentication.AddFlags(nfs.FlagSet("authentication"))
    	o.Authorization.AddFlags(nfs.FlagSet("authorization"))
    	o.Deprecated.AddFlags(nfs.FlagSet("deprecated"))
    	options.BindLeaderElectionFlags(o.LeaderElection, nfs.FlagSet("leader election"))
    	utilfeature.DefaultMutableFeatureGate.AddFlag(nfs.FlagSet("feature gate"))
    	o.Metrics.AddFlags(nfs.FlagSet("metrics"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/transport/transport.go

    // specified cert, key, and ca. The flags tls_cert, tls_key, and tls_ca are
    // added to the flagset to allow a user to specify the cert, key, and ca. If
    // the flagset is nil, no flags will be added, and users will not be able to
    // use these flags.
    func New(flagset plugin.FlagSet) http.RoundTripper {
    	if flagset == nil {
    		return &transport{}
    	}
    	flagset.AddExtraUsage(extraUsage)
    	return &transport{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                    path = readString( buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
                    if (nodeOffset > 0)
                        node = readString( buffer, start + nodeOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
                } else if( version == 1 ) {
                    node = readString( buffer, bufferIndex, len, (flags2 & FLAGS2_UNICODE) != 0);
                }
    
                return size;
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5K bytes
    - Viewed (0)
  5. pkg/cmd/cmd.go

    	<-sigs
    	cancel()
    	_ = log.Sync()
    }
    
    // AddFlags adds all command line flags to the given command.
    func AddFlags(rootCmd *cobra.Command) {
    	rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
    }
    
    // PrintFlags logs the flags in the flagset
    func PrintFlags(flags *pflag.FlagSet) {
    	flags.VisitAll(func(flag *pflag.Flag) {
    		log.Infof("FLAG: --%s=%q", flag.Name, flag.Value)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options_test.go

    			t.Errorf("%s: unexpected args: %v", testCase.name, args)
    			continue
    		}
    		t.Logf("%s: args: %v", testCase.name, args)
    		flagSet := pflag.NewFlagSet("output", pflag.ContinueOnError)
    		outputFlags := testCase.outputFlags()
    		outputFlags.AddFlags(flagSet)
    		if err := flagSet.Parse(args); err != nil {
    			if !testCase.err {
    				t.Errorf("%s: unexpected flag error: %v", testCase.name, err)
    			}
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/options/options.go

    	s.DeploymentController.AddFlags(fss.FlagSet(names.DeploymentController))
    	s.StatefulSetController.AddFlags(fss.FlagSet(names.StatefulSetController))
    	s.DaemonSetController.AddFlags(fss.FlagSet(names.DaemonSetController))
    	s.DeprecatedFlags.AddFlags(fss.FlagSet("deprecated"))
    	s.EndpointController.AddFlags(fss.FlagSet(names.EndpointsController))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go

    func (o *ResourceBuilderFlags) StopOnError() *ResourceBuilderFlags {
    	o.StopOnFirstError = true
    	return o
    }
    
    // AddFlags registers flags for finding resources
    func (o *ResourceBuilderFlags) AddFlags(flagset *pflag.FlagSet) {
    	o.FileNameFlags.AddFlags(flagset)
    
    	if o.LabelSelector != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  9. hack/verify-flags/excluded-flags.txt

    Vadim Rutkovsky <******@****.***> 1671109648 +0100
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 11 09:42:14 UTC 2023
    - 379 bytes
    - Viewed (0)
  10. pkg/flag/flag.go

    	"strings"
    	"time"
    
    	"github.com/spf13/pflag"
    )
    
    // Flaggable defines the set of types that can be flags.
    // This is not exhaustive; add more as needed
    type Flaggable interface {
    	string | bool | uint16 | time.Duration
    }
    
    var replacer = strings.NewReplacer("-", "_")
    
    // Bind registers a flag to the FlagSet. When parsed, the value will be set via pointer.
    // Usage:
    //
    //	cfg := Config{Foo: "default-foo"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top