libnativeinstaller

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: BSD-3-Clause, BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppBundleForPath

func AppBundleForPath() (string, error)

AppBundleForPath returns path to app bundle

func InstallAppBundle

func InstallAppBundle(context Context, sourcePath string, log Log) error

InstallAppBundle calls the installer with --install-app-bundle.

func InstallCommandLinePrivileged

func InstallCommandLinePrivileged(runMode libkb.RunMode, log Log) error

InstallCommandLinePrivileged calls the installer with --install-cli.

func InstallFuse

func InstallFuse(runMode libkb.RunMode, log Log) error

InstallFuse calls the installer with --install-fuse.

func InstallHelper

func InstallHelper(runMode libkb.RunMode, log Log) error

InstallHelper calls the installer with --install-helper.

func InstallMountDir

func InstallMountDir(runMode libkb.RunMode, log Log) error

InstallMountDir calls the installer with --install-mountdir.

func InstallRedirector added in v1.0.46

func InstallRedirector(runMode libkb.RunMode, log Log) error

InstallRedirector calls the installer with --install-redirector.

func UninstallApp

func UninstallApp(runMode libkb.RunMode, log Log) error

UninstallApp calls the installer with --install-app.

func UninstallCommandLinePrivileged

func UninstallCommandLinePrivileged(runMode libkb.RunMode, log Log) error

UninstallCommandLinePrivileged calls the installer with --uninstall-cli.

func UninstallFuse

func UninstallFuse(runMode libkb.RunMode, log Log) error

UninstallFuse calls the installer with --uninstall-fuse.

func UninstallHelper

func UninstallHelper(runMode libkb.RunMode, log Log) error

UninstallHelper calls the installer with --uninstall-helper.

func UninstallMountDir

func UninstallMountDir(runMode libkb.RunMode, log Log) error

UninstallMountDir calls the installer with --uninstall-mountdir.

func UninstallRedirector added in v1.0.46

func UninstallRedirector(runMode libkb.RunMode, log Log) error

UninstallRedirector calls the installer with --uninstall-redirector.

Types

type Context

type Context interface {
	GetConfigDir() string
	GetCacheDir() string
	GetRuntimeDir() string
	GetMountDir() (string, error)
	GetLogDir() string
	GetRunMode() libkb.RunMode
	GetServiceInfoPath() string
	GetKBFSInfoPath() string
}

Context is the environment for install package.

type Log

type Log interface {
	Debug(s string, args ...interface{})
	Info(s string, args ...interface{})
	Warning(s string, args ...interface{})
	Errorf(s string, args ...interface{})
}

Log is the logging interface for this package

Jump to

Keyboard shortcuts

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