Documentation ¶
Index ¶
- func ListUserLogin(localAppData string) ([]string, error)
- func UninstallService(options *UninstallServiceOptions) error
- func UninstallUserLogin(options *UninstallUserLoginOptions) error
- func UninstallUserService(options *UninstallUserServiceOptions) error
- type Program
- type UninstallServiceOptions
- type UninstallUserLoginOptions
- type UninstallUserServiceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListUserLogin ¶ added in v1.3.0
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
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