CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
s3fanout Namespace Reference

Classes

struct  Statistics
 
struct  JobInfo
 
struct  S3FanOutDnsEntry
 
class  S3FanoutManager
 

Enumerations

enum  AuthzMethods { kAuthzAwsV2 = 0, kAuthzAwsV4, kAuthzAzure }
 
enum  Failures {
  kFailOk = 0, kFailLocalIO, kFailBadRequest, kFailForbidden,
  kFailHostResolve, kFailHostConnection, kFailNotFound, kFailServiceUnavailable,
  kFailRetry, kFailOther, kFailNumEntries
}
 

Functions

static size_t CallbackCurlHeader (void *ptr, size_t size, size_t nmemb, void *info_link)
 
static size_t CallbackCurlData (void *ptr, size_t size, size_t nmemb, void *info_link)
 
static size_t CallbackCurlBody (char *, size_t size, size_t nmemb, void *)
 
const char * Code2Ascii (const Failures error)
 

Detailed Description

This file is part of the CernVM File System.

Enumeration Type Documentation

Enumerator
kAuthzAwsV2 
kAuthzAwsV4 
kAuthzAzure 

Definition at line 32 of file s3fanout.h.

Possible return values.

Enumerator
kFailOk 
kFailLocalIO 
kFailBadRequest 
kFailForbidden 
kFailHostResolve 
kFailHostConnection 
kFailNotFound 
kFailServiceUnavailable 
kFailRetry 
kFailOther 
kFailNumEntries 

Definition at line 41 of file s3fanout.h.

Function Documentation

static size_t s3fanout::CallbackCurlBody ( char *  ,
size_t  size,
size_t  nmemb,
void *   
)
static

For the time being, ignore all received information in the HTTP body

Definition at line 153 of file s3fanout.cc.

Referenced by s3fanout::S3FanoutManager::AcquireCurlHandle().

Here is the caller graph for this function:

static size_t s3fanout::CallbackCurlData ( void *  ptr,
size_t  size,
size_t  nmemb,
void *  info_link 
)
static

Called by curl for every new chunk to upload.

Definition at line 131 of file s3fanout.cc.

Here is the call graph for this function:

static size_t s3fanout::CallbackCurlHeader ( void *  ptr,
size_t  size,
size_t  nmemb,
void *  info_link 
)
static

Called by curl for every HTTP header. Not called for file:// transfers.

Definition at line 65 of file s3fanout.cc.

Here is the call graph for this function:

const char* s3fanout::Code2Ascii ( const Failures  error)
inline

Definition at line 57 of file s3fanout.h.

Referenced by upload::S3Uploader::MainCollectResults().

Here is the caller graph for this function: