- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 460 for flagstr (0.12 sec)
-
pkg/collateral/control.go
} } g.emit("</code></pre></div>") } } flags := cmd.NonInheritedFlags() flags.SetOutput(g.buffer) parentFlags := cmd.InheritedFlags() parentFlags.SetOutput(g.buffer) if flags.HasFlags() || parentFlags.HasFlags() { f := make(map[string]*pflag.Flag) addFlags(f, flags) addFlags(f, parentFlags) if len(f) > 0 { names := make([]string, len(f))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 03:51:36 UTC 2024 - 17.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
if len(os.Args) == 0 { return "" } flags := "" parseFunc := func(flag *pflag.Flag, value string) error { flags = flags + " --" + flag.Name if set, ok := flag.Annotations["classified"]; !ok || len(set) == 0 { flags = flags + "=" + value } else { flags = flags + "=CLASSIFIED" } return nil } var err error err = cmd.Flags().ParseAll(os.Args[1:], parseFunc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/kubeapiserver/options/authorization.go
} return allErrors } // AddFlags returns flags of authorization for a API Server func (o *BuiltInAuthorizationOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return } fs.StringSliceVar(&o.Modes, authorizationModeFlag, o.Modes, ""+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 12K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
ehdr.Flags = 1 /* Version 1 ABI */ } else { ehdr.Flags = 2 /* Version 2 ABI */ } fallthrough case sys.AMD64, sys.ARM64, sys.Loong64, sys.MIPS64, sys.RISCV64: if ctxt.Arch.Family == sys.MIPS64 { ehdr.Flags = 0x20000004 /* MIPS 3 CPIC */ } if ctxt.Arch.Family == sys.Loong64 { ehdr.Flags = 0x43 /* DOUBLE_FLOAT, OBJABI_V1 */ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
// cond: uint64(x)<uint64(y) // result: (FlagLT) for { y := auxIntToInt64(v.AuxInt) if v_0.Op != OpPPC64MOVDconst { break } x := auxIntToInt64(v_0.AuxInt) if !(uint64(x) < uint64(y)) { break } v.reset(OpPPC64FlagLT) return true } // match: (CMPUconst (MOVDconst [x]) [y]) // cond: uint64(x)>uint64(y) // result: (FlagGT) for { y := auxIntToInt64(v.AuxInt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/options.go
return &s } // Flags returns flags for a specific APIServer by section name func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) { s.Options.AddFlags(&fss) s.CloudProvider.AddFlags(fss.FlagSet("cloud provider")) // Note: the weird ""+ in below lines seems to be the only way to get gofmt to // arrange these text blocks sensibly. Grrr. fs := fss.FlagSet("misc")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/kube-scheduler/app/server_test.go
opts.SecureServing.Listener = makeListener(t) defer opts.SecureServing.Listener.Close() nfs := opts.Flags for _, f := range nfs.FlagSets { fs.AddFlagSet(f) } if err := fs.Parse(tc.flags); err != nil { t.Fatal(err) } // use listeners instead of static ports so parallel test runs don't conflict
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.2K bytes - Viewed (0) -
cmd/kube-proxy/app/init_windows.go
const ( serviceName = "kube-proxy" ) func initForOS(windowsService bool) error { if windowsService { return service.InitService(serviceName) } return nil } func (o *Options) addOSFlags(fs *pflag.FlagSet) { fs.BoolVar(&o.WindowsService, "windows-service", o.WindowsService, "Enable Windows Service Control Manager API integration")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 23:41:55 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs.go
}, Args: cobra.NoArgs, } addRenewFlags(allCmd, flags) cmdList = append(cmdList, allCmd) return cmdList } func addRenewFlags(cmd *cobra.Command, flags *renewFlags) { options.AddConfigFlag(cmd.Flags(), &flags.cfgPath) options.AddCertificateDirFlag(cmd.Flags(), &flags.cfg.CertificatesDir) options.AddKubeConfigFlag(cmd.Flags(), &flags.kubeconfigPath) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/feature.go
DebugSocketPath: defaults.DebugSocketPath, EnableContentionProfiling: defaults.EnableContentionProfiling, EnablePriorityAndFairness: true, } } func (o *FeatureOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return } fs.BoolVar(&o.EnableProfiling, "profiling", o.EnableProfiling, "Enable profiling via web interface host:port/debug/pprof/")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 18:51:27 UTC 2024 - 3K bytes - Viewed (0)