File: //opt/cloudlinux/venv/lib/python3.11/site-packages/xray/manager/__pycache__/custom.cpython-311.pyc
�
C&�i � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl
mZ ddlm
Z
d d
lmZmZ d dlmZ d dlmZmZ G d
� de
� � ZdS )zZ
This module contains classes implementing X-Ray Manager behaviour
for custom integration
� )�ChainMap)�Optional)� PublicApi)�gettext)�
phpinfo_utils� )�BaseManager� )�XRayManagerError�XRayMissingDomain)�
DomainInfo)�user_mode_verification�with_fpm_reload_restrictedc �� � � e Zd ZdZddddddddddddddd�Z� fd�Zdefd�Zed� � � Z de
fd�Zee
d edefd
�� � � � Zdedefd�Zd
edee fd�Zdedefd�Zdedef� fd�Z� xZS )�
CustomManagerz0
Manager supporting integration scripts
N)�54�55�56�70�71�72�73�74�80�81�82�83�84�85c �� �� t � � j |i |�� t � � | _ | j r| � � � | _ d S t t d� � � � �)Nz.X-Ray is not supported by control panel vendor) �super�__init__r �api�is_xray_integrated�get_all_domains�all_domainsr �_)�self�args�kwargs� __class__s ��J/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/manager/custom.pyr"