Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 379 for flagstr (0.09 sec)

  1. cmd/kube-controller-manager/app/options/validatingadmissionpolicycontroller.go

    	*validatingadmissionpolicystatusconfig.ValidatingAdmissionPolicyStatusControllerConfiguration
    }
    
    // AddFlags adds flags related to ValidatingAdmissionPolicyStatusController for controller manager to the specified FlagSet.
    func (o *ValidatingAdmissionPolicyStatusControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/goflags.go

    				if err := flags.Set(f.Name, "true"); err != nil {
    					fmt.Fprintf(flags.Output(), "go: invalid boolean flag %s (from %s): %v\n", name, where, err)
    					flags.Usage()
    				}
    			}
    		} else {
    			if !hasValue {
    				fmt.Fprintf(flags.Output(), "go: flag needs an argument: %s (from %s)\n", name, where)
    				flags.Usage()
    			}
    			if err := flags.Set(f.Name, value); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/upgrade/diff.go

    	options.AddConfigFlag(cmd.Flags(), &flags.cfgPath)
    	cmd.Flags().StringVar(&flags.apiServerManifestPath, "api-server-manifest", defaultAPIServerManifestPath, "path to API server manifest")
    	cmd.Flags().StringVar(&flags.controllerManagerManifestPath, "controller-manager-manifest", defaultControllerManagerManifestPath, "path to controller manifest")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    //
    //	For instance, CountFlags("gopls/flag:", *flag.CommandLine)
    func CountFlags(prefix string, fs flag.FlagSet) {
    	fs.Visit(func(f *flag.Flag) {
    		New(prefix + f.Name).Inc()
    	})
    }
    
    // CountCommandLineFlags creates a counter for every flag
    // that is set in the default flag.CommandLine FlagSet using
    // the counter name binaryName+"/flag:"+flagName where
    // binaryName is the base name of the Path embedded in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/attachdetachcontroller.go

    type AttachDetachControllerOptions struct {
    	*attachdetachconfig.AttachDetachControllerConfiguration
    }
    
    // AddFlags adds flags related to AttachDetachController for controller manager to the specified FlagSet.
    func (o *AttachDetachControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/common_test.go

    		},
    	}
    	for _, tt := range tcases {
    		t.Run(tt.name, func(t *testing.T) {
    			_, _, _, _, err := enforceRequirements(&pflag.FlagSet{}, &tt.flags, nil, tt.dryRun, false, &output.TextPrinter{})
    			if err == nil && len(tt.expectedErr) != 0 {
    				t.Error("Expected error, but got success")
    			}
    
    			expErr := tt.expectedErr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/options/hpacontroller.go

    // HPAControllerOptions holds the HPAController options.
    type HPAControllerOptions struct {
    	*poautosclerconfig.HPAControllerConfiguration
    }
    
    // AddFlags adds flags related to HPAController for controller manager to the specified FlagSet.
    func (o *HPAControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/options/deprecated.go

    	// If this value is empty, the default value (5min) will be used.
    	PodMaxInUnschedulablePodsDuration time.Duration
    }
    
    // AddFlags adds flags for the deprecated options.
    func (o *DeprecatedOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 13:24:38 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/options/nodelifecyclecontroller.go

    type NodeLifecycleControllerOptions struct {
    	*nodelifecycleconfig.NodeLifecycleControllerConfiguration
    }
    
    // AddFlags adds flags related to NodeLifecycleController for controller manager to the specified FlagSet.
    func (o *NodeLifecycleControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.DurationVar(&o.NodeStartupGracePeriod.Duration, "node-startup-grace-period", o.NodeStartupGracePeriod.Duration,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 09:25:51 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go

    type PersistentVolumeBinderControllerOptions struct {
    	*persistentvolumeconfig.PersistentVolumeBinderControllerConfiguration
    }
    
    // AddFlags adds flags related to PersistentVolumeBinderController for controller manager to the specified FlagSet.
    func (o *PersistentVolumeBinderControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top