Apache Mesos
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
mesos::internal::slave::Provisioner Class Reference

#include <provisioner.hpp>

Public Member Functions

 Provisioner (process::Owned< ProvisionerProcess > process)
 
virtual ~Provisioner ()
 
virtual process::Future< Nothingrecover (const hashset< ContainerID > &knownContainerIds) const
 
virtual process::Future
< ProvisionInfo
provision (const ContainerID &containerId, const Image &image) const
 
virtual process::Future< bool > destroy (const ContainerID &containerId) const
 
virtual process::Future< NothingpruneImages (const std::vector< Image > &excludedImages) const
 

Static Public Member Functions

static Try< process::Owned
< Provisioner > > 
create (const Flags &flags, SecretResolver *secretResolver=nullptr)
 

Protected Member Functions

 Provisioner ()
 

Constructor & Destructor Documentation

mesos::internal::slave::Provisioner::Provisioner ( process::Owned< ProvisionerProcess process)
explicit
virtual mesos::internal::slave::Provisioner::~Provisioner ( )
virtual
mesos::internal::slave::Provisioner::Provisioner ( )
inlineprotected

Member Function Documentation

static Try<process::Owned<Provisioner> > mesos::internal::slave::Provisioner::create ( const Flags flags,
SecretResolver secretResolver = nullptr 
)
static
virtual process::Future<bool> mesos::internal::slave::Provisioner::destroy ( const ContainerID &  containerId) const
virtual
virtual process::Future<ProvisionInfo> mesos::internal::slave::Provisioner::provision ( const ContainerID &  containerId,
const Image &  image 
) const
virtual
virtual process::Future<Nothing> mesos::internal::slave::Provisioner::pruneImages ( const std::vector< Image > &  excludedImages) const
virtual
virtual process::Future<Nothing> mesos::internal::slave::Provisioner::recover ( const hashset< ContainerID > &  knownContainerIds) const
virtual

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