File: //lib/python3.6/site-packages/sos/upload/targets/__pycache__/__init__.cpython-36.pyc
3
mk�h�p � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZm Z yd dl
Z
dZW n ek
rh dZY nX yd dl
Z
dZW n ek
r� dZY nX G dd� d�ZdS ) � N)�getpass)�_sos)�
is_executable�TIMEOUT_DEFAULTTFc @ s� e Zd ZdZdZdZdZdZdZdZ dZ
dZdZdZ
dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZddd g ddddd
d d
dddddddd�ZdSdd
�Zdd� Zdd� Z e!dd� �Z"dd� Z#dd� Z$dd� Z%dd� Z&dd� Z'dd� Z(d d!� Z)d"d#� Z*d$d%� Z+d&d'� Z,d(d)� Z-dTd*d+�Z.d,d-� Z/d.d/� Z0d0d1� Z1d2d3� Z2d4d5� Z3d6d7� Z4d8d9� Z5d:d;� Z6d<d=� Z7d>d?� Z8d@dA� Z9dUdBdC�Z:dDdE� Z;dVdGdH�Z<dIdJ� Z=dWdKdL�Z>dMdN� Z?dXdOdP�Z@dYdQdR�ZAdS )Z�UploadTargetz�
This class is designed to upload files to a distribution
defined location. These files can be either sos reports,
sos collections, or other kind of files like: vmcores,
application cores, logs, etc.
z�
Upload a file (can be an sos report, a must-gather, or others) to
a distribution defined remote location
zGeneric UploadZgenericN�/zhttps://s3.amazonaws.com� F�auto)�upload_file�case_id�low_priorityZprofiles�
upload_url�upload_directory�upload_user�upload_pass�
upload_method�upload_no_ssl_verify�upload_protocol�upload_s3_endpoint�upload_s3_region�upload_s3_bucket�upload_s3_access_key�upload_s3_secret_key�upload_s3_object_prefix�
upload_targetc C s"