Documentation
¶
Overview ¶
Package supervisor provides facilities for working with system process supervisors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Supervisor ¶
type Supervisor struct {
}
Supervisor starts and stops external processes (typically Agents) using system process supervisor (systemd or supervisord). It does not tracks them itself.
func New ¶
func New(l *logrus.Entry) *Supervisor
func (*Supervisor) Start ¶
func (s *Supervisor) Start(ctx context.Context, config *servicelib.Config) error
Source Files
¶
- option.go
- program.go
- supervisor.go
Click to show internal directories.
Click to hide internal directories.