install

package
v1.0.6-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2015 License: BSD-3-Clause, BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateAutomatically = true
View Source
var UpdateCheckDuration = (24 * time.Hour)

Functions

func AutoInstall

func AutoInstall(g *libkb.GlobalContext, binPath string, force bool) (newProc bool, err error)

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) ApplyUpdate

func (u *Updater) ApplyUpdate(update *keybase1.Update) (err error)

func (*Updater) CheckForUpdate

func (u *Updater) CheckForUpdate() (update *keybase1.Update, err error)

func (Updater) Config

func (u Updater) Config() keybase1.UpdateConfig

func (*Updater) StartUpdateCheck

func (u *Updater) StartUpdateCheck()

func (*Updater) StopUpdateCheck

func (u *Updater) StopUpdateCheck()

func (*Updater) Update

func (u *Updater) Update() (update *keybase1.Update, err error)

Update checks, downloads and performs an update.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL