Documentation ¶
Overview ¶
Package recommendedversion is used to check for the currently recommended versions of the Tanzu CLI and inform the user if they are using an outdated version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRecommendedCLIVersion ¶
CheckRecommendedCLIVersion checks the recommended versions of the Tanzu CLI and prints recommendations to the user if they are using an outdated version. Once recommendations are printed to the user, the next check is only done after 24 hours.
Types ¶
type RecommendedVersion ¶
type RecommendedVersion struct {
Version string `yaml:"version" json:"version"`
}
RecommendedVersion is the data structure of a single recommended version. We use a struct so that we can add new fields in the future. An array of this struct is the format that must be stored in the central configuration and read back.
Click to show internal directories.
Click to hide internal directories.