Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Engine ¶
type Engine interface {
io.Closer
Name() string
Prepare([]openedge.ServiceInfo)
Run(openedge.ServiceInfo, map[string]openedge.VolumeInfo) (Service, error)
}
Engine interface
type Instance ¶
type Instance interface {
ID() string
Name() string
Supervisee
io.Closer
}
Instance interfaces of instance
type Service ¶
type Service interface {
Name() string
Stats() openedge.ServiceStatus
Start() error
Stop()
StartInstance(instanceName string, dynamicConfig map[string]string) error
StopInstance(instanceName string) error
}
Service interfaces of service
type Supervisee ¶
type Supervisee interface {
Log() logger.Logger
Policy() openedge.RestartPolicyInfo
Wait(w chan<- error)
Dying() <-chan struct{}
Restart() error
Stop()
}
Supervisee supervisee supervised by supervisor
Click to show internal directories.
Click to hide internal directories.