????
Current Path : /lib/python3.6/site-packages/certbot/_internal/plugins/__pycache__/ |
Current File : //lib/python3.6/site-packages/certbot/_internal/plugins/__pycache__/disco.cpython-36.pyc |
3 گa�A � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm Z dd lmZ dd lmZ ddlm Z ddlmZ ddlZddlZddlZddlZdd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ eje�Z dddddddddddddd d!d"d#gZ!G d$d%� d%�Z"G d&d'� d'e�Z#d(Z$d)Z%d*Z&d+Z'e ej( e e)d,�d-d.�Z*e ej( e e)d,�d/d0�Z+ej(e ej( e e)d1�d2d3�Z,dS )4z.Utilities for plugins discovery and selection.� N)�Callable)�cast)�Dict)�Iterable)�Iterator)�List)�Mapping)�Optional)�Type)�Union)� configuration)�errors)� interfaces)� constants)�os)�Error�certbotzcertbot-apachezcertbot-dns-cloudflarezcertbot-dns-cloudxnszcertbot-dns-digitaloceanzcertbot-dns-dnsimplezcertbot-dns-dnsmadeeasyzcertbot-dns-gehirnzcertbot-dns-googlezcertbot-dns-linodezcertbot-dns-luadnszcertbot-dns-nsonezcertbot-dns-ovhzcertbot-dns-rfc2136zcertbot-dns-route53zcertbot-dns-sakuracloudz certbot-nginxc @ s� e Zd ZdZdZd2ejedd�dd�Ze e ed�dd �Zeejee d�d d��Z ee d�d d��Zee d�dd��Zee d�dd��Zeje dd�dd��Zeed�dd��Zejedd�dd��Zee ed�dd�Zeed�dd��Zd3e ej ejd�dd �Zee ed!�d"d#�Zeed�d$d%��Zeee f d�d&d'�Z!eed�d(d)��Z"ee e# d�d*d+��Z$eed�d,d-��Z%e d�d.d/�Z&e d�d0d1�Z'dS )4�PluginEntryPointzPlugin entry point.NF)�entry_point�with_prefix�returnc C s@ | j ||�| _|j� | _|| _d | _d | _d | _d| _d | _ d S )NF) �entry_point_to_plugin_name�name�load� plugin_clsr �warning_message�_initialized� _prepared�_hidden�_long_description)�selfr r � r! �/usr/lib/python3.6/disco.py�__init__: s zPluginEntryPoint.__init__)r r c C s$ || j kr | jrtj| j� dS dS )z(Check if the name refers to this plugin.TF)r r �logger�warning)r r r! r! r"