- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 for flagstr (0.24 sec)
-
cmd/kube-apiserver/app/options/globalflags.go
// ensure libs have a chance to globally register their flags _ "k8s.io/apiserver/pkg/admission" ) // AddCustomGlobalFlags explicitly registers flags that internal packages register // against the global flagsets from "flag". We do this in order to prevent // unwanted flags from leaking into the kube-apiserver's flagset. func AddCustomGlobalFlags(fs *pflag.FlagSet) { // Lookup flags in global flag set and re-register the values with our flagset.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 07:44:58 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/kubelet/app/options/globalflags.go
"k8s.io/component-base/version/verflag" ) // AddGlobalFlags explicitly registers flags that libraries (glog, verflag, etc.) register // against the global flagsets from "flag" and "github.com/spf13/pflag". // We do this in order to prevent unwanted flags from leaking into the Kubelet's flagset. func AddGlobalFlags(fs *pflag.FlagSet) { addCadvisorFlags(fs) addCredentialProviderFlags(fs) verflag.AddFlags(fs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 13:03:53 UTC 2024 - 2.4K bytes - Viewed (0) -
hack/verify-flags-underscore.py
return all_files # Collects all the flags used in golang files and verifies the flags do # not contain underscore. If any flag needs to be excluded from this check, # need to add that flag in hack/verify-flags/excluded-flags.txt. def check_underscore_in_flags(rootdir, files): # preload the 'known' flags which don't follow the - standard pathname = os.path.join(rootdir, "hack/verify-flags/excluded-flags.txt") f = open(pathname, 'r')
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 4.3K bytes - Viewed (0) -
src/internal/goexperiment/flags.go
// and "go version <binary>" if it differs from the default experiments. // // For the set of experiments supported by the current toolchain, see // "go doc goexperiment.Flags". // // Note that this package defines the set of experiments (in Flags) // and records the experiments that were enabled when the package // was compiled (as boolean and integer constants). // // Note especially that this package does not itself change behavior
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 16:19:47 UTC 2024 - 4.2K 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) -
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) -
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) -
src/cmd/vendor/github.com/google/pprof/driver/driver.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 - 9.8K bytes - Viewed (0) -
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) -
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)