#include <XrdClS3Factory.hh>
Public Member Functions | |
| Factory () | |
| Factory (const Factory &)=delete | |
| virtual | ~Factory () |
| virtual XrdCl::FilePlugIn * | CreateFile (const std::string &url) override |
| Create a file plug-in for the given URL. | |
| virtual XrdCl::FileSystemPlugIn * | CreateFileSystem (const std::string &url) override |
| Create a file system plug-in for the given URL. | |
| Public Member Functions inherited from XrdCl::PlugInFactory | |
| virtual | ~PlugInFactory () |
| Destructor. | |
Static Public Member Functions | |
| static std::string | CleanObjectName (const std::string &object) |
| static std::string_view | ExtractHostname (const std::string_view url) |
| static bool | GenerateHttpUrl (const std::string &s3_url, std::string &https_url, std::string *obj_result, std::string &err_msg) |
| static bool | GenerateV4Signature (const std::string &url, const std::string &verb, std::vector< std::pair< std::string, std::string > > &headers, std::string &auth_token, std::string &err_msg) |
| static std::string | GetBucketFromHttpsUrl (const std::string &url) |
| static std::tuple< std::string, std::string, bool > | GetCredentialsForBucket (const std::string &bucket, std::string &err_msg) |
| static const std::string & | GetMkdirSentinel () |
| static std::string | PathEncode (const std::string_view url) |
| static void | ResetCredCache () |
| static void | SetBucketCredentials (const std::string &bucket, const std::string &access_key, const std::string &secret_key) |
| static void | SetDefaultCredentials (const std::string &access_key, const std::string &secret_key) |
| static void | SetEndpoint (const std::string &endpoint) |
| static void | SetRegion (const std::string ®ion) |
| static void | SetService (const std::string &service) |
| static void | SetUrlStyle (const std::string &url_style) |
| static std::string_view | TrimView (const std::string_view str) |
Definition at line 39 of file XrdClS3Factory.hh.
| Factory::Factory | ( | ) |
Definition at line 83 of file XrdClS3Factory.cc.
References Factory(), XrdCl::DefaultEnv::GetEnv(), XrdCl::DefaultEnv::GetLog(), and XrdClS3::kLogXrdClS3.
Referenced by Factory(), and Factory().
|
inlinevirtual |
Definition at line 42 of file XrdClS3Factory.hh.
|
delete |
|
static |
Definition at line 291 of file XrdClS3Factory.cc.
References CleanObjectName().
Referenced by CleanObjectName(), GenerateHttpUrl(), XrdClS3::Filesystem::Locate(), XrdClS3::Filesystem::Query(), XrdClS3::Filesystem::Rm(), and XrdClS3::Filesystem::Stat().
|
overridevirtual |
Create a file plug-in for the given URL.
Implements XrdCl::PlugInFactory.
|
overridevirtual |
Create a file system plug-in for the given URL.
Implements XrdCl::PlugInFactory.
Definition at line 347 of file XrdClHttpFactory.cc.
References CreateFileSystem().
Referenced by CreateFileSystem().
|
static |
Definition at line 324 of file XrdClS3Factory.cc.
References ExtractHostname().
Referenced by ExtractHostname(), GenerateHttpUrl(), GenerateV4Signature(), and GetBucketFromHttpsUrl().
|
static |
Definition at line 411 of file XrdClS3Factory.cc.
References CleanObjectName(), ExtractHostname(), and GenerateHttpUrl().
Referenced by XrdClS3::Filesystem::DirList(), GenerateHttpUrl(), and XrdClS3::Filesystem::MkDir().
|
static |
Definition at line 481 of file XrdClS3Factory.cc.
References ExtractHostname(), GenerateV4Signature(), GetBucketFromHttpsUrl(), GetCredentialsForBucket(), PathEncode(), and TrimView().
Referenced by GenerateV4Signature().
|
static |
Definition at line 692 of file XrdClS3Factory.cc.
References ExtractHostname(), and GetBucketFromHttpsUrl().
Referenced by GenerateV4Signature(), and GetBucketFromHttpsUrl().
|
static |
Definition at line 736 of file XrdClS3Factory.cc.
References GetCredentialsForBucket(), and TrimView().
Referenced by GenerateV4Signature(), and GetCredentialsForBucket().
|
inlinestatic |
Definition at line 81 of file XrdClS3Factory.hh.
Referenced by XrdClS3::Filesystem::MkDir(), and XrdClS3::Filesystem::RmDir().
|
static |
Definition at line 803 of file XrdClS3Factory.cc.
References PathEncode().
Referenced by GenerateV4Signature(), and PathEncode().
|
inlinestatic |
Definition at line 96 of file XrdClS3Factory.hh.
|
inlinestatic |
Definition at line 93 of file XrdClS3Factory.hh.
|
inlinestatic |
Definition at line 89 of file XrdClS3Factory.hh.
|
inlinestatic |
Definition at line 85 of file XrdClS3Factory.hh.
|
inlinestatic |
Definition at line 87 of file XrdClS3Factory.hh.
|
inlinestatic |
Definition at line 86 of file XrdClS3Factory.hh.
|
inlinestatic |
Definition at line 88 of file XrdClS3Factory.hh.
|
static |
Definition at line 842 of file XrdClS3Factory.cc.
References TrimView().
Referenced by GenerateV4Signature(), GetCredentialsForBucket(), and TrimView().