Documentation
¶
Overview ¶
Package launchagent writes the macOS login-service definition for bsbctl.
Index ¶
- Constants
- Variables
- type Config
- type Manager
- func (m *Manager) Install(ctx context.Context, path string, config Config) (Result, error)
- func (m *Manager) Restart(ctx context.Context, path string) (Result, error)
- func (m *Manager) Status(ctx context.Context, path string) (Result, error)
- func (m *Manager) Uninstall(ctx context.Context, path string) (Result, error)
- type Result
- type Runner
- type State
Constants ¶
View Source
const Label = "dev.bsbctl"
Variables ¶
View Source
var ErrNotLoaded = errors.New("LaunchAgent is not loaded")
View Source
var ErrPartial = errors.New("service operation partially completed")
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
Click to show internal directories.
Click to hide internal directories.