Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/libcloud/container/drivers/__pycache__/joyent.cpython-39.pyc
Ðазад
a q�h� � @ s0 d dl mZ d dlmZmZ G dd� de�ZdS )� )�Provider)�DockerContainerDriver�DockerConnectionc s8 e Zd ZdZejZdZdZe Z dZd � fdd � Z� Z S )�JoyentContainerDrivera Joyent Triton container driver class. >>> from libcloud.container.providers import get_driver >>> driver = get_driver('joyent') >>> conn = driver(host='https://us-east-1.docker.joyent.com', port=2376, key_file='key.pem', cert_file='cert.pem') z Joyent Tritonzhttp://joyent.comFN� localhost�H c s� t t| �j|||||||d� |�d�r,d}ddg}|D ]} |�| �r8|�| �}q8|sZ|r�|rb|sjtd��|| j_|| j_d| j_ n|| j_ || j_ || j_d S )N)�key�secret�secure�host�port�key_file� cert_filezhttps://Tzhttp://zGNeeds both private key file and certificate file for tls authentication)�superr �__init__� startswith�strip� Exception� connectionr r r r r ) �selfr r r r r r r �prefixes�prefix�� __class__� ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/libcloud/container/drivers/joyent.pyr '