Documentation ¶
Index ¶
- Variables
- func AutoInstall(g *libkb.GlobalContext, binPath string, force bool) (newProc bool, err error)
- func DefaultUpdaterConfig(g *libkb.GlobalContext) *keybase1.UpdateConfig
- type Updater
- func (u *Updater) ApplyUpdate(update *keybase1.Update) (err error)
- func (u *Updater) CheckForUpdate() (update *keybase1.Update, err error)
- func (u Updater) Config() keybase1.UpdateConfig
- func (u *Updater) StartUpdateCheck()
- func (u *Updater) StopUpdateCheck()
- func (u *Updater) Update() (update *keybase1.Update, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateAutomatically = true
View Source
var UpdateCheckDuration = (24 * time.Hour)
Functions ¶
func AutoInstall ¶
func DefaultUpdaterConfig ¶
func DefaultUpdaterConfig(g *libkb.GlobalContext) *keybase1.UpdateConfig
DefaultUpdaterConfig returns update config for this environment
Types ¶
type Updater ¶
type Updater struct { libkb.Contextified // contains filtered or unexported fields }
func NewUpdater ¶
func NewUpdater(g *libkb.GlobalContext, config keybase1.UpdateConfig, source sources.UpdateSource) Updater
func UpdaterStartTicker ¶
func UpdaterStartTicker(g *libkb.GlobalContext) *Updater
func (*Updater) CheckForUpdate ¶
func (Updater) Config ¶
func (u Updater) Config() keybase1.UpdateConfig
func (*Updater) StartUpdateCheck ¶
func (u *Updater) StartUpdateCheck()
func (*Updater) StopUpdateCheck ¶
func (u *Updater) StopUpdateCheck()
Click to show internal directories.
Click to hide internal directories.