Ë
    dQêjÌ  ã                   ó0   — d dl mZ d dlmZ  G d„ d«      Zy)é    )Úabstractmethod)ÚLeaderElectionRecordc            
       ó°   — e Zd Zdedededdfd„Zedededeeef   eee	f   z  eedf   z  fd„«       Z
ededededefd	„«       Zededed
edefd„«       Zy)ÚBaseLockÚnameÚ	namespaceÚidentityÚreturnNc                 ó@   — || _         || _        t        |«      | _        y )N)r   r   Ústrr	   )Úselfr   r   r	   s       úx/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/aio/leaderelection/resourcelock/baselock.pyÚ__init__zBaseLock.__init__   s   € ØˆŒ	Ø"ˆŒÜ˜H›ˆ�ó    c              ƒ   ó   K  — y­w)zü
        :param name: Name of the configmap object information to get
        :param namespace: Namespace in which the configmap object is to be searched
        :return: 'True, election record' if object found else 'False, exception response'
        N© )r   r   r   s      r   ÚgetzBaseLock.get   s   è ø€ ð 	ùó   ‚Úelection_recordc              ƒ   ó   K  — y­w)a  
        :param electionRecord: Annotation string
        :param name: Name of the configmap object to be created
        :param namespace: Namespace in which the configmap object is to be created
        :return: 'True' if object is created else 'False' if failed
        Nr   )r   r   r   r   s       r   ÚcreatezBaseLock.create(   ó   è ø€ ð 	ùr   Úupdated_recordc              ƒ   ó   K  — y­w)zë
        :param name: name of the lock to be updated
        :param namespace: namespace the lock is in
        :param updated_record: the updated election record
        :return: True if update is successful False if it fails
        Nr   )r   r   r   r   s       r   ÚupdatezBaseLock.update4   r   r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   ÚtupleÚboolr   Ú	Exceptionr   r   r   r   r   r   r   r      sß   „ ð&˜Sð &¨Sð &¸Cð &ÀDó &ð ðØðØ$'ðà	ˆtÐ)Ð)Ñ	*¨U°4¸°?Ñ-CÑ	CÀeÈDÐRVÈJÑFWÑ	Wòó ðð ð	Øð	Ø$'ð	Ø:Nð	à	ò	ó ð	ð ð	Øð	Ø$'ð	Ø9Mð	à	ò	ó ñ	r   r   N)Úabcr   Ú2kubernetes.aio.leaderelection.leaderelectionrecordr   r   r   r   r   ú<module>r$      s   ðõ õ÷
(ò (r   