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) |
def alcaDQMUpload.checkFileName | ( | fileName | ) |
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(), readEcalDQMStatus.read, and str.
Referenced by BeautifulSoup.UnicodeDammit._detectEncoding(), trigger::TriggerEvent.addCollections(), util.getRunInfo.getFilesForRun(), marshall(), util.getRunInfo.runGetDatasetsAvailable(), and cmsswSequenceInfo.serve().
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 FrontierConditions_GlobalTag_cff.file, print(), readEcalDQMStatus.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().