Documentation ¶
Index ¶
Constants ¶
View Source
const ( OrcNotStarted = 0 OrcInProgress = 1 OrcSucceeded = 2 OrcSucceededWithErrors = 3 OrcFailed = 4 OrcAborted = 5 )
Variables ¶
View Source
var UpdateNotFoundError = errors.New("Update not found")
Functions ¶
func InstallImportantUpdates ¶
func InstallImportantUpdates() (updatesToInstall []Update, result InstallationResult, err error)
Types ¶
type IUpdateIdentity ¶
type InstallationResult ¶
type InstallationResult struct { RebootRequired bool ResultCode int UpdateResults []UpdateResult // contains filtered or unexported fields }
type Update ¶
type Update struct { Identity IUpdateIdentity Title string IsDownloaded bool IsInstalled bool // contains filtered or unexported fields }
type UpdateResult ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.