Ë
    ú}ài   ã                   óL   — d dl mZ ddlmZmZ  G d„ de«      Z G d„ de«      Zy)	é   )Ú	APIClienté   )Ú
CollectionÚModelc                   ó,   — e Zd ZdZdZed„ «       Zdd„Zy)ÚVolumez	A volume.ÚNamec                 ó    — | j                   d   S )zThe name of the volume.r	   )Úattrs)Úselfs    ú\/home/factor_ks/STREAMA2026/tests/venv/lib/python3.12/site-packages/docker/models/volumes.pyÚnamezVolume.name	   s   € ð �z‰z˜&Ñ!Ð!ó    c                 ód   — | j                   j                  j                  | j                  |¬«      S )a%  
        Remove this volume.

        Args:
            force (bool): Force removal of volumes that were already removed
                out of band by the volume driver plugin.
        Raises:
            :py:class:`docker.errors.APIError`
                If volume failed to remove.
        )Úforce)ÚclientÚapiÚremove_volumeÚid)r   r   s     r   ÚremovezVolume.remove   s&   € ð �{‰{�‰×,Ñ,¨T¯W©W¸EÐ,ÓBÐBr   N)F)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úid_attributeÚpropertyr   r   © r   r   r   r      s"   „ ÙØ€Làñ"ó ð"ôCr   r   c                   óf   — e Zd ZdZeZdd„Zd„ Zd„ Zdd„Z	e
j                  j                  e	_        y)ÚVolumeCollectionzVolumes on the Docker server.Nc                 ór   —  | j                   j                  j                  |fi |¤Ž}| j                  |«      S )aë  
        Create a volume.

        Args:
            name (str): Name of the volume.  If not specified, the engine
                generates a name.
            driver (str): Name of the driver used to create the volume
            driver_opts (dict): Driver options as a key-value dictionary
            labels (dict): Labels to set on the volume

        Returns:
            (:py:class:`Volume`): The volume created.

        Raises:
            :py:class:`docker.errors.APIError`
                If the server returns an error.

        Example:

            >>> volume = client.volumes.create(name='foobar', driver='local',
                    driver_opts={'foo': 'bar', 'baz': 'false'},
                    labels={"key": "value"})

        )r   r   Úcreate_volumeÚprepare_model)r   r   ÚkwargsÚobjs       r   ÚcreatezVolumeCollection.create    s4   € ð2 ,ˆd�k‰k�o‰o×+Ñ+¨DÑ;°FÑ;ˆØ×!Ñ! #Ó&Ð&r   c                 ój   — | j                  | j                  j                  j                  |«      «      S )ae  
        Get a volume.

        Args:
            volume_id (str): Volume name.

        Returns:
            (:py:class:`Volume`): The volume.

        Raises:
            :py:class:`docker.errors.NotFound`
                If the volume does not exist.
            :py:class:`docker.errors.APIError`
                If the server returns an error.
        )r"   r   r   Úinspect_volume)r   Ú	volume_ids     r   ÚgetzVolumeCollection.get<   s(   € ð  ×!Ñ! $§+¡+§/¡/×"@Ñ"@ÀÓ"KÓLÐLr   c                 óÂ   —  | j                   j                  j                  di |¤Ž}|j                  d«      sg S |d   D �cg c]  }| j	                  |«      ‘Œ c}S c c}w )aT  
        List volumes. Similar to the ``docker volume ls`` command.

        Args:
            filters (dict): Server-side list filtering options.

        Returns:
            (list of :py:class:`Volume`): The volumes.

        Raises:
            :py:class:`docker.errors.APIError`
                If the server returns an error.
        ÚVolumesr   )r   r   Úvolumesr)   r"   )r   r#   Úrespr$   s       r   ÚlistzVolumeCollection.listN   sU   € ð 'ˆt�{‰{�‰×&Ñ&Ñ0¨Ñ0ˆØ�x‰x˜	Ô"ØˆIØ37¸	±?ÖC¨C�×"Ñ" 3Õ'ÒCÐCùÒCs   ÁAc                 óN   — | j                   j                  j                  |¬«      S )N)Úfilters)r   r   Úprune_volumes)r   r0   s     r   ÚprunezVolumeCollection.prunea   s   € Ø�{‰{�‰×,Ñ,°WÐ,Ó=Ð=r   )N)r   r   r   r   r   Úmodelr%   r)   r.   r2   r   r1   r   r   r   r   r      s3   „ Ù'Ø€Eó'ò8Mò$Dó&>à×+Ñ+×3Ñ3€E…Mr   r   N)r   r   Úresourcer   r   r   r   r   r   r   ú<module>r5      s'   ðÝ ß 'ôCˆUô Cô.G4�zõ G4r   