Apache Mesos
Classes | Typedefs | Functions
internal::windows Namespace Reference

Classes

struct  _REPARSE_DATA_BUFFER
 
struct  ProcessData
 
struct  SymbolicLink
 

Typedefs

typedef struct internal::windows::_REPARSE_DATA_BUFFER REPARSE_DATA_BUFFER
 

Functions

Try< DWORD > get_file_attributes (const std::wstring &path)
 
Try< Nothingset_inherit (const os::WindowsFD &fd, const bool inherit)
 
std::wstring longpath (const std::string &path)
 
std::wstring longpath (const std::wstring &path)
 
Try< bool > reparse_point_attribute_set (const std::wstring &absolute_path)
 
Try< SymbolicLinkbuild_symbolic_link (const REPARSE_DATA_BUFFER &data)
 
Try< SharedHandleget_handle_follow (const std::string &absolute_path)
 
Try< SharedHandleget_handle_no_follow (const std::string &absolute_path)
 
Try< SymbolicLinkget_symbolic_link_data (const HANDLE handle)
 
Try< Nothingcreate_symbolic_link (const std::string &target, const std::string &reparse_point)
 
Result< std::string > fullpath (const std::string &path)
 
Try< SymbolicLinkquery_symbolic_link_data (const std::string &path)
 
Try< Nothingwait_on_delete (const std::string &path)
 
Option< std::map< std::wstring, std::wstring > > get_system_env ()
 
Option< std::wstring > create_process_env (const Option< std::map< std::string, std::string >> &env)
 
std::wstring stringify_args (const std::vector< std::string > &argv)
 
Try< ProcessDatacreate_process (const std::string &command, const std::vector< std::string > &argv, const Option< std::map< std::string, std::string >> &environment, const bool create_suspended=false, const Option< std::array< os::WindowsFD, 3 >> pipes=None())
 

Typedef Documentation

Function Documentation

Try<SymbolicLink> internal::windows::build_symbolic_link ( const REPARSE_DATA_BUFFER data)
inline
Try<ProcessData> internal::windows::create_process ( const std::string &  command,
const std::vector< std::string > &  argv,
const Option< std::map< std::string, std::string >> &  environment,
const bool  create_suspended = false,
const Option< std::array< os::WindowsFD, 3 >>  pipes = None() 
)
inline
Option<std::wstring> internal::windows::create_process_env ( const Option< std::map< std::string, std::string >> &  env)
inline
Try<Nothing> internal::windows::create_symbolic_link ( const std::string &  target,
const std::string &  reparse_point 
)
inline
Result<std::string> internal::windows::fullpath ( const std::string &  path)
inline
Try<DWORD> internal::windows::get_file_attributes ( const std::wstring &  path)
inline
Try<SharedHandle> internal::windows::get_handle_follow ( const std::string &  absolute_path)
inline
Try<SharedHandle> internal::windows::get_handle_no_follow ( const std::string &  absolute_path)
inline
Try<SymbolicLink> internal::windows::get_symbolic_link_data ( const HANDLE  handle)
inline
Option<std::map<std::wstring, std::wstring> > internal::windows::get_system_env ( )
inline
std::wstring internal::windows::longpath ( const std::string &  path)
inline
std::wstring internal::windows::longpath ( const std::wstring &  path)
inline
Try<SymbolicLink> internal::windows::query_symbolic_link_data ( const std::string &  path)
inline
Try<bool> internal::windows::reparse_point_attribute_set ( const std::wstring &  absolute_path)
inline
Try<Nothing> internal::windows::set_inherit ( const os::WindowsFD fd,
const bool  inherit 
)
inline
std::wstring internal::windows::stringify_args ( const std::vector< std::string > &  argv)
inline
Try<Nothing> internal::windows::wait_on_delete ( const std::string &  path)
inline