Skip to main content

Module container_supervisor

Module container_supervisor 

Source
Expand description

Container Supervisor - Monitors running containers and enforces panic/crash policies

This module implements the on_panic error policy from the V1 spec (Section 16):

  • Restart (default): Restart container immediately on crash
  • Shutdown: Stop the service and mark as failed
  • Isolate: Remove from load balancer but keep running for debugging

Structs§

ContainerSupervisor
Container supervisor that monitors running containers and enforces error policies
SupervisedContainer
Information about a supervised container
SupervisorConfig
Configuration for the container supervisor

Enums§

SupervisedState
Container state as tracked by the supervisor
SupervisorEvent
Events emitted by the container supervisor

Type Aliases§

IsolateCallback
Type alias for the isolate callback function