supervisor

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2018 License: AGPL-3.0 Imports: 6 Imported by: 0

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

func (*Supervisor) Status

func (s *Supervisor) Status(ctx context.Context, name string) error

func (*Supervisor) Stop

func (s *Supervisor) Stop(ctx context.Context, name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL