Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdateChecker ¶
type UpdateInfo ¶
type UpdateInfo struct {
LatestVersion string `json:"latestVersion"`
LatestReleaseAt *time.Time `json:"latestReleaseAt"`
CheckedAt *time.Time `json:"checkedAt"`
CanUpgradeInPlace bool `json:"canUpgradeInPlace"`
ExternalUpgradeCommand string `json:"externalUpgradeCommand"`
}
func UpdateInfoFromVersions ¶
func UpdateInfoFromVersions(currentVersion string, latestVersion *VersionInfo) (*UpdateInfo, error)
type VersionInfo ¶
Click to show internal directories.
Click to hide internal directories.