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

#include <backend.hpp>

Inheritance diagram for mesos::internal::slave::Backend:
mesos::internal::slave::AufsBackend mesos::internal::slave::BindBackend mesos::internal::slave::CopyBackend mesos::internal::slave::OverlayBackend

Public Member Functions

virtual ~Backend ()
 
virtual process::Future< Nothingprovision (const std::vector< std::string > &layers, const std::string &rootfs, const std::string &backendDir)=0
 
virtual process::Future< bool > destroy (const std::string &rootfs, const std::string &backendDir)=0
 

Static Public Member Functions

static hashmap< std::string,
process::Owned< Backend > > 
create (const Flags &flags)
 

Constructor & Destructor Documentation

virtual mesos::internal::slave::Backend::~Backend ( )
inlinevirtual

Member Function Documentation

static hashmap<std::string, process::Owned<Backend> > mesos::internal::slave::Backend::create ( const Flags flags)
static
virtual process::Future<bool> mesos::internal::slave::Backend::destroy ( const std::string &  rootfs,
const std::string &  backendDir 
)
pure virtual
virtual process::Future<Nothing> mesos::internal::slave::Backend::provision ( const std::vector< std::string > &  layers,
const std::string &  rootfs,
const std::string &  backendDir 
)
pure virtual

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