| Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/xray/manager/__pycache__/custom.cpython-311.pyc |
�
��me� � �~ � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
dd lmZ dd
l
mZmZ G d� de� � Zd
S )zZ
This module contains classes implementing X-Ray Manager behaviour
for custom integration
� )�ChainMap)�Optional)� PublicApi� )�BaseManager� )�XRayManagerError)�
DomainInfo)�user_mode_verification�with_fpm_reload_restrictedc
�� � � e Zd ZdZddddddddddddd�Zdef� fd�Zdefd�Ze d� � � Z
defd �Ze
ed
edefd�� � � � Zdedefd
�Zdedee fd�Zdedefd�Zdedef� fd�Z� xZS )�
CustomManagerz0
Manager supporting integration scripts
N)�54�55�56�70�71�72�73�74�80�81�82�83� system_idc �� �� t � � � |� � t � � | _ | j r| � � � | _ d S t d� � �)Nz.X-Ray is not supported by control panel vendor)�super�__init__r �api�is_xray_integrated�get_all_domains�all_domainsr )�selfr � __class__s ��J/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/manager/custom.pyr zCustomManager.__init__. sd �� �
������#�#�#��;�;����"� B�#�3�3�5�5�D����"�@�B� B�
B� �returnc �6 � t | j | j � � S )za
Get supported PHP versions
:return: dict with custom supported versions
)r �VERSIONS�VERSIONS_CUSTOM�r# s r% �supported_versionsz CustomManager.supported_versions7 s � �
��
��,�.� .� .r&