File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/executors/__pycache__/docker.cpython-310.pyc
Back
o ;j� � @ s0 d Z dZdddd�Zdd� Zdd � Zd d� ZdS ) zX Docker executor module .. versionadded:: 2019.2.0 Used with the docker proxy minion. Zdockerz docker.slszdocker.applyzdocker.highstate)z state.slszstate.applyzstate.highstatec C s4 dt vrdS t �di ��d�tkrddt� �fS dS )N�proxy)FzBDocker executor is only meant to be used with Docker Proxy MinionsZ proxytypeFzProxytype does not match: T)Z__opts__�get�__virtualname__� r r �I/opt/saltstack/salt/lib/python3.10/site-packages/salt/executors/docker.py�__virtual__ s r c C s� |d dkrt d | ||||�S |d tv r-t d | |tt|d | d d g| |�S td | d d |d g|�R i |��S )z: Directly calls the given function with arguments Zfunzsaltutil.find_jobzdirect_call.executer �namezdocker.call)Z __executors__�DOCKER_MOD_MAPZ__salt__)�opts�data�func�args�kwargsr r r �execute s �(r c C s dS )z� Allow all calls to be passed through to docker container. The docker call will use direct_call, which will return back if the module was unable to be run. Tr )�functionr r r �allow_missing_func. s r N)�__doc__r r r r r r r r r �<module> s �
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings