CernVM-FS
2.12.0
|
Classes | |
struct | GatewayKey |
Functions | |
int | APIVersion () |
GatewayKey | ReadGatewayKey (const std::string &key_file_name) |
bool | ReadKeys (const std::string &key_file_name, std::string *key_id, std::string *secret) |
bool | ParseKey (const std::string &body, std::string *key_id, std::string *secret) |
This file is part of the CernVM File System.
int gateway::APIVersion | ( | ) |
Definition at line 26 of file gateway_util.cc.
Referenced by upload::SessionContext::DoUpload(), MakeAcquireRequest(), and anonymous_namespace{repository_session.cc}::MakeAcquireRequest().
bool gateway::ParseKey | ( | const std::string & | body, |
std::string * | key_id, | ||
std::string * | secret | ||
) |
Definition at line 59 of file gateway_util.cc.
Referenced by ReadKeys().
GatewayKey gateway::ReadGatewayKey | ( | const std::string & | key_file_name | ) |
Definition at line 28 of file gateway_util.cc.
Referenced by publish::Publisher().
bool gateway::ReadKeys | ( | const std::string & | key_file_name, |
std::string * | key_id, | ||
std::string * | secret | ||
) |
Definition at line 37 of file gateway_util.cc.
Referenced by swissknife::CommandLease::Main(), ReadGatewayKey(), and upload::GatewayUploader::ReadKey().