Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.80.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : repository.cpython-36.opt-1.pyc
3

�<�e��@s@ddlmZddlZddlZejj�ZdgZGdd�de�Z	dS)�)�PluginLoaderN�
Repositorycs@eZdZ�fdd�Zedd��Zdd�Zdd�Zd	d
�Z�Z	S)rc		sJtt|�j�t�|_||_||_||_||_||_	||_
||_||_dS)N)
�superr�__init__�set�_plugins�_monitor_repository�_storage_factory�_hardware_inventory�_device_matcher�_device_matcher_udev�_plugin_instance_factory�_global_cfg�
_variables)	�selfZmonitor_repositoryZstorage_factoryZhardware_inventoryZdevice_matcherZdevice_matcher_udevZplugin_instance_factoryZ
global_cfg�	variables)�	__class__�� /usr/lib/python3.6/repository.pyrszRepository.__init__cCs|jS)N)r)rrrr�pluginsszRepository.pluginscCsd|_d|_tjjj|_dS)Nz
tuned.pluginsZplugin_)Z
_namespace�_prefix�tunedr�baseZPluginZ
_interface)rrrr�_set_loader_parameterssz!Repository._set_loader_parametersc	CsNtjd|�|j|�}||j|j|j|j|j|j|j	|j
�}|jj|�|S)Nzcreating plugin %s)
�log�debugZload_pluginrr	r
rrr
rrr�add)rZplugin_nameZ
plugin_clsZplugin_instancerrr�create s
zRepository.createcCs&tjd|�|j�|jj|�dS)Nzremoving plugin %s)rrZcleanupr�remove)rZpluginrrr�delete(szRepository.delete)
�__name__�
__module__�__qualname__r�propertyrrrr�
__classcell__rr)rrr	s
)
Ztuned.utils.plugin_loaderrZtuned.plugins.baserZ
tuned.logsZlogs�getr�__all__rrrrr�<module>s


© 2025 XylotrechusZ