17 #ifndef __SLAVE_CONTAINERIZER_FETCHER_HPP__ 18 #define __SLAVE_CONTAINERIZER_FETCHER_HPP__ 71 const std::string& uri,
74 static bool isNetUri(
const std::string& uri);
89 const ContainerID& containerId,
90 const CommandInfo& commandInfo,
91 const std::string& sandboxDirectory,
96 void kill(
const ContainerID& containerId);
107 #endif // __SLAVE_CONTAINERIZER_FETCHER_HPP__
static Try< std::string > basename(const std::string &uri)
Definition: fetcher.hpp:49
Result< std::string > user(Option< uid_t > uid=None())
Definition: su.hpp:284
Fetcher(const Flags &flags)
static Try< Nothing > validateUri(const std::string &uri)
static Result< std::string > uriToLocalPath(const std::string &uri, const Option< std::string > &frameworksHome)
process::Future< Nothing > fetch(const ContainerID &containerId, const CommandInfo &commandInfo, const std::string &sandboxDirectory, const Option< std::string > &user)
static bool isNetUri(const std::string &uri)
void kill(const ContainerID &containerId)
Definition: attributes.hpp:24
Definition: executor.hpp:48
static Try< Nothing > validateOutputFile(const std::string &path)