Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsHasNewVersion ¶
IsHasNewVersion asserts hasNewVersionError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsVersionNotFound ¶
IsVersionNotFound asserts versionNotFoundError.
Types ¶
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func (*Updater) GetLatest ¶
GetLatest returns the latest version available in the source repository, and if we can upgrade to that version or not (it can be equal to the current version).
func (*Updater) InstallLatest ¶
InstallLatest installs the newest version that can be installed.
Click to show internal directories.
Click to hide internal directories.