o
    Û1j”  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚIndependentPluginc                   @   s,   e Zd ZdZdZdZdZdZdZdd„ Z	dS )	ÚHelmz†The Helm plugin collects information about the currently installed
    Helm charts, plugins, and repositories used in delpoyments
    z)The k8s templating and deployment managerÚhelm)Ú	containerÚpackagemanager)r   c                    s$   g d¢}ˆ   ‡ fdd„|D ƒ¡ d S )N)z	repo listzplugin listzlist -aÚversionc                    s   g | ]
}ˆ j › d |› �‘qS )ú )Úhelm_cmd)Ú.0Úsubcmd©Úself© ú9/usr/lib/python3/dist-packages/sos/report/plugins/helm.pyÚ
<listcomp>$   s    ÿzHelm.setup.<locals>.<listcomp>)Úadd_cmd_output)r   Úhelm_subcmdsr   r   r   Úsetup   s   ÿz
Helm.setupN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
short_descÚplugin_nameÚprofilesÚpackagesr
   r   r   r   r   r   r      s    r   N)Úsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   