- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 992 for flagstr (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)