HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/microk8s.cpython-36.pyc
3

3��d�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPluginc@s4eZdZdZdZdZd
ZdZdZdd�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�	containercCs4|jdd�ddddddg}|jd	d
�|D��dS)Nzsnap.microk8s.*)Zunitszaddons repo list�configzctr plugins lszctr plugins ls -dZstatus�versioncSsg|]}d|���qS)z	microk8s �)�.0Zsubcmdr	r	�/usr/lib/python3.6/microk8s.py�
<listcomp>-sz"Microk8s.setup.<locals>.<listcomp>)Zadd_journalZadd_cmd_output)�selfZmicrok8s_subcmdsr	r	r�setup szMicrok8s.setupcCsd}|jd|d�dS)Nz((certificate-authority-data:|token:)\s.*rz\1 "**********")Zdo_cmd_output_sub)r
Zrsubr	r	r�postproc0szMicrok8s.postprocN)r)r)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofilesZpackagesZmicrok8s_cmdrrr	r	r	rrsrN)Zsos.report.pluginsrrrr	r	r	r�<module>s