403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/microk8s.cpython-312.pyc
�

i��d��,�ddlmZmZGd�dee�Zy)�)�Plugin�UbuntuPluginc�0�eZdZdZdZdZdZdZdZd�Z	d�Z
y)	�Microk8saThe Microk8s plugin collects the current status of the microk8s
    snap on a Ubuntu machine.

    It will collect logs from journald related to the snap.microk8s
    units as well as run microk8s commands to retrieve the configuration,
    status, version and loaded plugins.
    zThe lightweight Kubernetes�microk8s)�	container)rc�~�|jd��gd�}|j|D�cgc]}d|����	c}�ycc}w)Nzsnap.microk8s.*)�units)zaddons repo list�configzctr plugins lszctr plugins ls -d�status�versionz	microk8s )�add_journal�add_cmd_output)�self�microk8s_subcmds�subcmds   �=/usr/lib/python3/dist-packages/sos/report/plugins/microk8s.py�setupzMicrok8s.setup sK�����0��1�
��	
���/?�
�%+�i��x� �
�	��
s�:c�.�d}|jd|d�y)Nz((certificate-authority-data:|token:)\s.*rz\1 "**********")�do_cmd_output_sub)r�rsubs  r�postproczMicrok8s.postproc0s��:�����z�4�1C�D�N)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�packages�microk8s_cmdrr�rrrrs-���.�J��K��H��H��L�� ErrN)�sos.report.pluginsrrrr#rr�<module>r%s��4�#E�v�|�#Er

Youez - 2016 - github.com/yon3zu
LinuXploit