Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
func (*AppSupervisor) Shutdown ¶ added in v0.4.1
func (a *AppSupervisor) Shutdown(sig int)
Shutdown deregister the app with registry and exit sidecar
Click to show internal directories.
Click to hide internal directories.