manage

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListUserLogin added in v1.3.0

func ListUserLogin(localAppData string) ([]string, error)

ListUserLogin lists all service uuids installed in as user-login

func UninstallService

func UninstallService(options *UninstallServiceOptions) error

UninstallService uninstalls the meshblu-connector indicated by the uuid * Stop/deregister the service * Remove all the directories

func UninstallUserLogin added in v1.2.0

func UninstallUserLogin(options *UninstallUserLoginOptions) error

UninstallUserLogin uninstalls the meshblu-connector indicated by the uuid * Stop/deregister the service * Remove all the directories

func UninstallUserService

func UninstallUserService(options *UninstallUserServiceOptions) error

UninstallUserService uninstalls the meshblu-connector indicated by the uuid * Stop/deregister the service * Remove all the directories

Types

type Program

type Program struct {
}

Program inteface that is dumb and not real

func (*Program) Start

func (prg *Program) Start(srv service.Service) error

Start service but not really

func (*Program) Stop

func (prg *Program) Stop(srv service.Service) error

Stop service but not really

type UninstallServiceOptions

type UninstallServiceOptions struct {
	// UUID is the UUID of the connector to uninstall
	UUID string
}

UninstallServiceOptions are used to call UninstallService

type UninstallUserLoginOptions added in v1.2.0

type UninstallUserLoginOptions struct {
	// UUID is the UUID of the connector to uninstall
	UUID string

	// LocalAppData is the user's ~/AppData/Local directory
	LocalAppData string
}

UninstallUserLoginOptions are used to call UninstallUserLogin

type UninstallUserServiceOptions

type UninstallUserServiceOptions struct {
	// HomeDir is the HomeDir of user
	HomeDir string

	// UUID is the UUID of the connector to uninstall
	UUID string

	// ServiceUsername is the name of the user the service is registered
	// under
	ServiceUsername string

	// ServicePassword is a password of some kind. I think it's only required if you set the
	// user to someone other than the one executing this process, but who knows.
	ServicePassword string
}

UninstallUserServiceOptions are used to call UninstallUserService

Jump to

Keyboard shortcuts

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