관리-도구
편집 파일: arg_parsers.cpython-311.opt-1.pyc
� �EBgL? � �f � d dl mZmZ d dlmZmZ d dlmZmZmZm Z m Z d dlmZ d dl mZ ddlmZ dZh d �Zh d �ZdhZdd hZeez ez ez Zedhz Z eej � � reh d�z Znedhz Zeh d�z Zg d�Zd� Zd� Z ei de�de�de�de�d eed� d�� � �de�de�d e d e ed!� � � e� � d"�� � �d#e�d$ e d e ee� � d%� � � e ed&� � � d'� � � d(�� � �d) e d e ee� � d*� � � d+�� � �d, e d ee d-� � � d.�� � �d/e�d0 e d ee d1� � � d.�� � �d2 e d e � � �d3 e d e � � �d4 e d ed"�� � � e d d5� e� d6��� � e d d7� e� d8��� � e d d9� e� d:��� � e e d e � � e d e � � e d e � � e d e � � e d e � � e d e � � e d e � � e d e ee� � d;� � � d<�� � e d e ee� � d=� � � d>�� � e d e � � ed?��� � Z!d@Z"dA�# dB� e"D � � � � �$ � � Z% G dC� dD� � Z& G dE� dFe&� � Z'd S )G� )�Tuple�Union)� DocoptExit�docopt)�Schema�And�Use�Or�SchemaError)�Feature)�is_panel_feature_supported� )� VALUES_STRzcloudlinux-limits> �io�iops�pmem�vmem�nproc�speed� maxEntryProcs> r r r r r r �inodesz mysql-cpuzmysql-io�all> �cagefs� mysql-gov�mysql-restrictr > �mysql-unrestrict-allr r )�--mysql-restrict�--mysql-unrestrict-all�--mysql-gov� --mysql-io�--mysql-cpu�--cagefs�--inodesc �R � t t | � � t z � � dk S )z, Validate limits keys for --default r )�len�set�AVAILABLE_DEFAULTS��keyss �py/cllimits/lib/arg_parsers.py�_default_keys_validater+ # s# � � �s�4�y�y�-�-�.�.�!�3�3� c � � t t | � d� � � � t t � � z � � dk S )z Validate limits keys �,r )r% r&