Documentation ¶
Index ¶
- Constants
- Variables
- func Control(logger hclog.Logger, names Names, action ControlAction) error
- func Install(logger hclog.Logger, names Names, runArgs []string) error
- func Run(names Names, opts Opts, serviceFunc func(cancel chan bool) error)
- func UninstallAndDelete(opts UninstallOpts, pinpointRoot string) error
- type ControlAction
- type Names
- type Opts
- type UninstallOpts
Constants ¶
View Source
const ( Uninstall ControlAction = "uninstall" Start = "start" Stop = "stop" Restart = "restart" Status = "status" )
Variables ¶
View Source
var ErrUninstallExit = fmt.Errorf("uninstall exit")
ErrUninstallExit uninstall error
Functions ¶
func Control ¶
func Control(logger hclog.Logger, names Names, action ControlAction) error
func UninstallAndDelete ¶
func UninstallAndDelete(opts UninstallOpts, pinpointRoot string) error
Types ¶
type ControlAction ¶
type ControlAction string
type UninstallOpts ¶
type UninstallOpts struct {
PrintLog func(msg string, args ...interface{})
}
Click to show internal directories.
Click to hide internal directories.