File: //usr/lib/python3/dist-packages/sos/upload/targets/__pycache__/__init__.cpython-310.pyc
o
([Qh�p � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZm Z zd dl
Z
dZW n ey3 dZY nw zd dl
Z
dZW n eyG dZY nw G dd� d�ZdS ) � N)�getpass)�_sos)�
is_executable�TIMEOUT_DEFAULTTFc @ s e Zd ZdZdZdZdZdZdZdZ dZ
dZdZdZ
dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZi d d�d
d�dd�d
g �dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�ddi�Zdddd�Zdd � Zd!d"� Z e!d#d$� �Z"d%d&� Z#d'd(� Z$d)d*� Z%d+d,� Z&d-d.� Z'd/d0� Z(d1d2� Z)d3d4� Z*d5d6� Z+d7d8� Z,d9d:� Z-ded;d<�Z.d=d>� Z/d?d@� Z0dAdB� Z1dCdD� Z2dEdF� Z3dGdH� Z4dIdJ� Z5dKdL� Z6dMdN� Z7dOdP� Z8dQdR� Z9dedSdT�Z:dUdV� Z;dfdXdY�Z<dZd[� Z=dfd\d]�Z>d^d_� Z?dgd`da�Z@ dhdbdc�ZAdS )i�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 Upload�genericN�/zhttps://s3.amazonaws.com� �upload_file�case_id�low_priorityF�profiles�
upload_url�upload_directory�upload_user�upload_pass�
upload_method�auto�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"