Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type V1VersionInfo ¶
type V1VersionInfo struct {
Version string `json:"Version"`
Reboot string `json:"Reboot"`
Estimate struct {
Hours string `json:"hours"`
Minutes string `json:"minutes"`
Seconds string `json:"seconds"`
} `json:"Estimate"`
}
V1VersionInfo would be decoded from the V1VersionInfo JSON array.
func GetCompatibileVersionInfo ¶
func GetCompatibileVersionInfo(productVersion, versionInfoString string) (V1VersionInfo, error)
GetCompatibileVersionInfo checks whether the product version is in the
compatibility list, and returns version info for that product version.
Click to show internal directories.
Click to hide internal directories.