Ë
    dQêjRH  ã                  ó  — d Z ddlmZ ddlZddlZddlZddlmZ ddl	m
Z
mZmZmZmZmZmZ ddlmZmZmZmZmZmZ ddlmZ ddlmZ dd	lmZ dd
lm Z  ddl!m"Z" ddlmZm#Z# ddl$m%Z% ddl&m'Z' dZ(dd„Z)dd„Z*dd„Z+dd„Z, G d„ de«      Z-y)a   
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: release-1.37
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
é    )ÚannotationsN)ÚMapping)ÚAliasChoicesÚ	BaseModelÚ
ConfigDictÚFieldÚ
StrictBoolÚ	StrictIntÚ	StrictStr)ÚAnyÚClassVarÚDictÚListÚOptionalÚcast)ÚV1ContainerState)ÚV1ContainerUser)ÚV1ResourceRequirements)ÚV1ResourceStatus)ÚV1VolumeMountStatus)r   ÚSet)ÚSelf)Úto_jsonable_pythonÚ_openapi_generator_to_dictc                óâ   — t        | dd «      }t        t        | «      dd «      }t        |«      rt        |dd «      |ury t        |t        d «      }t        |«      rt        |t        d «      |ury |S )NÚto_dictÚ__func__)ÚgetattrÚtypeÚcallableÚ_OPENAPI_GENERATOR_TO_DICT)Úvaluer   Útype_to_dictÚopenapi_to_dicts       úu/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/aio/client/models/v1_container_status.pyÚ_get_openapi_to_dictr&   $   s‚   € ô �e˜Y¨Ó-€GÜœ4 ›;¨	°4Ó8€Lä�WÔÜ�7˜J¨Ó-°\ÑAàäØÔ0°$ó€Oô �_Ô%ÜØÜ&Øó
ð ñ	ð ØÐó    c                ó‚   — t        | dd «      }t        | «      �t        |«      r	 ||¬«      S t        |«      r |«       S | S )Nr   )Ú	serialize)r   r&   r    )r"   r)   r   s      r%   Ú_to_legacy_itemr*   ?   sB   € Ü�e˜Y¨Ó-€GÜ˜EÓ"Ð.´8¸GÔ3DÙ Ô+Ð+Ü�ÔÙ‹yÐØ€Lr'   c           	     ó   — t        | t        «      r| D �cg c]  }t        ||«      ‘Œ c}S t        | t        «      r.| j	                  «       D ��ci c]  \  }}|t        ||«      “Œ c}}S t        | |«      S c c}w c c}}w )N)Ú
isinstanceÚlistr*   ÚdictÚitems)r"   r)   ÚitemÚkeys       r%   Ú_to_legacy_valuer2   H   s}   € ô �%œÔØ=BÖC°T”  iÕ0ÒCÐCÜ�%œÔð #Ÿ[™[›]÷
á��Tð ”  yÓ1Ñ1ó
ð 	
ô ˜5 )Ó,Ð,ùò Dùó
s   •A5ÁA:c                óP  — t        | t        «      r| D �cg c]  }t        |«      ‘Œ c}S t        | t        «      r-| j	                  «       D ��ci c]  \  }}|t        |«      “Œ c}}S t        | «      }|� || «      S t        | dd «      }t        |«      r |«       S | S c c}w c c}}w )Nr   )r,   r-   Ú_to_openapi_valuer.   r/   r&   r   r    )r"   r0   r1   Úto_openapi_dictr   s        r%   r4   r4   U   s™   € Ü�%œÔØ49Ö:¨DÔ! $Õ'Ò:Ð:Ü�%œÔØ>C¿k¹k»m×L±°°d�Ô& tÓ,Ñ,ÓLÐLä*¨5Ó1€OØÐ"Ù˜uÓ%Ð%ä�e˜Y¨Ó-€GÜ�ÔÙ‹yÐØ€Lùò ;ùãLs   •BÁB"c                  óX  — e Zd ZU dZ ed edd«      dd¬«      Zded<    ed edd	«      dd
¬«      Zded	<    ed edd«      dd¬«      Z	ded<    ed¬«      Z
ded<    e edd«      dd¬«      Zded<    ed edd«      d¬«      Zded<    ed¬«      Zded<    ed¬«      Zded <   dZd!ed"<    e ed#d$«      d#d%¬«      Zd&ed$<    edd'¬(«      Zd)ed*<   dZded+<    ed ed,d-«      d,d.¬«      Zded-<   dZd/ed0<    ed ed1d2«      d1d3¬«      Zd4ed2<   d5d6d7d7d7d8d7d9d:d;d9d8d7d<d=d>œZd?ed@<   dddddddd d"d#d*d+d,d0d1d>œZd?edA<   g dB¢ZdCedD<   e	 dS	 	 	 	 	 dTdF„«       Z edEdEdEdGdH¬I«      ZdUdJ„ZdUdK„ZdVdL„ZdVdM„Z dUdN„Z!edWdO„«       Z"dXdYdP„Z#dZdQ„Z$ e%e#e&e$«        e%e$e&e#«       [$ed[dR„«       Z'y)\ÚV1ContainerStatusaS  
    ContainerStatus contains details for the current status of this container.

    Attributes:
      openapi_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    NÚallocatedResourcesÚallocated_resourceszèAllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.)ÚdefaultÚvalidation_aliasÚserialization_aliasÚdescriptionzOptional[Dict[str, StrictStr]]ÚallocatedResourcesStatusÚallocated_resources_statusz[AllocatedResourcesStatus represents the status of various resources allocated for this Pod.z Optional[List[V1ResourceStatus]]ÚcontainerIDÚcontainer_idz¿ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example "containerd").zOptional[StrictStr]zóImage is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.)r=   r   ÚimageÚimageIDÚimage_idz¨ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.)r;   r<   r=   Ú	lastStateÚ
last_state)r:   r;   r<   zOptional[V1ContainerState]z¡Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.Únamea^  Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field).  The value is typically used to determine whether a container is ready to accept traffic.r	   Úreadyz Optional[V1ResourceRequirements]Ú	resourcesÚrestartCountÚrestart_counta  RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.r
   aì  Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false.)r:   r=   zOptional[StrictBool]ÚstartedÚstateÚ
stopSignalÚstop_signalz?StopSignal reports the effective stop signal for this containerzOptional[V1ContainerUser]ÚuserÚvolumeMountsÚvolume_mountszStatus of volume mounts.z#Optional[List[V1VolumeMountStatus]]zDict[str, str]zList[V1ResourceStatus]Ústrr   Úboolr   Úintr   zList[V1VolumeMountStatus])r9   r?   rA   rB   rD   rF   rG   rH   rI   rK   rL   rM   rO   rP   rR   zClassVar[Dict[str, str]]Úopenapi_typesÚattribute_map©r8   r>   r@   rB   rC   rE   rG   rH   rI   rJ   rL   rM   rN   rP   rQ   zClassVar[List[str]]Ú_V1ContainerStatus__propertiesTc                ó`  — t        |t        «      s|S t        |«      }d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       d	|vrd
|v r|d
   |d	<   |j                  d
d «       d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       |S )Nr8   r9   r>   r?   r@   rA   rC   rD   rE   rF   rJ   rK   rN   rO   rQ   rR   )r,   Ú_Mappingr.   Úpop)ÚclsÚobjÚremove_hidden_storage_namess      r%   Ú__preprocess_input_namesz*V1ContainerStatus.__preprocess_input_names£   sˆ  € ô ˜#œxÔ(ØˆJÜ�3‹iˆØ sÑ*Ð/DÈÑ/KØ(+Ð,AÑ(BˆCÐ$Ñ%Ø�‰Ð% tÔ,Ø%¨SÑ0Ð5QÐUXÑ5XØ.1Ð2NÑ.OˆCÐ*Ñ+Ø�‰Ð,¨dÔ3Ø Ñ#¨¸#Ñ(=Ø!$ ^Ñ!4ˆC�ÑØ�‰� Ô%Ø˜CÑ J°#Ñ$5Ø  ™_ˆC�	‰NØ�‰�
˜DÔ!Ø˜cÑ! l°cÑ&9Ø" <Ñ0ˆC�ÑØ�‰�˜dÔ#Ø Ñ$¨¸CÑ)?Ø"% oÑ"6ˆC�ÑØ�‰� Ô&Ø˜sÑ" }¸Ñ';Ø # MÑ 2ˆC�ÑØ�‰�˜tÔ$Ø Ñ$¨¸CÑ)?Ø"% oÑ"6ˆC�ÑØ�‰� Ô&Øˆ
r'   Úforbid© )Úvalidate_by_nameÚvalidate_by_aliasÚvalidate_assignmentÚextraÚprotected_namespacesc                óH   — t        j                  | j                  «       «      S )z.Returns the string representation of the model)ÚpprintÚpformatr   ©Úselfs    r%   Úto_strzV1ContainerStatus.to_strÏ   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r'   c                ó"   — | j                  «       S )zFor print and pprint)rm   rk   s    r%   Ú__repr__zV1ContainerStatus.__repr__Ó   s   € à�{‰{‹}Ðr'   c                óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF)r,   r7   r   ©rl   Úothers     r%   Ú__eq__zV1ContainerStatus.__eq__×   s'   € ä˜%Ô!2Ô3Øà�|‰|‹~ §¡£Ñ0Ð0r'   c                ó0   — t        |t        «      sy| |k(   S )z*Returns true if both objects are not equalT)r,   r7   rq   s     r%   Ú__ne__zV1ContainerStatus.__ne__Þ   s   € ä˜%Ô!2Ô3Øà˜E‘MÐ"Ð"r'   c                ó¼   — t        | «      }|�$t        j                  t         || «      «      «      S t        j                  t        | j	                  «       «      «      S )z8Returns the JSON representation of the model using alias)r&   ÚjsonÚdumpsr   r   )rl   r5   s     r%   Úto_jsonzV1ContainerStatus.to_jsonæ   sG   € ä.¨tÓ4ˆØÐ&Ü—:‘:Ô0±ÀÓ1FÓGÓHÐHÜ�z‰zÔ,¨T¯\©\«^Ó<Ó=Ð=r'   c                óJ   — | j                  t        j                  |«      «      S )z:Create an instance of V1ContainerStatus from a JSON string)Ú	from_dictrw   Úloads)r]   Újson_strs     r%   Ú	from_jsonzV1ContainerStatus.from_jsoní   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r'   c           $     ó0  — |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rd	nd
t        t        | d
d«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      iS )z<Return all declared model fields using public or wire names.r8   r9   Nr>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   )r2   r   )rl   r)   s     r%   r   zV1ContainerStatus.to_dictò   s  € ñ &/Ñ!Ð4IÔL\Ô]dÐeið  lAð  CGó  ^Hð  JSó  MTÙ+4Ñ'Ð:VÔYiÔjqÐrvð  yUð  W[ó  k\ð  ^gó  ZhÙ'‰]¨^Ô>NÌwÐW[Ð]kÐmqÓOrÐt}Ó>~Ù!‰W wÔ1AÄ'È$ÐPWÐY]ÓB^Ð`iÓ1jÙ#‰Y¨Ô6FÄwÈtÐU_ÐaeÓGfÐhqÓ6rÙ%‰[¨<Ô:JÌ7ÐSWÐYeÐgkÓKlÐnwÓ:xÙ ‰V fÔ/?ÄÈÈfÐVZÓ@[Ð]fÓ/gÙ!‰W wÔ1AÄ'È$ÐPWÐY]ÓB^Ð`iÓ1jÙ%‰[¨;Ô9IÌ'ÐRVÐXcÐeiÓJjÐluÓ9vÙ(‰^¨oÔ@PÔQXÐY]Ð_nÐptÓQuð  xAó  ABÙ#‰Y¨Ô5EÄgÈdÐT]Ð_cÓFdÐfoÓ5pÙ!‰W wÔ1AÄ'È$ÐPWÐY]ÓB^Ð`iÓ1jÙ&‰\¨MÔ<LÌWÐUYÐ[hÐjnÓMoÐqzÓ<{Ù ‰V fÔ/?ÄÈÈfÐVZÓ@[Ð]fÓ/gÙ(‰^¨oÔ@PÔQXÐY]Ð_nÐptÓQuð  xAó  ABð
ð 	
r'   c                ól  — t        g «      }| j                  d|d¬«      }g }| j                  r4| j                  D ]   }|j                  |�t	        |«      nd«       Œ" ||d<   | j
                  rt	        | j
                  «      |d<   | j                  rt	        | j                  «      |d<   | j                  rt	        | j                  «      |d<   | j                  rt	        | j                  «      |d<   g }| j                  r4| j                  D ]   }|j                  |�t	        |«      nd«       Œ" ||d	<   |S )
ac  Return the dictionary representation of the model using alias.

        This has the following differences from calling pydantic's
        `self.model_dump(by_alias=True)`:

        * `None` is only added to the output dict for nullable fields that
          were set at model initialization. Other fields with value `None`
          are ignored.
        T)Úby_aliasÚexcludeÚexclude_noneNr>   rE   rI   rM   rP   rQ   )
ÚsetÚ
model_dumpr?   Úappendr4   rF   rI   rM   rP   rR   )rl   Úexcluded_fieldsÚ_dictÚ_itemsÚ _item_allocated_resources_statusÚ_item_volume_mountss         r%   Ú%__openapi_generator_modern_projectionz7V1ContainerStatus.__openapi_generator_modern_projection  sB  € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ˆØ×*Ò*Ø48×4SÑ4Sò MÐ0Ø—‘ÐUuð  VBÔ/Ð0PÔQð  HLõ  MðMà06ˆEÐ,Ñ-à�?Š?Ü!2°4·?±?Ó!CˆE�+Ñà�>Š>Ü!2°4·>±>Ó!BˆE�+Ñà�:Š:Ü.¨t¯z©zÓ:ˆE�'‰Nà�9Š9Ü-¨d¯i©iÓ8ˆE�&‰MàˆØ×ÒØ'+×'9Ñ'9ò sÐ#Ø—‘ÐH[ÐHgÔ/Ð0CÔDÐmqÕrðsà$*ˆE�.Ñ!Øˆr'   c                ó2  — |€yt        |t        «      s| j                  |«      S t        t        t
        t        f   | j                  |d¬«      «      }| j                  |j                  d«      |j                  d«      �&|d   D �cg c]  }t        j                  |«      ‘Œ c}nd|j                  d«      |j                  d«      |j                  d«      |j                  d	«      �t        j                  |d	   «      nd|j                  d
«      |j                  d«      |j                  d«      �t        j                  |d   «      nd|j                  d«      |j                  d«      |j                  d«      �t        j                  |d   «      nd|j                  d«      |j                  d«      �t        j                  |d   «      nd|j                  d«      �&|d   D �cg c]  }t        j                  |«      ‘Œ c}nddœ«      }|S c c}w c c}w )z3Create an instance of V1ContainerStatus from a dictNT)r_   r8   r>   r@   rB   rC   rE   rG   rH   rI   rJ   rL   rM   rN   rP   rQ   rX   )r,   r.   Úmodel_validateÚ_castr   rS   r   Ú*_V1ContainerStatus__preprocess_input_namesÚgetr   r{   r   r   r   r   )r]   r^   Ú_itemÚ_objs       r%   r{   zV1ContainerStatus.from_dict>  s  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!Ø"%§'¡'Ð*>Ó"?Ø|÷  }Dñ  }Dð  E_ó  }`ð  }lÐX[Ð\vÑXwÖ(xÈuÔ)9×)CÑ)CÀEÕ)JÓ(xð  rvØŸ7™7 =Ó1Ø—W‘W˜WÓ%Ø—w‘w˜yÓ)ØILÏÉÐQ\ÓI]ÐIiÔ)×3Ñ3°C¸Ñ4DÔEÐosØ—G‘G˜F“OØ—W‘W˜WÓ%ØORÏwÉwÐWbÓOcÐOoÔ/×9Ñ9¸#¸kÑ:JÔKÐuyØŸG™G NÓ3Ø—w‘w˜yÓ)ØADÇÁÈÓAQÐA]Ô%×/Ñ/°°G±Ô=ÐcgØŸ'™' ,Ó/Ø>A¿g¹gÀf»oÐ>Y”O×-Ñ-¨c°&©kÔ:Ð_cØgj×gnÑgnÐo}Óg~ð  hKÈsÐSaÑObÖcÀeÔ0×:Ñ:¸5ÕAÓcð  QUñ#
ó ˆð" ˆùò )yùò ds   ÂH
Ç&H$)T)r^   r   r_   rT   Úreturnr   )r”   rS   )rr   Úobjectr”   rT   )r}   rS   r”   úOptional[Self])F)r)   rT   r”   úDict[str, Any])r”   r—   )r^   zOptional[Dict[str, Any]]r”   r–   )(Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r9   Ú__annotations__r?   rA   rB   rD   rF   rG   rH   rI   rK   rL   rM   rO   rP   rR   rV   rW   rY   Úclassmethodr�   r   Úmodel_configrm   ro   rs   ru   ry   r~   r   Ú7_V1ContainerStatus__openapi_generator_modern_projectionÚsetattrr!   r{   rb   r'   r%   r7   r7   e   sn  … ññ ;@ÈÑ_kð  mAð  CXó  `Yð  oCð  Q{ô  ;|ÐÐ7ó  |ÙCHÐQUÑhtð  vPð  Rnó  ioð  E_ð  mJô  DKÐÐ @ó  KÙ(-°dÉ\ÐZgÐiwÓMxð  O\ð  jmô  )n€LÐ%ó  nÙð  *_ô  `€Eˆ9ó  `Ù±¸iÈÓ1TÐjsð  Blô  m€Hˆió  mÙ-2¸4ÑR^Ð_jÐlxÓRyð  P[ô  .\€JÐ*ó  \Ùð  )Lô  M€Dˆ)ó  MÙð  +Kô  L€Eˆ:ó  LØ26€IÐ/Ó6Ù$±lÀ>ÐSbÓ6cð  zHð  V^ô   _€M�9ó  _Ù$)°$ð  Esô  %t€GÐ!ó  tØ(,€EÐ%Ó,Ù',°TÉLÐYeÐgtÓLuð  LXð  fgô  (h€KÐ$ó  hØ&*€DÐ
#Ó*Ù9>ÀtÑ^jÐkyð  |Kó  _Lð  bpð  ~Xô  :Y€MÐ6ó  Yà/Ø&>ØØØØ(ØØØ-ØØØ#ØØ!Ø4ñ/€MÐ+ó ð&  4Ø&@Ø%ØØØ!ØØØ Ø'ØØØ#ØØ'ñ/€MÐ+ó ò" )s€LÐ%ó  sàð -1ð àð ð &*ð ð 
ò	 ó ð ñD ØØØ ØØô€Ló.óó1ó#ó>ð ò3ó ð3ô
ó(*ñX ØØ"Ø-ôñ
 Ø-Ø"Øôð
 	.àò!ó ñ!r'   r7   )r"   r   r”   r   )r"   r   r)   rT   r”   r   ).r›   Ú
__future__r   ri   Úrerw   Úcollections.abcr   r[   Úpydanticr   r   r   r   r	   r
   r   Útypingr   r   r   r   r   r   r�   Ú/kubernetes.aio.client.models.v1_container_stater   Ú.kubernetes.aio.client.models.v1_container_userr   Ú5kubernetes.aio.client.models.v1_resource_requirementsr   Ú/kubernetes.aio.client.models.v1_resource_statusr   Ú3kubernetes.aio.client.models.v1_volume_mount_statusr   r   Útyping_extensionsr   Úpydantic_corer   r!   r&   r*   r2   r4   r7   rb   r'   r%   ú<module>r­      sl   ðñ	õ #Û Û 	Û å /ß a× aÑ aß E× EÝ LÝ JÝ XÝ LÝ Sß  Ý "Ý ,ð :Ð óó6ó
-óô {˜	õ {r'   