install

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: May 23, 2016 License: BSD-3-Clause, BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AutoInstall

func AutoInstall(g *libkb.GlobalContext, _ string, _ bool) (bool, error)

func CheckIfValidLocation

func CheckIfValidLocation() error

func IsInUse added in v1.0.16

func IsInUse(mountDir string, log logger.Logger) bool

IsInUse returns true if the mount is in use. This may be used by the updater to determine if it's safe to apply an update and restart.

func KBFSBundleVersion

func KBFSBundleVersion(context Context, binPath string) (string, error)

func ResolveInstallStatus

func ResolveInstallStatus(version string, bundleVersion string, lastExitStatus string) (installStatus keybase1.InstallStatus, installAction keybase1.InstallAction, status keybase1.Status)

func RunAfterStartup

func RunAfterStartup(g *libkb.GlobalContext, isService bool) error

Types

type ComponentName

type ComponentName string
const (
	ComponentNameCLI     ComponentName = "cli"
	ComponentNameService ComponentName = "service"
	ComponentNameKBFS    ComponentName = "kbfs"
	ComponentNameUpdater ComponentName = "updater"
	ComponentNameUnknown ComponentName = "unknown"
)

func ComponentNameFromString

func ComponentNameFromString(s string) ComponentName

func (ComponentName) String

func (c ComponentName) String() string

type Context

type Context interface {
	GetCacheDir() string
	GetRuntimeDir() string
	GetRunMode() libkb.RunMode
}

Jump to

Keyboard shortcuts

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