17 #ifndef __URI_FETCHERS_DOCKER_HPP__
18 #define __URI_FETCHERS_DOCKER_HPP__
31 class DockerFetcherPluginProcess;
51 virtual std::set<std::string>
schemes()
const;
53 virtual std::string
name()
const;
57 const std::string& directory,
70 #endif // __URI_FETCHERS_DOCKER_HPP__
virtual process::Future< Nothing > fetch(const URI &uri, const std::string &directory, const Option< std::string > &data=None()) const
Fetches a URI to the given directory.
virtual std::string name() const
Returns the name that this plugin registered with.
Option< JSON::Object > docker_config
Definition: docker.hpp:42
virtual ~DockerFetcherPlugin()
Definition: docker.hpp:34
static Try< process::Owned< Fetcher::Plugin > > create(const Flags &flags)
static const char NAME[]
Definition: docker.hpp:45
virtual std::set< std::string > schemes() const
Returns the URI schemes that this plugin handles.
#define flags
Definition: decoder.hpp:18
Definition: docker.hpp:37
Represents a fetcher plugin that handles one or more URI schemes.
Definition: fetcher.hpp:52