Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidOmahaResponse error indicates that the omaha response received // from CR was invalid. ErrInvalidOmahaResponse = errors.New("invalid omaha response") // ErrNoUpdate error indicates that there wasn't any update available for // instance requesting it in the context of the appID/groupID provided. ErrNoUpdate = errors.New("no update available") )
Functions ¶
func EventDownloadFinished ¶
EventDownloadFinished posts an event to CR to indicate that the download of the update has finished.
func EventDownloadStarted ¶
EventDownloadStarted posts an event to CR to indicate that the download of the update has started.
func EventUpdateFailed ¶
EventUpdateFailed posts an event to CR to indicate that the update process complete but it didn't succeed.
func EventUpdateSucceeded ¶
EventUpdateSucceeded posts an event to CR to indicate that the update was installed successfully and the new version is working fine.
Types ¶
Click to show internal directories.
Click to hide internal directories.