- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DurationVarP (0.13 sec)
-
pkg/flag/flag.go
switch d := any(val).(type) { case *string: fs.StringVarP(d, name, shorthand, *d, usage) case *bool: fs.BoolVarP(d, name, shorthand, *d, usage) case *time.Duration: fs.DurationVarP(d, name, shorthand, *d, usage) case *uint16: fs.Uint16VarP(d, name, shorthand, *d, usage) } } // BindEnv behaves like Bind, but additionally allows an environment variable to override.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
RunE: func(cmd *cobra.Command, args []string) error { return run(cmd, ctx, args) }, DisableFlagsInUseLine: true, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), } cmd.PersistentFlags().DurationVarP(&metricsDuration, "duration", "d", time.Minute, "Duration of query metrics, default value is 1m.") return cmd } type workloadMetrics struct { workload string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0)