- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for example (0.13 sec)
-
istioctl/pkg/version/version.go
return err } return nil } versionCmd.Example = ` # Retrieve version information directly from the control plane, using token security # (This is the usual way to get the control plane version with an out-of-cluster control plane.) istioctl x version --xds-address istio.cloudprovider.example.com:15012 # Retrieve version information via Kubernetes config, using token security
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version.go
v, err := extractKubernetesVersion(versionInfo) if err != nil { return false, err } return MinK8SVersion <= v, nil } // extractKubernetesVersion returns the Kubernetes minor version. For example, `v1.19.1` will return `19` func extractKubernetesVersion(versionInfo *version.Info) (int, error) { ver, err := goversion.NewVersion(versionInfo.String()) if err != nil { return 0, fmt.Errorf("could not parse %v", err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 02:07:51 GMT 2024 - 2.6K bytes - Viewed (0)