| Server IP : 186.64.123.29 / Your IP : 216.73.217.94 Web Server : LiteSpeed System : Linux house.hostinglat.cl 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : tuemp9827 ( 1016) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o
O6uf0 � @ s6 d dl mZmZ G dd� de�ZG dd� dee�ZdS )� )�Plugin�RedHatPluginc @ s e Zd ZdZdZdZdd� ZdS )�DockerDistributionzDocker Distribution�docker_distribution)� containerc C s� | � d� | �d� | �d�}| �|�rCt|dd��}|D ]}d|v r0|�� d }| �d| � qW d � d S 1 s<w Y d S d S ) Nz/etc/docker-distribution/�docker-distributionz,/etc/docker-distribution/registry/config.ymlzUTF-8)�encoding�
rootdirectory� ztree )�
add_copy_spec�add_journal� path_join�path_exists�open�split�add_cmd_output)�self�conf�file�line�loc� r �H/usr/lib/python3/dist-packages/sos/report/plugins/docker_distribution.py�setup s
��"��zDockerDistribution.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr r r r r r
s
r c s e Zd ZdZ� fdd�Z� ZS )�RedHatDockerDistribution)r c s | � d� t� �� d S )Nz)/etc/docker-distribution/registry/*passwd)�add_forbidden_path�superr )r �� __class__r r r # s
zRedHatDockerDistribution.setup)r r r �packagesr �
__classcell__r r r# r r s r N)�sos.report.pluginsr r r r r r r r �<module> s