Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
// business
model.Supervisor
// health.go: Alive fails only when in-process recovery is spent (a
// service dead with restarts exhausted) - the signal to let the platform
// replace the process. Ready is the roll-up: nil iff every registered
// service is ready. Both judge from cached stats; probing stays the
// monitor's job.
common.Liveness
common.Readiness
// lifecycle
common.Initializable
common.Daemon
common.Debuggable
}
type Option ¶
type Option func(*manager)
func WithLogger ¶
func WithMonitorInterval ¶
func WithRestartDelay ¶
func WithRestartPolicy ¶
func WithShutdownTimeout ¶
Click to show internal directories.
Click to hide internal directories.