Documentation
¶
Index ¶
- Variables
- type Config
- type Manager
- func (*Manager) Name() string
- func (*Manager) Platform() service.Platform
- func (*Manager) Register(context.Context, service.Spec) (service.Registration, error)
- func (*Manager) Start(context.Context, service.Spec) error
- func (*Manager) Status(context.Context, service.Spec) (service.Status, error)
- func (*Manager) Stop(context.Context, service.Spec) error
- func (*Manager) Unregister(context.Context, service.Spec) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = errors.New("Task Scheduler is only available on Windows")
ErrUnsupported reports a host that has no Windows Task Scheduler.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Directory string
Run service.CommandRunner
}
Click to show internal directories.
Click to hide internal directories.