Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,055 for flagstr (0.75 sec)

  1. src/cmd/go/internal/base/flag.go

    	flags.Func("C", "AddChdirFlag", ChdirFlag)
    }
    
    // AddModFlag adds the -mod build flag to the flag set.
    func AddModFlag(flags *flag.FlagSet) {
    	flags.Var(explicitStringFlag{value: &cfg.BuildMod, explicit: &cfg.BuildModExplicit}, "mod", "")
    }
    
    // AddModCommonFlags adds the module-related flags common to build commands
    // and 'go mod' subcommands.
    func AddModCommonFlags(flags *flag.FlagSet) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/apply.go

    	cmd.Flags().BoolVarP(&flags.force, "force", "f", flags.force, "Force upgrading although some requirements might not be met. This also implies non-interactive mode.")
    	cmd.Flags().BoolVar(&flags.dryRun, options.DryRun, flags.dryRun, "Do not change any state, just output what actions would be performed.")
    	cmd.Flags().BoolVar(&flags.etcdUpgrade, options.EtcdUpgrade, flags.etcdUpgrade, "Perform the upgrade of etcd.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/init.go

    	)
    	options.AddFeatureGatesStringFlag(flagSet, featureGatesString)
    }
    
    // AddInitOtherFlags adds init flags that are not bound to a configuration file to the given flagset
    // Note: All flags that are not bound to the cfg object should be allowed in cmd/kubeadm/app/apis/kubeadm/validation/validation.go
    func AddInitOtherFlags(flagSet *flag.FlagSet, initOptions *initOptions) {
    	options.AddConfigFlag(flagSet, &initOptions.cfgPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/options/token.go

    	return bto
    }
    
    // BootstrapTokenOptions is a wrapper struct for adding bootstrap token-related flags to a FlagSet
    // and applying the parsed flags to a InitConfiguration object later at runtime
    // TODO: In the future, we might want to group the flags in a better way than adding them all individually like this
    type BootstrapTokenOptions struct {
    	*bootstraptokenv1.BootstrapToken
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/options/generic.go

    func AddKubernetesVersionFlag(fs *pflag.FlagSet, kubernetesVersion *string) {
    	fs.StringVar(
    		kubernetesVersion, KubernetesVersion, *kubernetesVersion,
    		`Choose a specific Kubernetes version for the control plane.`,
    	)
    }
    
    // AddKubeadmOtherFlags adds flags that are not bound to a configuration file to the given flagset
    func AddKubeadmOtherFlags(flagSet *pflag.FlagSet, rootfsPath *string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/unveil_openbsd.go

    // unveil calls is handled by UnveilBlock.
    func Unveil(path string, flags string) error {
    	if err := supportsUnveil(); err != nil {
    		return err
    	}
    	pathPtr, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    	flagsPtr, err := BytePtrFromString(flags)
    	if err != nil {
    		return err
    	}
    	return unveil(pathPtr, flagsPtr)
    }
    
    // UnveilBlock blocks future unveil calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/reset.go

    }
    
    // AddResetFlags adds reset flags
    func AddResetFlags(flagSet *flag.FlagSet, resetOptions *resetOptions) {
    	flagSet.StringVar(
    		&resetOptions.externalcfg.CertificatesDir, options.CertificatesDir, kubeadmapiv1.DefaultCertificatesDir,
    		`The path to the directory where the certificates are stored. If specified, clean this directory.`,
    	)
    	flagSet.BoolVarP(
    		&resetOptions.externalcfg.Force, options.ForceReset, "f", resetOptions.externalcfg.Force,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top