File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/atomichost.cpython-36.pyc
3
3��d@ � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin� PluginOptc @ s8 e Zd ZdZdZd
Zedddd�gZdd � Zd
d� Z dS )�
AtomicHostzAtomic HostZ
atomichost� container�infoFz!gather atomic info for each image)�defaultZdescc C s
| j j� S )N)ZpolicyZin_container)�self� r
� /usr/lib/python3.6/atomichost.py�
check_enabled s zAtomicHost.check_enabledc C sL | j d� | jd�rH| jd�}x(t|d j� �D ]}| j dj|�� q0W 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)r )
�__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