403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/google-cloud-sdk/lib/surface/transfer/agents/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/transfer/agents/__pycache__/delete.cpython-311.pyc
�

��L��r�dZddlmZddlmZddlmZddlmZddlmZddlm	Z	ddl
mZd	Zd
Z
dZdZd
ZdZd�Zejejejj��Gd�dej������Zejejejj��Gd�de������ZdS)z"Command to delete transfer agents.�)�absolute_import)�division)�unicode_literals)�arg_parsers)�base)�agents_util)�resource_printerz�To delete specific agents on your machine, run the following command:

{container_manager} stop {container_ids}

Note: If you encounter a permission error or cannot find the agent, you may need
to add "sudo" before "{container_manager}".
a7To delete all agents on your machine, run the following command:

{container_manager} stop $({container_manager} container list --quiet --all --filter ancestor=gcr.io/cloud-ingest/tsop-agent)

Note: If you encounter a permission error, you may need to add "sudo" before both instances of "{container_manager}".
a�To delete all agents on your machine and uninstall the machine's agent container image, run the following commands:

{container_manager} stop $({container_manager} container list --quiet --all --filter ancestor=gcr.io/cloud-ingest/tsop-agent)

# May take a moment for containers to shutdown before you can run:
{container_manager} image rm gcr.io/cloud-ingest/tsop-agent

Note: If you encounter a permission error, you may need to add "sudo" before all three instances of "{container_manager}".
z�Pick which agents to delete. You can include --all to delete all agents on your machine or --ids to specify agent IDs. You can find agent IDs by running:

{container_manager} container list --all --filter ancestor=gcr.io/cloud-ingest/tsop-agent
z2Delete Transfer Service agents from your machine.
z�If you plan to delete specific agents, you can list which agents are running on your machine by running:

  $ {container_managers} container list --all --filter ancestor=gcr.io/cloud-ingest/tsop-agent

Then run:

  $ {{command}} --ids=id1,id2,...
c�~�|tjjk}|rdnd}tt�|���d�S)z�Returns the detailed help text for the delete command.

  Args:
    release_track (base.ReleaseTrack): The release track.

  Returns:
    A dict containing keys DESCRIPTION, EXAMPLES that provides detailed help.
  zdocker (or podman)�docker)�container_managers)�DESCRIPTION�EXAMPLES)r�ReleaseTrack�ALPHA� _DELETE_COMMAND_DESCRIPTION_TEXT�_DELETE_COMMAND_EXAMPLES_TEXT�format)�
release_track�is_alphars   �%lib/surface/transfer/agents/delete.py�_get_detailed_help_textrJsR���d�/�5�
5�(�/7�E�+�+�X��5�/�6�6�/�7���
�
��c�^�eZdZdZeejj��Ze	d���Z
d�Zd�ZdS)�Delete�(Delete Transfer Service transfer agents.c���|�dd���}|�dtj��dd���|�dd	d
���|�dd	d
���dS)NTF)�mutex�	sort_argsz--ids�IDSzwThe IDs of the agents you want to delete. Separate multiple agent IDs with commas, with no spaces following the commas.)�type�metavar�helpz--all�
store_truez*Delete all agents running on your machine.)�actionr"z--uninstallz�Fully uninstall the agent container image in addition to deleting the agents. Uninstalling the container image will free up space, but you'll need to reinstall it to run agents on this machine in the future.)�	add_group�add_argumentr�ArgList)�parser�mutually_exclusive_flags_groups  r�ArgszDelete.Argsds���%+�%5�%5��e�&6�&�&�"�#�/�/��
�
 �
"�
"��
E�0����#�/�/���
9�0����
#�/�/���
�	0�	�	�	�	�	rc�2�~tj|d��dS)N�object)r	�Print)�self�args�	resourcess   r�DisplayzDelete.Display�s�����9�h�/�/�/�/�/rc��tj�|��}|jr9t�|jd�|j�����S|jr t�|j���S|j
r t�|j���St�|j���S)N� )�container_manager�
container_ids)r4)
r�ContainerManager�	from_args�ids�_DELETE_SPECIFIC_AGENTS_MESSAGEr�value�join�all�_DELETE_ALL_AGENTS_MESSAGE�	uninstall�_UNINSTALL_MESSAGE�_LIST_AGENTS_MESSAGE)r.r/r4s   r�Runz
Delete.Run�s���#�4�>�>�t�D�D���x��
,�
3�
3�-�3������*�*�4�����x��
'�
.�
.�-�3�/�����~��
�
&�
&�-�3�'���� �&�&�+�1�'���rN)
�__name__�
__module__�__qualname__�__doc__rrr�GA�
detailed_help�staticmethodr*r1rA�rrrr]si������1�0�)�)�$�*;�*>�?�?�-�����<��:0�0�0�����rrc�R�eZdZdZeejj��Ze	d���Z
dS)�DeleteAlpharc���t�|��|�dtd�tjD����tjjjd���dS)Nz--container-managerc��g|]	}|j��
SrI)r:)�.0�options  r�
<listcomp>z$DeleteAlpha.Args.<locals>.<listcomp>�s��E�E�E�f�V�\�E�E�Erz0The container manager to use for running agents.)�choices�defaultr")rr*r&�sortedrr6�DOCKERr:)r(s rr*zDeleteAlpha.Args�sp��
�K�K�����
�����E�E��(D�E�E�E�
�
��,�3�9�
?�
�����rN)rBrCrDrErrrrrGrHr*rIrrrKrK�sK������1�0�)�)�$�*;�*A�B�B�-��
�
��<�
�
�
rrKN)rE�
__future__rrr�googlecloudsdk.callioperr�#googlecloudsdk.command_lib.transferr�googlecloudsdk.core.resourcer	r9r=r?r@rrr�UniverseCompatible�
ReleaseTracksrrF�CommandrrrKrIrr�<module>r\s���)�(�&�&�&�&�&�&�������'�'�'�'�'�'�/�/�/�/�/�/�(�(�(�(�(�(�;�;�;�;�;�;�9�9�9�9�9�9�#����	����$� �!�����&�����D�%�(�)�)�9�9�9�9�9�T�\�9�9�*�)���9�x�����D�%�+�,�,������&���-�,�����r

Youez - 2016 - github.com/yon3zu
LinuXploit