- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 189 for stringVar (0.16 sec)
-
pkg/test/framework/logging.go
func init() { logOptionsFromCommandline.AttachFlags( func(p *[]string, name string, value []string, usage string) { // TODO(ozben): Implement string array method for capturing the complete set of log settings. }, flag.StringVar, flag.IntVar, flag.BoolVar) } func configureLogging() error { o := *logOptionsFromCommandline // This is spammy at info level, even for tests, so set to warn level
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 1.2K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/server/options/coreapi.go
CoreAPIKubeconfigPath string } func NewCoreAPIOptions() *CoreAPIOptions { return &CoreAPIOptions{} } func (o *CoreAPIOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return } fs.StringVar(&o.CoreAPIKubeconfigPath, "kubeconfig", o.CoreAPIKubeconfigPath, "kubeconfig file pointing at the 'core' kubernetes server.") } func (o *CoreAPIOptions) ApplyTo(config *server.RecommendedConfig) error { if o == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 16:55:02 UTC 2022 - 2.7K 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)