Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���b6 � @ 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�}| �|�rAt|��}|D ]}d|v r.|�� 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.yml� rootdirectory� ztree )� add_copy_spec�add_journal� path_join�path_exists�open�split�add_cmd_output)�self�conf�f�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� tt| ��� d S )Nz)/etc/docker-distribution/registry/*passwd)�add_forbidden_path�superr r )r �� __class__r r r # s zRedHatDockerDistribution.setup)r r r �packagesr � __classcell__r r r"