Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 424 for flagstr (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/kubeadm/app/cmd/upgrade/plan.go

    			}
    
    			if err := validation.ValidateMixedArguments(cmd.Flags()); err != nil {
    				return err
    			}
    			return runPlan(cmd.Flags(), flags, args, printer)
    		},
    	}
    
    	outputFlags.AddFlags(cmd)
    
    	// Register the common flags for apply and plan
    	addApplyPlanFlags(cmd.Flags(), flags.applyPlanFlags)
    	return cmd
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/KotlinMetadata.kt

    internal
    fun newTypeParameterOf(
        flags: Flags = 0,
        name: String,
        id: Int = 0,
        variance: KmVariance,
        upperBound: KmType,
    ): KmTypeParameter {
        val kmTypeParameter = KmTypeParameter(flags, name, id, variance)
        kmTypeParameter.upperBounds += upperBound
        return kmTypeParameter
    }
    
    
    internal
    fun nullable(kmType: KmType): KmType = kmType.also { it.flags = flagsOf(Flag.Type.IS_NULLABLE) }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/common.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    )
    
    // enforceRequirements verifies that it's okay to upgrade and then returns the variables needed for the rest of the procedure
    func enforceRequirements(flagSet *pflag.FlagSet, flags *applyPlanFlags, args []string, dryRun bool, upgradeApply bool, printer output.Printer) (clientset.Interface, upgrade.VersionGetter, *kubeadmapi.InitConfiguration, *kubeadmapi.UpgradeConfiguration, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. cmd/kube-scheduler/app/server.go

    				}
    			}
    			return nil
    		},
    	}
    
    	nfs := opts.Flags
    	verflag.AddFlags(nfs.FlagSet("global"))
    	globalflag.AddGlobalFlags(nfs.FlagSet("global"), cmd.Name(), logs.SkipLoggingConfigurationFlags())
    	fs := cmd.Flags()
    	for _, f := range nfs.FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    	cols, _, _ := term.TerminalSize(cmd.OutOrStdout())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/cmd/doc/main.go

    	unexported = false
    	matchCase = false
    	flagSet.StringVar(&chdir, "C", "", "change to `dir` before running command")
    	flagSet.BoolVar(&unexported, "u", false, "show unexported symbols as well as exported")
    	flagSet.BoolVar(&matchCase, "c", false, "symbol matching honors case (paths not affected)")
    	flagSet.BoolVar(&showAll, "all", false, "show all documentation for package")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    	Bool(name string, def bool, usage string) *bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/options/options.go

    	// Add the generic flags.
    	s.GenericServerRunOptions.AddUniversalFlags(fss.FlagSet("generic"))
    	s.Etcd.AddFlags(fss.FlagSet("etcd"))
    	s.SecureServing.AddFlags(fss.FlagSet("secure serving"))
    	s.Audit.AddFlags(fss.FlagSet("auditing"))
    	s.Features.AddFlags(fss.FlagSet("features"))
    	s.Authentication.AddFlags(fss.FlagSet("authentication"))
    	s.Authorization.AddFlags(fss.FlagSet("authorization"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top