403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/__pycache__/test.cpython-310.pyc
o

;j��@sLdZddlZdd�Zdd�Zddd	�Zd
d�Zdd
d�Zdd�Zdd�ZdS)zM
This runner is used only for test purposes and serves no production purpose
�NcOs dd�|��D�}||d�}|S)z�
    Output the given args and kwargs

    Kwargs will be filtered for 'private' keynames.

    CLI Example:

    .. code-block:: bash

        salt-run test.arg foo bar=baz
    cSs i|]\}}|�d�s||�qS)�__)�
startswith)�.0�k�v�r�E/opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/test.py�
<dictcomp>s zarg.<locals>.<dictcomp>��args�kwargs)�items�rr�retrrr�args
�rcOs||d�}|S)z
    Output the given args and kwargs

    CLI Example:

    .. code-block:: bash

        salt-run test.arg foo __bar=baz
    r
rrrrr�raw_args�r�uscCsgd�gd�d�}|�|d�S)z�
    Return common metasyntactic variables for the given locality

    CLI Example:

    .. code-block:: bash

        salt-run test.metasyntactic locality=uk
    )�foo�barZbazZquxZquuxZquuzZcorgeZgraultZgarplyZwaldoZfredZplughZxyzzyZthud)ZwibbleZwobbleZwubbleZflob)r�ukN)�get)Zlocality�lookuprrr�
metasyntactic.s�rcCstd�dS)zv
    Print 'foo' and return 'bar'

    CLI Example:

    .. code-block:: bash

        salt-run test.stdout_print
    rr)�printrrrr�stdout_printNs
r�
cCst|�t�|�dS)z}
    Sleep t seconds, then return True

    CLI Example:

    .. code-block:: bash

        salt-run test.sleep s_time=5
    T)r�time�sleep)Zs_timerrrr\s

rcCs:d}tdd�D]}t�dd|�d�id�t�d�q|S)	z�
    Fire a stream of 100 test events, then return True

    CLI Example:

    .. code-block:: bash

        salt-run test.stream
    T��d�messagez
Runner is z% doneZprogressg�������?)�rangeZ
__jid_event__Z
fire_eventrr)r�irrr�streamks

r#cCstS)z�
    .. versionadded:: 2018.3.0

    Return the configuration options of the master.

    CLI Example:

    .. code-block:: bash

        salt-run test.get_opts
    )Z__opts__rrrr�get_opts|sr$)r)r)	�__doc__rrrrrrr#r$rrrr�<module>s
 


Youez - 2016 - github.com/yon3zu
LinuXploit