Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AddFlag (0.08 sec)

  1. cmd/kubeadm/app/cmd/phases/workflow/runner.go

    			inheritsFlags(e.cmdAdditionalFlags, phaseCmd.Flags(), p.InheritFlags)
    		}
    
    		// If defined, added phase local flags
    		if p.LocalFlags != nil {
    			p.LocalFlags.VisitAll(func(f *pflag.Flag) {
    				phaseCmd.Flags().AddFlag(f)
    			})
    		}
    
    		// if this phase has children (not a leaf) it doesn't accept any args
    		if len(p.Phases) > 0 {
    			phaseCmd.Args = cobra.NoArgs
    		} else {
    			if p.ArgsValidator == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 21 05:35:15 UTC 2022
    - 16K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/options/options.go

    	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"))
    	logsapi.AddFlags(o.Logs, nfs.FlagSet("logs"))
    
    	o.Flags = &nfs
    }
    
    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. cmd/kube-controller-manager/app/options/options.go

    	utilfeature.DefaultMutableFeatureGate.AddFlag(fss.FlagSet("generic"))
    
    	return fss
    }
    
    // ApplyTo fills up controller manager config with options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    		"This option, if set, represents the maximum amount of grace period the apiserver will wait "+
    		"for active watch request(s) to drain during the graceful server shutdown window.")
    
    	utilfeature.DefaultMutableFeatureGate.AddFlag(fs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top