Current File : //lib/python2.7/site-packages/sos/plugins/crio.pyo
�
u��ec@sBddlmZmZmZmZdeeefd��YZdS(i����(tPlugintRedHatPlugintUbuntuPlugintSoSPredicatetCRIOcBsVeZdZdZdZd
Zdddefdd	defgZd
�Zd�Z	RS(sCRI-O containers
    tcriot	containerscri-os	cri-toolstallsGenable capture for all containers, even containers that have terminatedtfasttlogss#capture logs for running containerscCs�|jddddddg�|jddd	d
g�|jdd�|jd
�|jt|ddg��ddddddddg}|jg|D]}d|^q��d}|jd�r�d|}nd}d}|j|�}|j|�}|j|�}xH|D]@}	|jd|	�|jd�r|jd |	d!d"�qqWx%|D]}
|jd#|
d!d�q`Wx%|D]}|jd$|d!d�q�WdS(%Ns/etc/containerss/etc/crictl.yamls/etc/crio/crio.confs/etc/crio/seccomp.jsons!/etc/systemd/system/cri-o.services/etc/sysconfig/crio-*t
HTTP_PROXYtHTTPS_PROXYtNO_PROXYt	ALL_PROXYtunitsRsls -alhR /etc/cnitpackagess	cri-toolstinfotimagestpodstpssps -asps -vtstatstversions	crictl %sscrictl ps --quietRs%s -ascrictl images --quietscrictl pods --quietscrictl inspect %sR	scrictl logs -t %stsubdirt
containersscrictl inspecti %sscrictl inspectp %s(t
add_copy_spectadd_env_vartadd_journaltadd_cmd_outputtset_cmd_predicateRt
get_optiont_get_crio_list(tselftsubcmdststps_cmdtimg_cmdtpod_cmdRRRRtimagetpod((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pytsetupsR


	$



cCszg}|j|�}|ddkrvx%|dj�D]}|j|�q6W|rvd|dkrv|jd�qvn|S(Ntstatusitoutputt
deprecated(texec_cmdt
splitlinestappendtpop(Rtcmdtrettresulttent((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pyRZs(s	container(scri-os	cri-tools(
t__name__t
__module__t__doc__tplugin_nametprofilesRtFalsetoption_listR'R(((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pyRs		<N(tsos.pluginsRRRRR(((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pyt<module>s"