+
    i  c                   s.    ^ RI HtHt  ! R R]]4      tR# )i    )PluginRedHatPluginc                   sF   a  ] tR t^t o RtRtRtRtRtR	t	R
t
RtR tRtV tR# )Etcda  The etcd plugin collects information from the etcd key-value store. It
is primarily used by Kubernetes/OpenShift clusters and is often run inside
a container within the cluster.

Collections will default to executing within an `etcdctl` container, if one
is present, and only execute on the host if such a container is not
currently running. The `etcdctl` name preference is adopted from OpenShift
Container Platform deployments.

This plugin is written for etcd v3 and later.
zetcd pluginetcdc                s^   R pV P                    F  pV P                  V4      '       g   K  Tp M	  V P                  RR/4       V P                  RR.4       V P	                  RVRR7       V P                  RVR	7       . ROpT P                  V Uu. uF  pR
V 2NK
  	  upVR	7       R # u upi )N/etc/etcd/etcd.confZ	etcd_confz/etc/etcd/caz/etc/etcd/*.keyz/var/lib/etcd/T)	containerZ	recursivez	/etc/etcd)r   zetcdctl )Zversionzmember listz
alarm listzendpoint statuszendpoint health)
containersZget_container_by_nameZadd_file_tagsZadd_forbidden_pathZadd_dir_listingZadd_copy_specZadd_cmd_output)ZselfZetcd_conZconZsubcmdsZsubs   &    </usr/lib/python3.14/site-packages/sos/report/plugins/etcd.pysetupZ
Etcd.setup%   s    ??C))#.. #
 	!;
 	 	!
 	
 	-'+ 	 	-;(;
 	)01#xu1 	 	
1s   B* N)r   )r   ZsystemservicesZcluster)r   )Zetcdctlr   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Z
short_descZplugin_nameZpackagesZprofilesZfilesr   r
   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s9     
 JKH=H$E$JH 
  
    r   N)Zsos.report.pluginsr    r   r   r	   r   r   <module>r      s    46
6< 6
r   