20 #ifndef BUILDCACHE_S3_CACHE_PROVIDER_HPP_
21 #define BUILDCACHE_S3_CACHE_PROVIDER_HPP_
23 #include <cache/http_cache_provider.hpp>
30 bool connect(
const std::string& host_description)
override;
36 std::string
sign_string(
const std::string& str)
const;
38 std::vector<std::string>
get_header(
const std::string& method,
39 const std::string& key)
const override;
47 #endif // BUILDCACHE_S3_CACHE_PROVIDER_HPP_
Definition: s3_cache_provider.hpp:27
Definition: http_cache_provider.hpp:27
The top level namespace.
Definition: compressor.cpp:34
std::vector< std::string > get_header(const std::string &method, const std::string &key) const override
Get the headers for the HTTP request.
Definition: s3_cache_provider.cpp:72
bool connect(const std::string &host_description) override
Connect to the remote cache.
Definition: s3_cache_provider.cpp:59
std::string sign_string(const std::string &str) const
Sign a string (to create an AWS authorization string).
Definition: s3_cache_provider.cpp:89