Apache Mesos
Public Member Functions | List of all members
mesos::internal::Files Class Reference

#include <files.hpp>

Public Member Functions

 Files (const Option< std::string > &authenticationRealm=None(), const Option< mesos::Authorizer * > &authorizer=None())
 
 ~Files ()
 
process::Future< Nothingattach (const std::string &path, const std::string &virtualPath, const Option< lambda::function< process::Future< bool >(const Option< process::http::authentication::Principal > &)>> &authorized=None())
 
void detach (const std::string &virtualPath)
 
process::Future< Try< std::list< FileInfo >, FilesError > > browse (const std::string &path, const Option< process::http::authentication::Principal > &principal)
 
process::Future< Try< std::tuple< size_t, std::string >, FilesError > > read (const size_t offset, const Option< size_t > &length, const std::string &path, const Option< process::http::authentication::Principal > &principal)
 

Constructor & Destructor Documentation

mesos::internal::Files::Files ( const Option< std::string > &  authenticationRealm = None(),
const Option< mesos::Authorizer * > &  authorizer = None() 
)
mesos::internal::Files::~Files ( )

Member Function Documentation

process::Future<Nothing> mesos::internal::Files::attach ( const std::string &  path,
const std::string &  virtualPath,
const Option< lambda::function< process::Future< bool >(const Option< process::http::authentication::Principal > &)>> &  authorized = None() 
)
process::Future<Try<std::list<FileInfo>, FilesError> > mesos::internal::Files::browse ( const std::string &  path,
const Option< process::http::authentication::Principal > &  principal 
)
void mesos::internal::Files::detach ( const std::string &  virtualPath)
process::Future<Try<std::tuple<size_t, std::string>, FilesError> > mesos::internal::Files::read ( const size_t  offset,
const Option< size_t > &  length,
const std::string &  path,
const Option< process::http::authentication::Principal > &  principal 
)

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