https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/policies/distros/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/policies/distros/__pycache__/cos.cpython-312.pyc
�

-�_gj��<�ddlmZmZddlmZd�ZGd�de�Zy)�)�	CosPlugin�IndependentPlugin)�LinuxPolicyc�f�|j�xs|j�jd�S)aHTest whether line is empty of contains a comment.

        Test whether the ``line`` argument is either blank, or a
        whole-line comment.

        :param line: the line of text to be checked.
        :returns: ``True`` if the line is blank or a comment,
                  and ``False`` otherwise.
        :rtype: bool
    �#)�strip�lstrip�
startswith)�lines �:/usr/lib/python3/dist-packages/sos/policies/distros/cos.py�_blank_or_commentr
s)���z�z�|��<�t�{�{�}�7�7��<�<�c�B��eZdZdZdgZdZdZeegZ	dZ
		d�fd�	Z�xZS)�	CosPolicyzGoogle Cloud Platform)zDistribution Websitez0https://cloud.google.com/container-optimized-os/zContainer-Optimized OS�cosz</usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbinc�`��t�|�||||��|xjtgz
c_y)N)�sysroot�init�
probe_runtime�remote_exec)�super�__init__�valid_subclassesr)�selfrrrr�	__class__s     �rrzCosPolicy.__init__(s4���
����t�'4�%0�	�	2�	
���)��,�r)NNTN)
�__name__�
__module__�__qualname__�vendor�vendor_urls�os_release_name�
os_release_idrrr�PATHr�
__classcell__)rs@rrrsA���
$�F�	=��K�/�O��M�!�#4�5��I�D�>B�!�-�-rrN)�sos.report.pluginsrr�sos.policies.distrosrr
r�rr�<module>r(s��<�,�=�-��-r

https://t.me/RX1948 - 2025