Classes | |
class | HTTPSCertAuth |
class | HTTPSCertAuthenticate |
Functions | |
def | checkFileName (fileName) |
def | checkSSL (opts) |
def | encode (args, files) |
def | filetype (filename) |
def | getURL (filename, destination) |
def | main (args) |
def | marshall (args, files, request) |
def | print_help (args) |
def | registerFileAtLogServer (filename, destination, tags) |
def | startUpload (url, filename) |
def | upload (url, args, files) |
Variables | |
HTTPS = httplib.HTTPS | |
ssl_cert_file = None | |
ssl_key_file = None | |
def alcaDQMUpload.checkFileName | ( | fileName | ) |
Definition at line 163 of file alcaDQMUpload.py.
References print().
Referenced by main().
def alcaDQMUpload.checkSSL | ( | opts | ) |
Definition at line 117 of file alcaDQMUpload.py.
References print().
Referenced by main().
def alcaDQMUpload.encode | ( | args, | |
files | |||
) |
Encode form (name, value) and (name, filename, type) elements into multi-part/form-data. We don't actually need to know what we are uploading here, so just claim it's all text/plain.
Definition at line 32 of file alcaDQMUpload.py.
References filetype(), and str.
Referenced by trigger::TriggerEvent.addCollections(), uploads.uploader.get_upload_session_id(), util.getRunInfo.getFilesForRun(), trackerTFP::LayerEncoding.LayerEncoding(), marshall(), TauSpinnerTableProducer.printModuleInfo(), ConfigBuilder.ConfigBuilder.profileOptions(), util.getRunInfo.runGetDatasetsAvailable(), cmsswSequenceInfo.serve(), uploadConditions.ConditionsUploader.uploadFile(), and hdf5Writer.writeH5File().
def alcaDQMUpload.filetype | ( | filename | ) |
def alcaDQMUpload.getURL | ( | filename, | |
destination | |||
) |
Definition at line 201 of file alcaDQMUpload.py.
References createfilelist.int, and python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.main | ( | args | ) |
Definition at line 238 of file alcaDQMUpload.py.
References checkFileName(), checkSSL(), getURL(), print(), registerFileAtLogServer(), and startUpload().
def alcaDQMUpload.marshall | ( | args, | |
files, | |||
request | |||
) |
Marshalls the arguments to the CGI script as multi-part/form-data, not the default application/x-www-form-url-encoded. This improves the transfer of the large inputs and eases command line invocation of the CGI script.
Definition at line 53 of file alcaDQMUpload.py.
Referenced by upload().
def alcaDQMUpload.print_help | ( | args | ) |
Definition at line 92 of file alcaDQMUpload.py.
def alcaDQMUpload.registerFileAtLogServer | ( | filename, | |
destination, | |||
tags | |||
) |
Definition at line 221 of file alcaDQMUpload.py.
References print(), and python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.startUpload | ( | url, | |
filename | |||
) |
Definition at line 179 of file alcaDQMUpload.py.
References geometryDiff.file, print(), SiPixelLorentzAngle_cfi.read, and upload().
Referenced by main().
def alcaDQMUpload.upload | ( | url, | |
args, | |||
files | |||
) |
Definition at line 65 of file alcaDQMUpload.py.
References marshall().
Referenced by CommissioningHistosUsingDb.doUploadAnal(), CommissioningHistosUsingDb.doUploadConf(), startUpload(), ApvTimingHistosUsingDb.uploadConfigurations(), LatencyHistosUsingDb.uploadConfigurations(), and FineDelayHistosUsingDb.uploadConfigurations().
alcaDQMUpload.HTTPS = httplib.HTTPS |
Definition at line 14 of file alcaDQMUpload.py.
alcaDQMUpload.ssl_cert_file = None |
Definition at line 19 of file alcaDQMUpload.py.
alcaDQMUpload.ssl_key_file = None |
Definition at line 18 of file alcaDQMUpload.py.