Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
mesos::internal::slave::Fetcher Class Reference

#include <fetcher.hpp>

Public Member Functions

 Fetcher (const Flags &flags)
 Fetcher (const process::Owned< FetcherProcess > &process)
virtual ~Fetcher ()
process::Future< Nothingfetch (const ContainerID &containerId, const CommandInfo &commandInfo, const std::string &sandboxDirectory, const Option< std::string > &user)
void kill (const ContainerID &containerId)

Static Public Member Functions

static Try< std::string > basename (const std::string &uri)
static Try< NothingvalidateUri (const std::string &uri)
static Try< NothingvalidateOutputFile (const std::string &path)
static Result< std::string > uriToLocalPath (const std::string &uri, const Option< std::string > &frameworksHome)
static bool isNetUri (const std::string &uri)

Constructor & Destructor Documentation

mesos::internal::slave::Fetcher::Fetcher ( const Flags flags)
mesos::internal::slave::Fetcher::Fetcher ( const process::Owned< FetcherProcess > &  process)
virtual mesos::internal::slave::Fetcher::~Fetcher ( )

Member Function Documentation

static Try<std::string> mesos::internal::slave::Fetcher::basename ( const std::string &  uri)
process::Future<Nothing> mesos::internal::slave::Fetcher::fetch ( const ContainerID &  containerId,
const CommandInfo &  commandInfo,
const std::string &  sandboxDirectory,
const Option< std::string > &  user 
static bool mesos::internal::slave::Fetcher::isNetUri ( const std::string &  uri)
void mesos::internal::slave::Fetcher::kill ( const ContainerID &  containerId)
static Result<std::string> mesos::internal::slave::Fetcher::uriToLocalPath ( const std::string &  uri,
const Option< std::string > &  frameworksHome 
static Try<Nothing> mesos::internal::slave::Fetcher::validateOutputFile ( const std::string &  path)
static Try<Nothing> mesos::internal::slave::Fetcher::validateUri ( const std::string &  uri)

The documentation for this class was generated from the following file: