File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/grafana4.cpython-310.pyc
o
�N�gy � @ s� d Z zddlZdZW n ey dZY nw dZdd� Zdd � Zd
d� ZdMd
d�ZdMdd�Z dMdd�Z
dMdd�ZdMdd�ZdMdd�Z
dMdd�ZdMdd�ZdMdd�ZdMdd �ZdMd!d"�ZdMd#d$�ZdMd%d&�ZdNd'd(�ZdNd)d*�ZdNd+d,�ZdNd-d.�ZdNd/d0�ZdNd1d2�ZdNd3d4�ZdNd5d6�ZdMd7d8�ZdMd9d:�ZdMd;d<�ZdNd=d>�Z dNd?d@�Z!dNdAdB�Z"dNdCdD�Z#dNdEdF�Z$dNdGdH�Z%dNdIdJ�Z&dNdKdL�Z'dS )Oa�
Module for working with the Grafana v4 API
.. versionadded:: 2017.7.0
:depends: requests
:configuration: This module requires a configuration profile to be configured
in the minion config, minion pillar, or master config.
The module will use the 'grafana' key by default, if defined.
For example:
.. code-block:: yaml
grafana:
grafana_url: http://grafana.localhost
grafana_user: admin
grafana_password: admin
grafana_timeout: 3
� NTFZgrafana4c C s t rtS dd�t�fS )z,
Only load if requests is installed
FzAThe "{}" module could not be loaded: "requests" is not installed.)�HAS_LIBS�__virtualname__�format� r r �I/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/grafana4.py�__virtual__"