File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/atomichost.cpython-39.pyc
a
^��c@ � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin� PluginOptc @ s8 e Zd ZdZdZdZedddd�gZdd � Zd
d� Z dS )
�
AtomicHostzAtomic HostZ
atomichost)� container�infoFz!gather atomic info for each image)�defaultZdescc C s
| j �� S )N)ZpolicyZin_container)�self� r
�A/usr/lib/python3.9/site-packages/sos/report/plugins/atomichost.py�
check_enabled s zAtomicHost.check_enabledc C sH | � d� | �d�rD| �d�}t|d �� �D ]}| � d�|�� q.d S )Nzatomic host statusr zdocker images -q�outputzatomic info {0})Zadd_cmd_outputZ
get_optionZexec_cmd�set�
splitlines�format)r ZimagesZimager
r
r �setup s
zAtomicHost.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr Zoption_listr r r
r
r
r r s ��r N)Zsos.report.pluginsr r r r r
r
r
r �<module> s