- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 992 for flagstr (0.14 sec)
-
src/cmd/go/internal/cmdflag/flag.go
// and always consumes at least one argument (even on error). // // Unlike (*flag.FlagSet).Parse, ParseOne does not log its own errors. func ParseOne(fs *flag.FlagSet, args []string) (f *flag.Flag, remainingArgs []string, err error) { // This function is loosely derived from (*flag.FlagSet).parseOne. raw, args := args[0], args[1:] arg := raw if strings.HasPrefix(arg, "--") { if arg == "--" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 02:38:04 UTC 2022 - 3.6K 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) -
pkg/controlplane/apiserver/options/options.go
// Add the generic flags. s.GenericServerRunOptions.AddUniversalFlags(fss.FlagSet("generic")) s.Etcd.AddFlags(fss.FlagSet("etcd")) s.SecureServing.AddFlags(fss.FlagSet("secure serving")) s.Audit.AddFlags(fss.FlagSet("auditing")) s.Features.AddFlags(fss.FlagSet("features")) s.Authentication.AddFlags(fss.FlagSet("authentication")) s.Authorization.AddFlags(fss.FlagSet("authorization"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/node.go
if err := validation.ValidateMixedArguments(cmd.Flags()); err != nil { return err } return nodeRunner.Run(args) }, Args: cobra.NoArgs, } // adds flags to the node command // flags could be eventually inherited by the sub-commands automatically generated for phases addUpgradeNodeFlags(cmd.Flags(), nodeOptions) options.AddConfigFlag(cmd.Flags(), &nodeOptions.cfgPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/workflow/runner.go
}, } // makes the new command inherits local flags from the parent command // Nb. global flags will be inherited automatically inheritsFlags(cmd.Flags(), phaseCmd.Flags(), p.InheritFlags) // makes the new command inherits additional flags for phases if e.cmdAdditionalFlags != nil { inheritsFlags(e.cmdAdditionalFlags, phaseCmd.Flags(), p.InheritFlags) } // If defined, added phase local flags
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 21 05:35:15 UTC 2022 - 16K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(NotEqual (FlagLT)) => (MOVDconst [1]) (NotEqual (FlagGT)) => (MOVDconst [1]) (LessThan (FlagEQ)) => (MOVDconst [0]) (LessThan (FlagLT)) => (MOVDconst [1]) (LessThan (FlagGT)) => (MOVDconst [0]) (LessEqual (FlagEQ)) => (MOVDconst [1]) (LessEqual (FlagLT)) => (MOVDconst [1]) (LessEqual (FlagGT)) => (MOVDconst [0]) (GreaterThan (FlagEQ)) => (MOVDconst [0]) (GreaterThan (FlagLT)) => (MOVDconst [0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
istioctl/pkg/cli/option.go
defaultNamespace string } func AddRootFlags(flags *pflag.FlagSet) *RootFlags { r := &RootFlags{ kubeconfig: ptr.Of[string](""), configContext: ptr.Of[string](""), namespace: ptr.Of[string](""), istioNamespace: ptr.Of[string](""), } flags.StringVarP(r.kubeconfig, FlagKubeConfig, "c", "", "Kubernetes configuration file") flags.StringVar(r.configContext, FlagContext, "",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 18:01:27 UTC 2024 - 3.1K 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/kube-controller-manager/app/options/jobcontroller.go
// JobControllerOptions holds the JobController options. type JobControllerOptions struct { *jobconfig.JobControllerConfiguration } // AddFlags adds flags related to JobController for controller manager to the specified FlagSet. func (o *JobControllerOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 12:19:39 UTC 2023 - 1.8K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/validatingadmissionpolicycontroller.go
*validatingadmissionpolicystatusconfig.ValidatingAdmissionPolicyStatusControllerConfiguration } // AddFlags adds flags related to ValidatingAdmissionPolicyStatusController for controller manager to the specified FlagSet. func (o *ValidatingAdmissionPolicyStatusControllerOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 13 20:41:50 UTC 2023 - 2.2K bytes - Viewed (0)