installer

package
v0.0.0-...-ba1c585 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package installer contains logic responsible for managing the device manager server, including setting it up / tearing it down, and starting / stopping it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallFrom

func InstallFrom(origin string) error

InstallFrom takes a vanadium object name denoting an application service where a device manager application envelope can be obtained. It downloads the latest version of the device manager and installs it.

func SelfInstall

func SelfInstall(ctx *context.T, installDir, suidHelper, restarter, agent, initHelper, origin string, singleUser, sessionMode, init bool, args, env []string, stderr, stdout io.Writer) error

SelfInstall installs the device manager and configures it using the environment and the supplied command-line flags.

func Start

func Start(ctx *context.T, installDir string, stderr, stdout io.Writer) error

Start starts the device manager.

func Stop

func Stop(ctx *context.T, installDir string, stderr, stdout io.Writer) error

Stop stops the device manager.

func Uninstall

func Uninstall(ctx *context.T, installDir, helperPath string, stdout, stderr io.Writer) error

Uninstall undoes SelfInstall, removing the device manager's installation directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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