Documentation ¶
Index ¶
- Variables
- func DefaultUpdaterOptions(g *libkb.GlobalContext) *keybase1.UpdateOptions
- type UpdateChecker
- type Updater
- func (u *Updater) ApplyUpdate(ui libkb.UpdateUI, update keybase1.Update, force bool) (err error)
- func (u *Updater) CheckForUpdate(skipAssetDownload bool, force bool, requested bool) (update *keybase1.Update, err error)
- func (u Updater) Options() keybase1.UpdateOptions
- func (u *Updater) PromptForUpdateAction(ui libkb.UpdateUI, update keybase1.Update) (err error)
- func (u *Updater) Restart(ui libkb.UpdateUI) (didQuit bool, err error)
- func (u *Updater) Update(ui libkb.UpdateUI, force bool, requested bool) (update *keybase1.Update, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateCheckDuration = (24 * time.Hour)
Functions ¶
func DefaultUpdaterOptions ¶
func DefaultUpdaterOptions(g *libkb.GlobalContext) *keybase1.UpdateOptions
DefaultUpdaterOptions returns update config for this environment
Types ¶
type UpdateChecker ¶
type UpdateChecker struct {
// contains filtered or unexported fields
}
func NewUpdateChecker ¶
func NewUpdateChecker(updater Updater) UpdateChecker
func (*UpdateChecker) Start ¶
func (u *UpdateChecker) Start()
func (*UpdateChecker) Stop ¶
func (u *UpdateChecker) Stop()
type Updater ¶
type Updater struct { libkb.Contextified // contains filtered or unexported fields }
func NewDefaultUpdater ¶
func NewDefaultUpdater(g *libkb.GlobalContext) *Updater
func NewUpdater ¶
func NewUpdater(g *libkb.GlobalContext, options keybase1.UpdateOptions, source sources.UpdateSource) Updater
func (*Updater) ApplyUpdate ¶
func (*Updater) CheckForUpdate ¶
func (Updater) Options ¶
func (u Updater) Options() keybase1.UpdateOptions
func (*Updater) PromptForUpdateAction ¶
Click to show internal directories.
Click to hide internal directories.