https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
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-310.pyc
o

-�_gj�@s8ddlmZmZddlmZdd�ZGdd�de�ZdS)�)�	CosPlugin�IndependentPlugin)�LinuxPolicycCs|��p|���d�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)�line�r
�:/usr/lib/python3/dist-packages/sos/policies/distros/cos.py�_blank_or_commentsrcs@eZdZdZdgZdZdZeegZ	dZ
		d
�fdd	�	Z�Z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:/sbinNTcs(t�j||||d�|jtg7_dS)N)�sysroot�init�
probe_runtime�remote_exec)�super�__init__�valid_subclassesr
)�selfrrrr��	__class__r
rr(s

�zCosPolicy.__init__)NNTN)
�__name__�
__module__�__qualname__�vendor�vendor_urls�os_release_name�
os_release_idrrr�PATHr�
__classcell__r
r
rrr
s��r
N)�sos.report.pluginsrr�sos.policies.distrosrrr
r
r
r
r�<module>s


https://t.me/RX1948 - 2025