Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

i��d�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPluginc@s4eZdZdZdZdZdZdZdZdd�Z	dd	�Z
d
S)�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)rcCs,|jdd�gd�}|�dd�|D��dS)Nzsnap.microk8s.*)�units)zaddons repo list�configzctr plugins lszctr plugins ls -d�status�versioncSsg|]}d|���qS)z	microk8s �)�.0�subcmdrr�=/usr/lib/python3/dist-packages/sos/report/plugins/microk8s.py�
<listcomp>,s
�z"Microk8s.setup.<locals>.<listcomp>)�add_journal�add_cmd_output)�self�microk8s_subcmdsrrr�setup s

	�zMicrok8s.setupcCsd}|�d|d�dS)Nz((certificate-authority-data:|token:)\s.*rz\1 "**********")�do_cmd_output_sub)r�rsubrrr�postproc0szMicrok8s.postprocN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�packages�microk8s_cmdrrrrrrrsrN)�sos.report.pluginsrrrrrrr�<module>s

Spamworldpro Mini