- Sort Score
- Result 10 results
- Languages All
Results 71 - 75 of 75 for AddFlags (0.16 sec)
-
pkg/test/echo/cmd/client/main.go
rootCmd.PersistentFlags().BoolVar(&hboneInsecureSkipVerify, "hbone-insecure-skip-verify", hboneInsecureSkipVerify, "skip TLS verification of HBONE request") loggingOptions.AttachCobraFlags(rootCmd) cmd.AddFlags(rootCmd) } // Adds http scheme to and url if not set. This matches curl logic func defaultScheme(u string) string { p, err := url.Parse(u) if err != nil { return u } if p.Scheme == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 8.9K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/flags.go
included, excluded []string commandTimeout, since time.Duration gConfig = &config2.BugReportConfig{} ) func addFlags(cmd *cobra.Command, args *config2.BugReportConfig) { // k8s client config cmd.PersistentFlags().StringVarP(&args.KubeConfigPath, "kubeconfig", "c", "", "Path to kube config.")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Nov 04 12:07:50 UTC 2023 - 7.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authorization.go
allErrors = append(allErrors, fmt.Errorf("number of webhook retry attempts must be greater than 1, but is: %d", s.WebhookRetryBackoff.Steps)) } return allErrors } func (s *DelegatingAuthorizationOptions) AddFlags(fs *pflag.FlagSet) { if s == nil { return } var optionalKubeConfigSentence string if s.RemoteKubeConfigFileOptional {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go
return result, fmt.Errorf("failed to create temp dir: %v", err) } fs := pflag.NewFlagSet("test", pflag.PanicOnError) s := options.NewCustomResourceDefinitionsServerOptions(os.Stdout, os.Stderr) s.AddFlags(fs) s.RecommendedOptions.SecureServing.Listener, s.RecommendedOptions.SecureServing.BindPort, err = createLocalhostListenerOnFreePort() if err != nil { return result, fmt.Errorf("failed to create listener: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 9K bytes - Viewed (1) -
pkg/kubectl/cmd/convert/convert.go
cmd.Flags().StringVar(&o.OutputVersion, "output-version", o.OutputVersion, i18n.T("Output the formatted object with the given group version (for ex: 'extensions/v1beta1').")) o.PrintFlags.AddFlags(cmd) cmdutil.AddValidateFlags(cmd) cmdutil.AddFilenameOptionFlags(cmd, &o.FilenameOptions, "to need to get converted.") return cmd }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 03:21:17 UTC 2023 - 9.6K bytes - Viewed (0)