- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 183 for stringVar (0.93 sec)
-
pkg/ctrlz/options.go
func (o *Options) AttachCobraFlags(cmd *cobra.Command) { cmd.PersistentFlags().Uint16Var(&o.Port, "ctrlz_port", o.Port, "The IP port to use for the ControlZ introspection facility") cmd.PersistentFlags().StringVar(&o.Address, "ctrlz_address", o.Address, "The IP Address to listen on for the ControlZ introspection facility. Use '*' to indicate all addresses.")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 21:42:29 UTC 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/cli/option.go
istioNamespace: ptr.Of[string](""), } flags.StringVarP(r.kubeconfig, FlagKubeConfig, "c", "", "Kubernetes configuration file") flags.StringVar(r.configContext, FlagContext, "", "Kubernetes configuration context") flags.StringVarP(r.namespace, FlagNamespace, "n", v1.NamespaceAll, "Kubernetes namespace") flags.StringVarP(r.istioNamespace, FlagIstioNamespace, "i", viper.GetString(FlagIstioNamespace),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 18:01:27 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
return fmt.Sprintf("%d-%d", i, j), nil } } } return "", errors.New("format.json is corrupted") } func main() { var node, args string flag.StringVar(&node, "local-node-name", "", "the name of the local node") flag.StringVar(&args, "args", "", "arguments passed to MinIO server") flag.Parse() localDisks, err := filterLocalDisks(node, args) if err != nil { log.Fatal(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/wait.go
waitCmd.PersistentFlags().IntVar(&periodMillis, "periodMillis", 500, "number of milliseconds to wait between attempts") waitCmd.PersistentFlags().StringVar(&url, "url", "http://localhost:15021/healthz/ready", "URL to use in requests")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/vendor.go
var vendorO string // if set, overrides the default output directory func init() { cmdVendor.Flag.BoolVar(&cfg.BuildV, "v", false, "") cmdVendor.Flag.BoolVar(&vendorE, "e", false, "") cmdVendor.Flag.StringVar(&vendorO, "o", "", "") base.AddChdirFlag(&cmdVendor.Flag) base.AddModCommonFlags(&cmdVendor.Flag) } func runVendor(ctx context.Context, cmd *base.Command, args []string) { modload.InitWorkfile()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 24 18:09:22 UTC 2023 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/feature.go
"Enable profiling via web interface host:port/debug/pprof/") fs.BoolVar(&o.EnableContentionProfiling, "contention-profiling", o.EnableContentionProfiling, "Enable block profiling, if profiling is enabled") fs.StringVar(&o.DebugSocketPath, "debug-socket-path", o.DebugSocketPath, "Use an unprotected (no authn/authz) unix-domain socket for profiling with the given path")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 18:51:27 UTC 2024 - 3K 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 != "" { if err := fs.Set(tt.flag, fmt.Sprintf("%v", tt.flagValue)); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 4K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
flag.DurationVar(&goTime, "time", 0, "goroutine waiting for exactly the specified time") flag.DurationVar(&margin, "margin", 0, "margin time") flag.StringVar(&searchText, "search", "", "Regex to search for a text in one goroutine stacktrace") } func parseGoroutineType2(path string) (map[time.Duration][]string, error) { f, err := os.Open(path) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go
} // AddFlags receives a *cobra.Command reference and binds // flags related to template printing to it func (f *JSONPathPrintFlags) AddFlags(c *cobra.Command) { if f.TemplateArgument != nil { c.Flags().StringVar(f.TemplateArgument, "template", *f.TemplateArgument, "Template string or path to template file to use when --output=jsonpath, --output=jsonpath-file.") c.MarkFlagFilename("template") } if f.AllowMissingKeys != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go
} // AddFlags receives a *cobra.Command reference and binds // flags related to template printing to it func (f *GoTemplatePrintFlags) AddFlags(c *cobra.Command) { if f.TemplateArgument != nil { c.Flags().StringVar(f.TemplateArgument, "template", *f.TemplateArgument, "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 4.4K bytes - Viewed (0)