- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 142 for flagstr (0.26 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/admission.go
DefaultOffPlugins: sets.Set[string]{}, } server.RegisterAllAdmissionPlugins(options.Plugins) return options } // AddFlags adds flags related to admission for a specific APIServer to the specified FlagSet func (a *AdmissionOptions) AddFlags(fs *pflag.FlagSet) { if a == nil { return } fs.StringSliceVar(&a.EnablePlugins, "enable-admission-plugins", a.EnablePlugins, ""+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 12 08:49:42 UTC 2024 - 9.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/util/cmdutil_test.go
flagValue: false, expected: false, }, } for _, tt := range tests { type options struct { foo string bar bool } fakeOptions := &options{} fs := pflag.FlagSet{} fs.StringVar(&fakeOptions.foo, "foo", "", "") fs.BoolVar(&fakeOptions.bar, "bar", false, "") t.Run(tt.name, func(t *testing.T) { if tt.flag != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 4K 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 "" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 20:16:39 UTC 2024 - 1.1K bytes - Viewed (0) -
cmd/kube-controller-manager/names/controller_names.go
// 2.4. [TODO] calling WaitForNamedCacheSync // 3. defining controller options for "--help" command or generated documentation // 3.1. controller name should be used to create a pflag.FlagSet when registering controller options (the name is rendered in a controller flag group header) in options.KubeControllerManagerOptions // 3.2. when defined flag's help mentions a controller name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 19:25:10 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/internal/telemetry/telemetry.go
func CountFlags(prefix string, flagSet flag.FlagSet) { counter.CountFlags(prefix, flagSet) } // CountFlagValue creates a counter for the flag value // if it is set and increments the counter. The name of the // 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) {
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/util/cmdutil.go
file = rules.GetDefaultFilename() klog.V(1).Infof("Using kubeconfig file: %s", file) return file } // AddCRISocketFlag adds the cri-socket flag to the supplied flagSet func AddCRISocketFlag(flagSet *pflag.FlagSet, criSocket *string) { flagSet.StringVar( criSocket, options.NodeCRISocket, *criSocket,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/go/internal/base/base.go
// Short is the short description shown in the 'go help' output. Short string // Long is the long message shown in the 'go help <this-command>' output. Long string // Flag is a set of flags specific to this command. Flag flag.FlagSet // CustomFlags indicates that the command will do its own // flag parsing. CustomFlags bool // Commands lists the available commands and help topics.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 5.3K bytes - Viewed (0) -
src/internal/buildcfg/exp.go
} set(val) } } if regabiAlwaysOn { flags.RegabiWrappers = true flags.RegabiArgs = true } // regabi is only supported on amd64, arm64, loong64, riscv64, ppc64 and ppc64le. if !regabiSupported { flags.RegabiWrappers = false flags.RegabiArgs = false } // Check regabi dependencies. if flags.RegabiArgs && !flags.RegabiWrappers {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:38:52 UTC 2024 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/recommended.go
Admission: NewAdmissionOptions(), EgressSelector: NewEgressSelectorOptions(), Traces: NewTracingOptions(), } } func (o *RecommendedOptions) AddFlags(fs *pflag.FlagSet) { o.Etcd.AddFlags(fs) o.SecureServing.AddFlags(fs) o.Authentication.AddFlags(fs) o.Authorization.AddFlags(fs) o.Audit.AddFlags(fs) o.Features.AddFlags(fs) o.CoreAPI.AddFlags(fs) o.Admission.AddFlags(fs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 18:51:27 UTC 2024 - 6K bytes - Viewed (0) -
src/runtime/os3_plan9.go
flags = _SigNotify for sig, t = range sigtable { if stringslite.HasPrefix(notestr, t.name) { flags = t.flags break } } if flags&_SigPanic != 0 && gp.throwsplit { // We can't safely sigpanic because it may grow the // stack. Abort in the signal handler instead. flags = (flags &^ _SigPanic) | _SigThrow } if flags&_SigGoExit != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 4K bytes - Viewed (0)