File: //usr/lib/python3/dist-packages/sos/policies/distros/__pycache__/cos.cpython-310.pyc
o
-�_gj � @ s8 d dl mZmZ d dlmZ dd� ZG dd� de�ZdS )� )� CosPlugin�IndependentPlugin)�LinuxPolicyc C s | � � p| �� �d�S )aH Test 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_comment s r c s@ e Zd ZdZdgZdZdZeegZ dZ
d
� fdd � Z� ZS )� 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:/sbinNTc s( t � j||||d� | jtg7 _d S )N)�sysroot�init�
probe_runtime�remote_exec)�super�__init__�valid_subclassesr
)�selfr r r r �� __class__r
r r ( s
�zCosPolicy.__init__)NNTN)
�__name__�
__module__�__qualname__�vendor�vendor_urls�os_release_name�
os_release_idr r r �PATHr �
__classcell__r
r
r r r
s ��r
N)�sos.report.pluginsr r �sos.policies.distrosr r r
r
r
r
r �<module> s