supervisor

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init added in v1.0.0

func Init()

Init launches new sidecar process with same args and env vars as current process and runs zombie process cleanup for any inherited orphans

Types

type AppSupervisor added in v0.4.1

type AppSupervisor struct {
	// contains filtered or unexported fields
}

AppSupervisor manages process in sidecar

func NewAppSupervisor added in v0.4.1

func NewAppSupervisor(conf *config.Config, registration register.Lifecycle) *AppSupervisor

NewAppSupervisor builds new AppSupervisor using Commands in Config object

func (*AppSupervisor) DoAppSupervision added in v0.4.1

func (a *AppSupervisor) DoAppSupervision()

DoAppSupervision starts subprocesses and manages their lifecycle - exiting if necessary

Jump to

Keyboard shortcuts

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