Pydantic models for supervisor
This library provides type-validated Pydantic models of all configuration options for supervisor.
It provides:
SupervisorConfiguration
: top-level wrapper around all supervisor configuration options, with a utility method to generate asupervisord.conf
SupervisorConvenienceConfiguration
: wrapper aroundSupervisorConfiguration
to make a few things easier to configure, for integration with airflow-supervisor and other external toolsSupervisordConfiguration
: wrapper aroundsupervisord
SupervisorctlConfiguration
: wrapper aroundsupervisorctl
ProgramConfiguration
: wrapper aroundprogram
EventListenerConfiguration
: wrapper aroundeventlistener
FcgiProgramConfiguration
: wrapper aroundfcgi-program
GroupConfiguration
: wrapper aroundgroup
IncludeConfiguration
: wrapper aroundinclude
InetHttpServerConfiguration
: wrapper aroundinit-http-server
RpcInterfaceConfiguration
: wrapper aroundrpcinterface
UnixHttpServerConfiguration
: wrapper aroundunix-http-server
Additionally, this library provides a small convenience CLI (_supervisor_convenience
) for remotely managing supervisor. It is a simple wrapper around the supervisord
and supervisorctl
CLIs in supervisor.
check-programs
: Check if programs are in a good state.configure-supervisor
: Write a SupervisorConvenienceConfiguration JSON as a supervisor config fileforce-kill
: Kill the supervisor instance with os.killrestart-programs
: Restart all programs in the supervisor instancestart-programs
: Start all programs in the supervisor instancestart-supervisor
: Start a supervisor instance using supervisord in backgroundstop-programs
: Stop all programs in the supervisor instancestop-supervisor
: Stop the supervisor instanceunconfigure-supervisor
: Remove the supervisor config file and working directory
Note
This library was generated using copier from the Base Python Project Template repository.