|
Android-cuttlefish cvd tool
|
Functions | |
| std::string | ObjectUrl (const std::string &bucket, const std::string &object) |
| std::string | MediaUrl (const std::string &bucket, const std::string &object) |
| std::string | ListUrl (const std::string &bucket, const std::string &prefix, const std::string &page_token) |
| Result< std::string > | ObjectName (const GcsBuild &build, const std::string &artifact_name) |
| std::optional< uint64_t > | ParseSize (const std::string &size) |
| std::optional< uint64_t > | ArtifactSize (const GcsBuild &build, const std::string &artifact_name) |
| std::optional< std::string > | ArtifactGeneration (const GcsBuild &build, const std::string &artifact_name) |
| Result< std::string > | ArtifactUrl (const GcsBuild &build, const std::string &artifact_name) |
| Result< void > | VerifyArtifact (const GcsBuild &build, const std::string &artifact_name, const std::string &path) |
| Result< Json::Value > | ResponseJson (const HttpResponse< Json::Value > &response, const GcsBuild &build, bool authenticated) |
Variables | |
| constexpr char | kStorageApiUrl [] = "https://storage.googleapis.com/storage/v1" |
| constexpr long | kUnauthorized = 401 |
| constexpr long | kForbidden = 403 |
| constexpr char | kAnonymousHint [] |
| std::optional< std::string > cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ArtifactGeneration | ( | const GcsBuild & | build, |
| const std::string & | artifact_name | ||
| ) |
| std::optional< uint64_t > cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ArtifactSize | ( | const GcsBuild & | build, |
| const std::string & | artifact_name | ||
| ) |
| Result< std::string > cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ArtifactUrl | ( | const GcsBuild & | build, |
| const std::string & | artifact_name | ||
| ) |
| std::string cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ListUrl | ( | const std::string & | bucket, |
| const std::string & | prefix, | ||
| const std::string & | page_token | ||
| ) |
| std::string cuttlefish::anonymous_namespace{gcs_build_api.cpp}::MediaUrl | ( | const std::string & | bucket, |
| const std::string & | object | ||
| ) |
| Result< std::string > cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ObjectName | ( | const GcsBuild & | build, |
| const std::string & | artifact_name | ||
| ) |
| std::string cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ObjectUrl | ( | const std::string & | bucket, |
| const std::string & | object | ||
| ) |
| std::optional< uint64_t > cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ParseSize | ( | const std::string & | size | ) |
| Result< Json::Value > cuttlefish::anonymous_namespace{gcs_build_api.cpp}::ResponseJson | ( | const HttpResponse< Json::Value > & | response, |
| const GcsBuild & | build, | ||
| bool | authenticated | ||
| ) |
| Result< void > cuttlefish::anonymous_namespace{gcs_build_api.cpp}::VerifyArtifact | ( | const GcsBuild & | build, |
| const std::string & | artifact_name, | ||
| const std::string & | path | ||
| ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |