文件操作 - hostname_map.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/sos/cleaner/mappings/__pycache__/hostname_map.cpython-310.pyc
编辑文件内容
o i��d/( � @ s( d dl Z d dlmZ G dd� de�ZdS )� N)�SoSMapc s� e Zd ZdZg d�ZddgZdZdZdZi Z i Z dd� Zd d � Zdd� Z d d� Z� fdd�Zdd� Zdd� Zdd� Zdd� Z� ZS )�SoSHostnameMapaL Mapping store for hostnames and domain names Hostnames are obfuscated using an incrementing counter based on the total number of hosts matched regardless of domain name. Domain names are obfuscated based on the host's hostname, plus any user defined domains passed in by the `--domains` options. Domains are obfuscated as whole units, meaning the domains 'example.com' and 'host.foo.example.com' will be separately obfuscated with no relation for example as 'obfuscatedomdain1.com' and 'obfuscatedomain2.com'. Top-level domains are left untouched. )� localhostz.*localdomain.*z^com..*�www�api) z.yamlz.ymlz.crtz.keyz.pemz.logz.repoz.rulesz.confz.cfgr c C s� | j �� D ]f\}}t|�d��dkr | j | | j|�d�d <