- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for flagName (0.39 sec)
-
pkg/flag/flag.go
} } // AdditionalEnv allows additional env vars to set the flag value as well. // Unlike BindEnv, this does not do any transformations. func AdditionalEnv(fs *pflag.FlagSet, flagName, envName string) { if v, f := os.LookupEnv(envName); f { _ = fs.Set(flagName, v) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 2.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/generic.go
fs.Var(cliflag.NewMapStringString(controllerManagerExtraArgs), ControllerManagerExtraArgs, "A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/token.go
} // AddTTLFlagWithName adds the --token-ttl flag with a custom flag name given flagset func (bto *BootstrapTokenOptions) AddTTLFlagWithName(fs *pflag.FlagSet, flagName string) { fs.DurationVar( &bto.TTL.Duration, flagName, bto.TTL.Duration, "The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire", ) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 10:34:21 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/internal/telemetry/telemetry.go
// counter is the concatenation of prefix, the flagName, ":", // and value.String() for the flag's value. func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) { // TODO(matloob): Maybe pass in a list of flagNames if we end up counting // values for more than one? // TODO(matloob): Add this to x/telemetry? flagSet.Visit(func(f *flag.Flag) { if f.Name == flagName {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:30 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
APIServerCertSANs = "apiserver-cert-extra-sans" // APIServerExtraArgs flag sets a extra flags to pass to the API Server or override default ones in form of <flagname>=<value>. APIServerExtraArgs = "apiserver-extra-args" // CertificatesDir flag sets the path where to save and read the certificates. CertificatesDir = "cert-dir"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 6.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/counter.go
// 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 // binary's build info. If the binary does not have embedded build // info, the "flag:"+flagName counter will be incremented. // // CountCommandLineFlags must be called after flags are parsed // with flag.Parse. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 18:02:34 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/internal/telemetry/telemetry_bootstrap.go
func NewStackCounter(name string, depth int) dummyCounter { return dummyCounter{} } func CountFlags(name string, flagSet flag.FlagSet) {} func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) {} func Mode() string { return "" } func SetMode(mode string) error { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 20:16:39 UTC 2024 - 1.1K bytes - Viewed (0) -
src/compress/gzip/gunzip.go
"errors" "hash/crc32" "io" "time" ) const ( gzipID1 = 0x1f gzipID2 = 0x8b gzipDeflate = 8 flagText = 1 << 0 flagHdrCrc = 1 << 1 flagExtra = 1 << 2 flagName = 1 << 3 flagComment = 1 << 4 ) var ( // ErrChecksum is returned when reading GZIP data that has an invalid checksum. ErrChecksum = errors.New("gzip: invalid checksum")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 8.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
func validateFlagIsSetManuallyOrNot(istioCmd *cobra.Command, flagName string) bool { if istioCmd != nil { allPersistentFlagSet := istioCmd.PersistentFlags() if flagName != "" { return allPersistentFlagSet.Changed(flagName) } } return false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 25.5K bytes - Viewed (0) -
common/config/.golangci.yml
- docStub - dupArg - dupBranchBody - dupCase - dupSubExpr - elseif - emptyFallthrough - equalFold - flagDeref - flagName - hexLiteral - indexAlloc - initClause - methodExprCall - nilValReturn - octalLiteral - offBy1 - rangeExprCopy - regexpMust
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 20:03:06 UTC 2024 - 11.3K bytes - Viewed (0)