Documentation
¶
Overview ¶
Package launchd provides macOS launchd integration for quad-ops. This package is only available on darwin systems.
Index ¶
- type Lifecycle
- func (l *Lifecycle) Name() string
- func (l *Lifecycle) Reload(_ context.Context) error
- func (l *Lifecycle) Restart(_ context.Context, _ string) error
- func (l *Lifecycle) RestartMany(_ context.Context, _ []string) map[string]error
- func (l *Lifecycle) Start(_ context.Context, _ string) error
- func (l *Lifecycle) StartMany(_ context.Context, _ []string) map[string]error
- func (l *Lifecycle) Status(_ context.Context, _ string) (*platform.ServiceStatus, error)
- func (l *Lifecycle) Stop(_ context.Context, _ string) error
- func (l *Lifecycle) StopMany(_ context.Context, _ []string) map[string]error
- type Options
- type Renderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lifecycle ¶
type Lifecycle struct{}
Lifecycle is a stub for non-Darwin platforms.
func NewLifecycle ¶
NewLifecycle is a stub for non-Darwin platforms.
func (*Lifecycle) RestartMany ¶
RestartMany is a stub for non-Darwin platforms.
type Options ¶
type Options struct {
LabelPrefix string
}
Options is a stub for non-Darwin platforms.
func OptionsFromSettings ¶
OptionsFromSettings is a stub for non-Darwin platforms.
type Renderer ¶
type Renderer struct{}
Renderer is a stub for non-Darwin platforms.
func NewRenderer ¶
NewRenderer is a stub for non-Darwin platforms.
Click to show internal directories.
Click to hide internal directories.