File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/ret.cpython-310.pyc
o
�N�g� � @ s0 d Z ddlZdd� Zdd� Zdd� Zd d
� ZdS )zX
Module to integrate with the returner system and retrieve data sent to a salt returner
� Nc C � t j�tt�}|| � d� |�S )z�
Return the information for a specified job id
CLI Example:
.. code-block:: bash
salt '*' ret.get_jid redis 20421104181954700505
z.get_jid��salt�loader� returnersZ__opts__Z__salt__)�returnerZjidr � r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/ret.py�get_jid �
r
c C r )z�
Return info about last time fun was called on each minion
CLI Example:
.. code-block:: bash
salt '*' ret.get_fun mysql network.interfaces
z.get_funr )r Zfunr r r r �get_fun r r c C � t j�tt�}|| � d� � S )zw
Return a list of all job ids
CLI Example:
.. code-block:: bash
salt '*' ret.get_jids mysql
z .get_jidsr �r r r r r �get_jids$ �
r c C r
)zz
Return a list of all minions
CLI Example:
.. code-block:: bash
salt '*' ret.get_minions mysql
z.get_minionsr r r r r �get_minions2 r r )�__doc__Zsalt.loaderr r
r r r r r r r �<module> s