17 #ifndef __URI_FETCHERS_DOCKER_HPP__ 18 #define __URI_FETCHERS_DOCKER_HPP__ 31 class DockerFetcherPluginProcess;
55 bool enableAuthServiceUriFallback =
true);
58 const std::string& directory,
59 const std::string& blobSum);
63 std::set<std::string>
schemes()
const override;
65 std::string
name()
const override;
69 const std::string& directory,
83 #endif // __URI_FETCHERS_DOCKER_HPP__ std::string name() const override
Returns the name that this plugin registered with.
std::set< std::string > schemes() const override
Returns the URI schemes that this plugin handles.
Option< JSON::Object > docker_config
Definition: docker.hpp:42
Definition: docker.hpp:34
Option< Duration > docker_stall_timeout
Definition: docker.hpp:43
static const char NAME[]
Definition: docker.hpp:46
Definition: executor.hpp:48
process::Future< Nothing > fetch(const URI &uri, const std::string &directory, const Option< std::string > &data=None(), const Option< std::string > &outputFileName=None()) const override
Fetches a URI to the given directory.
~DockerFetcherPlugin() override
static Try< process::Owned< Fetcher::Plugin > > create(const Flags &flags, bool enableAuthServiceUriFallback=true)
Definition: docker.hpp:37
Represents a fetcher plugin that handles one or more URI schemes.
Definition: fetcher.hpp:52
static std::string getBlobPath(const std::string &directory, const std::string &blobSum)