Files
CyberPanel/dockerManager/signals.py
2019-06-08 21:41:43 +00:00

11 lines
410 B
Python
Executable File

# The world is a prison for the believer.
## https://www.youtube.com/watch?v=DWfNYztUM1U
from django.dispatch import Signal
## This event is fired before CyberPanel core start installation of Docker
preDockerInstallation = Signal(providing_args=["request"])
## This event is fired after CyberPanel core finished intallation of Docker.
postDockerInstallation = Signal(providing_args=["request", "response"])