Apache Mesos
Namespaces | Classes | Functions
mesos::uri Namespace Reference

Namespaces

 docker
 
 fetcher
 

Classes

class  CopyFetcherPlugin
 
class  CurlFetcherPlugin
 
class  DockerFetcherPlugin
 
class  Fetcher
 Provides an abstraction for fetching URIs. More...
 
class  HadoopFetcherPlugin
 

Functions

URI file (const std::string &path)
 Creates a file URI with the given path on the local host. More...
 
URI hdfs (const std::string &path, const Option< std::string > &host=None(), const Option< int > &port=None())
 Creates an hdfs URI with the given path. More...
 
URI http (const std::string &host, const std::string &path="/", const Option< int > &port=None(), const Option< std::string > &query=None(), const Option< std::string > &fragment=None(), const Option< std::string > &user=None(), const Option< std::string > &password=None())
 Creates an http URI with the given parameters. More...
 
URI https (const std::string &host, const std::string &path="/", const Option< int > &port=None(), const Option< std::string > &query=None(), const Option< std::string > &fragment=None(), const Option< std::string > &user=None(), const Option< std::string > &password=None())
 Creates an https URI with the given parameters. More...
 
URI construct (const std::string &scheme, const std::string &path="", const Option< std::string > &host=None(), const Option< int > &port=None(), const Option< std::string > &query=None(), const Option< std::string > &fragment=None(), const Option< std::string > &user=None(), const Option< std::string > &password=None())
 Construct an URI with the given parameters. More...
 

Function Documentation

URI mesos::uri::construct ( const std::string &  scheme,
const std::string &  path = "",
const Option< std::string > &  host = None(),
const Option< int > &  port = None(),
const Option< std::string > &  query = None(),
const Option< std::string > &  fragment = None(),
const Option< std::string > &  user = None(),
const Option< std::string > &  password = None() 
)

Construct an URI with the given parameters.

No validation will be performed in this function.

URI mesos::uri::file ( const std::string &  path)
inline

Creates a file URI with the given path on the local host.

For example, 'file:///etc/hosts'.

URI mesos::uri::hdfs ( const std::string &  path,
const Option< std::string > &  host = None(),
const Option< int > &  port = None() 
)
inline

Creates an hdfs URI with the given path.

URI mesos::uri::http ( const std::string &  host,
const std::string &  path = "/",
const Option< int > &  port = None(),
const Option< std::string > &  query = None(),
const Option< std::string > &  fragment = None(),
const Option< std::string > &  user = None(),
const Option< std::string > &  password = None() 
)
inline

Creates an http URI with the given parameters.

URI mesos::uri::https ( const std::string &  host,
const std::string &  path = "/",
const Option< int > &  port = None(),
const Option< std::string > &  query = None(),
const Option< std::string > &  fragment = None(),
const Option< std::string > &  user = None(),
const Option< std::string > &  password = None() 
)
inline

Creates an https URI with the given parameters.