Apache Mesos
Public Member Functions | List of all members
mesos::csi::v0::VolumeManager Class Reference

#include <v0_volume_manager.hpp>

Inheritance diagram for mesos::csi::v0::VolumeManager:
mesos::csi::VolumeManager

Public Member Functions

 VolumeManager (const std::string &rootDir, const CSIPluginInfo &info, const hashset< Service > &services, const process::grpc::client::Runtime &runtime, ServiceManager *serviceManager, Metrics *metrics)
 
 VolumeManager (const VolumeManager &)=delete
 
VolumeManageroperator= (const VolumeManager &)=delete
 
 ~VolumeManager () override
 
process::Future< Nothingrecover () override
 
process::Future< std::vector< VolumeInfo > > listVolumes () override
 
process::Future< BytesgetCapacity (const types::VolumeCapability &capability, const google::protobuf::Map< std::string, std::string > &parameters) override
 
process::Future< VolumeInfocreateVolume (const std::string &name, const Bytes &capacity, const types::VolumeCapability &capability, const google::protobuf::Map< std::string, std::string > &parameters) override
 
process::Future< Option< Error > > validateVolume (const VolumeInfo &volumeInfo, const types::VolumeCapability &capability, const google::protobuf::Map< std::string, std::string > &parameters) override
 
process::Future< bool > deleteVolume (const std::string &volumeId) override
 
process::Future< NothingattachVolume (const std::string &volumeId) override
 
process::Future< NothingdetachVolume (const std::string &volumeId) override
 
process::Future< NothingpublishVolume (const std::string &volumeId) override
 
process::Future< NothingunpublishVolume (const std::string &volumeId) override
 

Additional Inherited Members

- Static Public Member Functions inherited from mesos::csi::VolumeManager
static Try< process::Owned< VolumeManager > > create (const std::string &rootDir, const CSIPluginInfo &info, const hashset< Service > &services, const std::string &apiVersion, const process::grpc::client::Runtime &runtime, ServiceManager *serviceManager, Metrics *metrics)
 

Constructor & Destructor Documentation

mesos::csi::v0::VolumeManager::VolumeManager ( const std::string &  rootDir,
const CSIPluginInfo &  info,
const hashset< Service > &  services,
const process::grpc::client::Runtime runtime,
ServiceManager serviceManager,
Metrics metrics 
)
mesos::csi::v0::VolumeManager::VolumeManager ( const VolumeManager )
delete
mesos::csi::v0::VolumeManager::~VolumeManager ( )
overridevirtual

Reimplemented from mesos::csi::VolumeManager.

Member Function Documentation

process::Future<Nothing> mesos::csi::v0::VolumeManager::attachVolume ( const std::string &  volumeId)
overridevirtual
process::Future<VolumeInfo> mesos::csi::v0::VolumeManager::createVolume ( const std::string &  name,
const Bytes capacity,
const types::VolumeCapability &  capability,
const google::protobuf::Map< std::string, std::string > &  parameters 
)
overridevirtual
process::Future<bool> mesos::csi::v0::VolumeManager::deleteVolume ( const std::string &  volumeId)
overridevirtual
process::Future<Nothing> mesos::csi::v0::VolumeManager::detachVolume ( const std::string &  volumeId)
overridevirtual
process::Future<Bytes> mesos::csi::v0::VolumeManager::getCapacity ( const types::VolumeCapability &  capability,
const google::protobuf::Map< std::string, std::string > &  parameters 
)
overridevirtual
process::Future<std::vector<VolumeInfo> > mesos::csi::v0::VolumeManager::listVolumes ( )
overridevirtual
VolumeManager& mesos::csi::v0::VolumeManager::operator= ( const VolumeManager )
delete
process::Future<Nothing> mesos::csi::v0::VolumeManager::publishVolume ( const std::string &  volumeId)
overridevirtual
process::Future<Nothing> mesos::csi::v0::VolumeManager::recover ( )
overridevirtual
process::Future<Nothing> mesos::csi::v0::VolumeManager::unpublishVolume ( const std::string &  volumeId)
overridevirtual
process::Future<Option<Error> > mesos::csi::v0::VolumeManager::validateVolume ( const VolumeInfo volumeInfo,
const types::VolumeCapability &  capability,
const google::protobuf::Map< std::string, std::string > &  parameters 
)
overridevirtual

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