Ë
    eQêjÇF  ã                  ó  — 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)ÚV1AppArmorProfile)ÚV1Capabilities)ÚV1SELinuxOptions)ÚV1SeccompProfile)ÚV1WindowsSecurityContextOptions)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       úq/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/client/models/v1_security_context.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                  ó:  — e Zd ZU dZ ed edd«      dd¬«      Zded<    ed edd	«      d¬
«      Zded	<   dZ	ded<    e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 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 ed"d#«      d"¬
«      Zd$ed#<    ed ed%d&«      d%¬
«      Zd'ed&<    ed ed(d)«      d(¬
«      Zd*ed)<   d+d,d-d+d.d+d/d+d/d0d1d2d3œZd4ed5<   dddddddddd"d%d(d3œZd4ed6<   g d7¢Zd8ed9<   e	 dH	 	 	 	 	 dId;„«       Z ed:d:d:d<d=¬>«      ZdJd?„ZdJd@„ZdKdA„ZdKdB„ZdJdC„ZedLdD„«       ZdMdNdE„Z dOdF„Z! e"e e#e!«        e"e!e#e «       [!edPdG„«       Z$y)QÚV1SecurityContextaå  
    SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext.  When both are set, the values in SecurityContext take precedence.

    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ÚallowPrivilegeEscalationÚallow_privilege_escalationaj  AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.)ÚdefaultÚvalidation_aliasÚserialization_aliasÚdescriptionzOptional[StrictBool]ÚappArmorProfileÚapp_armor_profile)r:   r;   r<   zOptional[V1AppArmorProfile]zOptional[V1Capabilities]ÚcapabilitieszÈRun container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.)r:   r=   Ú
privilegedÚ	procMountÚ
proc_mountzðprocMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. Note that this field cannot be set when spec.os.name is windows.zOptional[StrictStr]ÚreadOnlyRootFilesystemÚread_only_root_filesystemzŠWhether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.Ú
runAsGroupÚrun_as_groupa/  The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.zOptional[StrictInt]ÚrunAsNonRootÚrun_as_non_roota�  Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.Ú	runAsUserÚrun_as_useraM  The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.ÚseLinuxOptionsÚse_linux_optionszOptional[V1SELinuxOptions]ÚseccompProfileÚseccomp_profilezOptional[V1SeccompProfile]ÚwindowsOptionsÚwindows_optionsz)Optional[V1WindowsSecurityContextOptions]Úboolr   r   ÚstrÚintr   r   r   )r9   r?   r@   rA   rC   rE   rG   rI   rK   rM   rO   rQ   zClassVar[Dict[str, str]]Úopenapi_typesÚattribute_map©r8   r>   r@   rA   rB   rD   rF   rH   rJ   rL   rN   rP   zClassVar[List[str]]Ú_V1SecurityContext__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 «       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?   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   )r,   Ú_Mappingr.   Úpop)ÚclsÚobjÚremove_hidden_storage_namess      r%   Ú__preprocess_input_namesz*V1SecurityContext.__preprocess_input_namesš   sö  € ô ˜#œxÔ(ØˆJÜ�3‹iˆØ%¨SÑ0Ð5QÐUXÑ5XØ.1Ð2NÑ.OˆCÐ*Ñ+Ø�‰Ð,¨dÔ3Ø CÑ'Ð,?À3Ñ,FØ%(Ð)<Ñ%=ˆCÐ!Ñ"Ø�‰Ð# TÔ*Ø˜cÑ! l°cÑ&9Ø" <Ñ0ˆC�ÑØ�‰�˜dÔ#Ø#¨3Ñ.Ð3NÐRUÑ3UØ,/Ð0KÑ,LˆCÐ(Ñ)Ø�‰Ð+¨TÔ2Ø˜sÑ" ~¸Ñ'<Ø # NÑ 3ˆC�ÑØ�‰� Ô%Ø Ñ$Ð):¸cÑ)AØ"%Ð&7Ñ"8ˆC�ÑØ�‰Ð! 4Ô(Ø˜cÑ! m°sÑ&:Ø" =Ñ1ˆC�ÑØ�‰�˜tÔ$Ø 3Ñ&Ð+=ÀÑ+DØ$'Ð(:Ñ$;ˆCÐ Ñ!Ø�‰Ð" DÔ)Ø 3Ñ&Ð+<ÀÑ+CØ$'Ð(9Ñ$:ˆCÐ Ñ!Ø�‰Ð! 4Ô(Ø 3Ñ&Ð+<ÀÑ+CØ$'Ð(9Ñ$:ˆCÐ Ñ!Ø�‰Ð! 4Ô(Øˆ
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V1SecurityContext.to_strÌ   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r'   c                ó"   — | j                  «       S )zFor print and pprint)rl   rj   s    r%   Ú__repr__zV1SecurityContext.__repr__Ð   s   € à�{‰{‹}Ðr'   c                óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF)r,   r7   r   ©rk   Úothers     r%   Ú__eq__zV1SecurityContext.__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   rp   s     r%   Ú__ne__zV1SecurityContext.__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   )rk   r5   s     r%   Úto_jsonzV1SecurityContext.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 V1SecurityContext from a JSON string)Ú	from_dictrv   Úloads)r\   Újson_strs     r%   Ú	from_jsonzV1SecurityContext.from_jsonê   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r'   c                óŽ  — |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   )r2   r   )rk   r)   s     r%   r   zV1SecurityContext.to_dictï   sß  € ñ ,5Ñ'Ð:VÔYiÔjqÐrvð  yUð  W[ó  k\ð  ^gó  ZhÙ"+ÑÐ1DÔGWÔX_Ð`dÐfyÐ{ó  YAð  CLó  HMÙ(‰^¨nÔ?OÔPWÐX\Ð^lÐnrÓPsÐu~Ó?Ù&‰\¨LÔ;KÌGÐTXÐZfÐhlÓLmÐoxÓ;yÙ%‰[¨<Ô:JÌ7ÐSWÐYeÐgkÓKlÐnwÓ:xÙ)2Ñ%Ð8SÔVfÔgnÐosð  vQð  SWó  hXð  Zcó  WdÙ&‰\¨NÔ=MÌgÐVZÐ\jÐlpÓNqÐs|Ó=}Ù(‰^Ð.?ÔBRÔSZÐ[_ÐarÐtxÓSyð  |Eó  CFÙ%‰[¨=Ô;KÌGÐTXÐZgÐimÓLnÐpyÓ;zÙ!*ÑÐ0BÔEUÔV]Ð^bÐdvÐx|ÓV}ð  @Ió  FJÙ!*ÑÐ0AÔDTÔU\Ð]aÐctÐvzÓU{ð  ~Gó  EHÙ!*ÑÐ0AÔDTÔU\Ð]aÐctÐvzÓU{ð  ~Gó  EHð
ð 	
r'   c                ó¬  — t        g «      }| j                  d|d¬«      }| j                  rt        | j                  «      |d<   | j                  rt        | j                  «      |d<   | j
                  rt        | j
                  «      |d<   | j                  rt        | j                  «      |d<   | j                  rt        | j                  «      |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_noner>   r@   rL   rN   rP   )ÚsetÚ
model_dumpr?   r4   r@   rM   rO   rQ   )rk   Úexcluded_fieldsÚ_dicts      r%   Ú%__openapi_generator_modern_projectionz7V1SecurityContext.__openapi_generator_modern_projection   sÒ   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ×!Ò!Ü'8¸×9OÑ9OÓ'PˆEÐ#Ñ$à×ÒÜ$5°d×6GÑ6GÓ$HˆE�.Ñ!à× Ò Ü&7¸×8MÑ8MÓ&NˆEÐ"Ñ#à×ÒÜ&7¸×8LÑ8LÓ&MˆEÐ"Ñ#à×ÒÜ&7¸×8LÑ8LÓ&MˆEÐ"Ñ#Øˆr'   c                óR  — |€yt        |t        «      s| j                  |«      S t        t        t
        t        f   | j                  |d¬«      «      }| j                  |j                  d«      |j                  d«      �t        j                  |d   «      nd|j                  d«      �t        j                  |d   «      nd|j                  d«      |j                  d«      |j                  d	«      |j                  d
«      |j                  d«      |j                  d«      |j                  d«      �t        j                  |d   «      nd|j                  d«      �t        j                  |d   «      nd|j                  d«      �t        j                  |d   «      nddœ«      }|S )z3Create an instance of V1SecurityContext from a dictNT)r^   r8   r>   r@   rA   rB   rD   rF   rH   rJ   rL   rN   rP   rW   )r,   r.   Úmodel_validateÚ_castr   rS   r   Ú*_V1SecurityContext__preprocess_input_namesÚgetr   rz   r   r   r   r   )r\   r]   Ú_objs      r%   rz   zV1SecurityContext.from_dict/  s¦  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!Ø(+¯©Ð0JÓ(KØVY×V]ÑV]Ð^oÓVpÐV|Ô0×:Ñ:¸3Ð?PÑ;QÔRð  CGØMPÏWÉWÐUcÓMdÐMpœN×4Ñ4°S¸Ñ5HÔIÐvzØŸ'™' ,Ó/ØŸ™ Ó-Ø&)§g¡gÐ.FÓ&GØŸ'™' ,Ó/ØŸG™G NÓ3ØŸ™ Ó-ØSV×SZÑSZÐ[kÓSlÐSxÔ.×8Ñ8¸Ð=MÑ9NÔOð  CØSV×SZÑSZÐ[kÓSlÐSxÔ.×8Ñ8¸Ð=MÑ9NÔOð  CØbe×biÑbiÐjzÓb{ð  cHÔ=×GÑGÈÐL\ÑH]Ô^ð  NRñ#
ó ˆð ˆr'   )T)r]   r   r^   rR   Úreturnr   )rŽ   rS   )rq   ÚobjectrŽ   rR   )r|   rS   rŽ   úOptional[Self])F)r)   rR   rŽ   úDict[str, Any])rŽ   r‘   )r]   zOptional[Dict[str, Any]]rŽ   r�   )%Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r9   Ú__annotations__r?   r@   rA   rC   rE   rG   rI   rK   rM   rO   rQ   rU   rV   rX   Úclassmethodr‹   r   Úmodel_configrl   rn   rr   rt   rx   r}   r   Ú7_V1SecurityContext__openapi_generator_modern_projectionÚsetattrr!   rz   ra   r'   r%   r7   r7   e   su  … ññ 8=ÀTÑ\hð  jDð  Fbó  ]cð  ySð  aM	ô  8N	ÐÐ 4ó  N	Ù5:À4ÑZfÐgxð  {Nó  [Oð  evô  6wÐÐ2ó  wØ-1€LÐ*Ó1Ù',°Tð  HRô  (S€JÐ$ó  SÙ&+°DÉ<ÐXcÐeqÓKrð  ITð  bTô  'U€JÐ#ó  UÙ6;ÀDÑ[gð  iAð  C^ó  \_ð  uMð  [gô  7hÐÐ3ó  hÙ(-°dÉ\ÐZfÐhvÓMwð  NZð  hYô  )Z€LÐ%ó  ZÙ,1¸$ÑQ]Ð^lÐnó  RAð  Weð  sR	ô  -S	€OÐ)ó  S	Ù',°TÉLÐYdÐfsÓLtð  KVð  dsô  (t€KÐ$ó  tÙ38ÀÑXdÐeuð  xJó  YKð  aqô  4rÐÐ0ó  rÙ27ÀÑWcÐdtð  wHó  XIð  _oô  3p€OÐ/ó  pÙAFÈtÑfrð  tDð  FWó  gXð  n~ô  B€OÐ>ó  à&,Ø0Ø(ØØØ%+ØØ!ØØ.Ø-Ø<ñ/€MÐ+ó ð  'AØ.Ø&Ø"Ø!Ø%=Ø$Ø)Ø"Ø,Ø+Ø+ñ/€MÐ+ó ò )~€LÐ%ó  ~àð -1ð&àð&ð &*ð&ð 
ò	&ó ð&ñP ØØØ ØØô€Ló.óó1ó#ó>ð ò3ó ð3ô
ó"!ñF ØØ"Ø-ôñ
 Ø-Ø"Øôð
 	.àòó ñr'   r7   )r"   r   rŽ   r   )r"   r   r)   rR   rŽ   r   ).r•   Ú
__future__r   rh   Úrerv   Úcollections.abcr   rZ   Úpydanticr   r   r   r   r	   r
   r   Útypingr   r   r   r   r   r   rŠ   Ú-kubernetes.client.models.v1_app_armor_profiler   Ú(kubernetes.client.models.v1_capabilitiesr   Ú,kubernetes.client.models.v1_se_linux_optionsr   Ú+kubernetes.client.models.v1_seccomp_profiler   Ú<kubernetes.client.models.v1_windows_security_context_optionsr   r   Útyping_extensionsr   Úpydantic_corer   r!   r&   r*   r2   r4   r7   ra   r'   r%   ú<module>r§      sl   ðñ	õ #Û Û 	Û å /ß a× aÑ aß E× EÝ KÝ CÝ IÝ HÝ hß  Ý "Ý ,ð :Ð óó6ó
-óô i˜	õ ir'   