supervisor_pydantic.SupervisorRemoteXMLRPCClient

class supervisor_pydantic.SupervisorRemoteXMLRPCClient(cfg: SupervisorConvenienceConfiguration)[source]

Bases: object

A light wrapper over the supervisor xmlrpc api: http://supervisord.org/api.html

__init__(cfg: SupervisorConvenienceConfiguration)[source]

Methods

__init__(cfg)

getAllProcessInfo()

getProcessInfo(name)

getProcessLogSize(name, channel)

getProgramProcessInfo()

Return configured workloads, excluding event listeners.

getState()

readProcessLog(name)

readProcessLogChunk(name, channel[, offset, ...])

Read new UTF-8 text, advancing a byte cursor without replaying a tail window.

readProcessStderrLog(name[, offset, length])

readProcessStdoutLog(name[, offset, length])

reloadConfig([start_new])

restart()

shutdown()

signalProcess(name, signal)

startAllProcesses()

startProcess(name)

stopAllProcesses()

stopProcess(name)