#include <copy.hpp>
|
static const char | NAME [] |
|
mesos::uri::CopyFetcherPlugin::~CopyFetcherPlugin |
( |
| ) |
|
|
inlineoverride |
process::Future<Nothing> mesos::uri::CopyFetcherPlugin::fetch |
( |
const URI & |
uri, |
|
|
const std::string & |
directory, |
|
|
const Option< std::string > & |
data = None() , |
|
|
const Option< std::string > & |
outputFileName = None() |
|
) |
| const |
|
overridevirtual |
Fetches a URI to the given directory.
To avoid blocking or crashing the current thread, this method might choose to fork subprocesses for third party commands.
- Parameters
-
uri | the URI to fetch |
directory | the directory the URI will be downloaded to |
data | the optional user defined data |
outputFileName | the optional output file name |
Implements mesos::uri::Fetcher::Plugin.
std::string mesos::uri::CopyFetcherPlugin::name |
( |
| ) |
const |
|
overridevirtual |
std::set<std::string> mesos::uri::CopyFetcherPlugin::schemes |
( |
| ) |
const |
|
overridevirtual |
const char mesos::uri::CopyFetcherPlugin::NAME[] |
|
static |
The documentation for this class was generated from the following file: