Documentation
¶
Index ¶
- Variables
- func AutoStartedServiceName() string
- func EnableDisableService(ctx context.Context, enable bool, instName string) error
- func GetPlistPath(instName string) string
- func RequestStart(ctx context.Context, inst *limatype.Instance) error
- func RequestStop(ctx context.Context, inst *limatype.Instance) (bool, error)
- func ServiceNameFrom(instName string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Template string
Functions ¶
func AutoStartedServiceName ¶
func AutoStartedServiceName() string
AutoStartedServiceName returns the launchd service name if the instance is started by launchd.
func EnableDisableService ¶
EnableDisableService enables or disables the launchd service for the given instance name.
func GetPlistPath ¶
GetPlistPath returns the path to the launchd plist file for the given instance name.
func ServiceNameFrom ¶
ServiceNameFrom returns the launchd service name for the given instance name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.