- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidateControlPlaneFlags (0.45 sec)
-
istioctl/pkg/clioptions/central.go
cmd.PersistentFlags().BoolVar(&o.Plaintext, "plaintext", viper.GetBool("PLAINTEXT"), "Use plain-text HTTP/2 when connecting to server (no TLS).") } // ValidateControlPlaneFlags checks arguments for valid values and combinations func (o *CentralControlPlaneOptions) ValidateControlPlaneFlags() error { if o.Xds != "" && o.XdsPodLabel != "" { return fmt.Errorf("either --xds-address or --xds-label, not both") } if o.Plaintext && o.CertDir != "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jun 06 03:39:27 UTC 2022 - 3.2K bytes - Viewed (0) -
istioctl/pkg/version/version.go
centralOpts.AttachControlPlaneFlags(versionCmd) versionCmd.Args = func(c *cobra.Command, args []string) error { if err := cobra.NoArgs(c, args); err != nil { return err } if err := centralOpts.ValidateControlPlaneFlags(); err != nil { return err } return nil } versionCmd.Example = ` # Retrieve version information directly from the control plane, using token security
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0)