File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/__pycache__/hetzner.cpython-310.pyc
Back
o ;jIA � @ s< d Z ddlZddlZddlmZ ddlmZmZ zddlZdZ W n e y+ dZ Y nw e�e�Z dZdd� Zd d � Zdd� Zd d� Zdd� Zdd� Zdd� Zdd� Zdd� Zd6dd�Zd6dd�Zd6dd�Zd6dd �Zd6d!d"�Zd6d#d$�Zd7d&d'�Zd6d(d)�Zd*d+� Z d8d,d-�Z!d8d.d/�Z"d8d0d1�Z#d6d2d3�Z$d6d4d5�Z%dS )9aN Hetzner Cloud Module ==================== The Hetzner cloud module is used to control access to the hetzner cloud. https://docs.hetzner.cloud/ :depends: hcloud >= 1.10 Use of this module requires the ``key`` parameter to be set. .. code-block:: yaml my-hetzner-cloud-config: key: <your api key> driver: hetzner � N)�SaltCloudException�SaltCloudSystemExitTFZhetznerc C s t � du rdS t� du rdS tS )z* Check for hetzner configurations F)�get_configured_provider�get_dependencies�__virtualname__� r r �M/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/hetzner.py�__virtual__- s r c C s"