%PDF- %PDF-
Direktori : /lib/python3/dist-packages/cloudinit/config/__pycache__/ |
Current File : //lib/python3/dist-packages/cloudinit/config/__pycache__/schema.cpython-312.pyc |
� ���f� � �b � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl mZ ddlm Z ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZmZmZmZmZm Z m!Z!m"Z"m#Z# ddl$Z$ddl%m&Z&m'Z'm(Z(m)Z) dd l*m+Z+ ddl,m-Z-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6m7Z7m8Z8m9Z9m:Z: ddl;m<Z< ej~ e@� ZAdZBdZCdZDdZEdddd�ZFdZGdZHdZIdZJ eK e-j� � D � cg c] } | d d k( s�| �� c} � ZMerddlZdd!lNmOZOmPZP G d"� d#eP� ZQneRZQ G d$� d%e<� ZS G d&� d'e� ZTeeT ZU G d(� d)e� ZVeVj� d*eCieVj� d*eEieVj� d*eDieVj� d*eEiiZ[ G d+� d,e� Z\ G d-� d.e� Z] G d/� d0e� Z^dd1d2�d3eUd4ee_ d5e_d6e_fd7�Z` G d8� d9ea� Zb G d:� d;eb� Zcd<� Zd d�d>eRd6e_fd?�Zed6ee< fd@�ZfeSfdegdAeRdBe_dCe!e> fdD�Zh eehd�E� Zi eehdF�E� ZjeSfdCe!e> fdG�ZkeSfdCe!e> fdH�ZldI� Zmd�dAeRfdK�ZndLeRd6eeo fdM�Zp d�dLeRdNegdOegdPegd6egf dQ�ZqdeVj� d=d=dJd=fd>eRdAeeR dReVdNegdSegdPegdTegd6egfdU�Zr G dV� dW� ZsdddX�dYeRdZe_d[eRd\eeU d]eeU d6e"e_etf fd^�Zud_e_d6eeT fd`�Zv d�dae_d_e_dbee_ d6e^fdc�ZweVj� d=dfdae_dAeRdReVdOegdbee_ d6egfdd�Zxde� Zydf� ZzdgeRdhe_d6ee_ fdi�Z{dgeRdjeRd6e_fdk�Z|d6e_fdl�Z}dmeRdjeRfdn�Z~dmeRfdo�ZdpeRd6e_fdq�Z�d�dAeRdjeRd6e_fdr�Z�dseQd6e_fdt�Z�dseQd6e_fdu�Z�d�dseQdAeeR d6e_fdv�Z�d6eRfdw�Z�dxe�d6e_fdy�Z�d6e_fdz�Z�d6eRfd{�Z�eVj� fdReVd6eRfd|�Z�d�d}�Z�d~� Z�d6e e_ee] f fd�Z�d�� Z�d�� Z�e@d�k( r e�j e�� � yy# e=$ r e>Z<Y ���w xY wc c} w )�zFschema.py: Set of module functions for processing cloud-config schema.� N)�defaultdict)�Iterable)�suppress)�deepcopy)�Enum)�EACCES)�partial)�chain) � TYPE_CHECKING�DefaultDict�List� NamedTuple�Optional�Tuple�Type�Union�cast)�features�importer� lifecycle�safeyaml)�read_cfg_paths)�INCLUSION_TYPES_MAP�type_from_starts_with)�Paths)�DataSourceNotFoundException)�mkdtemp)�error�get_modules_from_dir�load_text_file� load_yaml� write_file)�ValidationErrorz!versions.schema.cloud-config.jsonzschema-cloud-config-v1.jsonzschema-network-config-v1.jsonzschema-network-config-v2.json�true�false�null)TFNap {name} {title_underbar} {title} .. tab-set:: {prefix3}.. tab-item:: Summary {description} {prefix6}**Internal name:** ``{id}`` {prefix6}**Module frequency:** {frequency} {prefix6}**Supported distros:** {distros} {prefix6}{activate_by_schema_keys} {prefix3}.. tab-item:: Config schema {property_doc} {prefix3}.. tab-item:: Examples {prefix6}:: {examples} z5{prefix}* **{prop_name}:** ({prop_type}){description}zJ{prefix}* Each object in **{prop_name}** list supports the following keys:� deprecated�#)�NotRequired� TypedDictc � � e Zd ZU eed<