api.rst 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. XML-RPC API Documentation
  2. =========================
  3. Status and Control
  4. ------------------
  5. .. automodule:: supervisor.rpcinterface
  6. .. autoclass:: SupervisorNamespaceRPCInterface
  7. .. automethod:: getAPIVersion
  8. .. automethod:: getSupervisorVersion
  9. .. automethod:: getIdentification
  10. .. automethod:: getState
  11. .. automethod:: getPID
  12. .. automethod:: readLog
  13. .. automethod:: clearLog
  14. .. automethod:: shutdown
  15. .. automethod:: restart
  16. Process Control
  17. ---------------
  18. .. automodule:: supervisor.rpcinterface
  19. .. autoclass:: SupervisorNamespaceRPCInterface
  20. .. automethod:: getProcessInfo
  21. .. automethod:: getAllProcessInfo
  22. .. automethod:: startProcess
  23. .. automethod:: startAllProcesses
  24. .. automethod:: startProcessGroup
  25. .. automethod:: stopProcessGroup
  26. .. automethod:: sendProcessStdin
  27. .. automethod:: sendRemoteCommEvent
  28. .. automethod:: addProcessGroup
  29. .. automethod:: removeProcessGroup
  30. Process Logging
  31. ---------------
  32. .. automodule:: supervisor.rpcinterface
  33. .. autoclass:: SupervisorNamespaceRPCInterface
  34. .. automethod:: readProcessStdoutLog
  35. .. automethod:: readProcessStderrLog
  36. .. automethod:: tailProcessStdoutLog
  37. .. automethod:: tailProcessStderrLog
  38. .. automethod:: clearProcessLogs
  39. .. automethod:: clearAllProcessLogs
  40. System Methods
  41. --------------
  42. .. automodule:: supervisor.xmlrpc
  43. .. autoclass:: SystemNamespaceRPCInterface
  44. .. automethod:: listMethods
  45. .. automethod:: methodHelp
  46. .. automethod:: methodSignature
  47. .. automethod:: multicall