Documentation ¶
Index ¶
- Variables
- func AutoInstall(g *libkb.GlobalContext, _ string, _ bool) (bool, error)
- func CheckIfValidLocation() error
- func IsInUse(mountDir string, log logger.Logger) bool
- func KBFSBundleVersion(context Context, binPath string) (string, error)
- func ResolveInstallStatus(version string, bundleVersion string, lastExitStatus string) (installStatus keybase1.InstallStatus, installAction keybase1.InstallAction, ...)
- func RunAfterStartup(g *libkb.GlobalContext, isService bool) error
- type ComponentName
- type Context
Constants ¶
This section is empty.
Variables ¶
View Source
var ComponentNames = []ComponentName{ComponentNameCLI, ComponentNameService, ComponentNameKBFS, ComponentNameUpdater}
Functions ¶
func AutoInstall ¶
func CheckIfValidLocation ¶
func CheckIfValidLocation() error
func IsInUse ¶ added in v1.0.16
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 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
Click to show internal directories.
Click to hide internal directories.