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

#include <v1_volume_manager.hpp>

Inheritance diagram for mesos::csi::v1::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, SecretResolver *secretResolver)
 
 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 Volume::Source::CSIVolume::VolumeCapability &capability, const google::protobuf::Map< std::string, std::string > &parameters) override
 
process::Future< VolumeInfocreateVolume (const std::string &name, const Bytes &capacity, const Volume::Source::CSIVolume::VolumeCapability &capability, const google::protobuf::Map< std::string, std::string > &parameters) override
 
process::Future< Option< Error > > validateVolume (const VolumeInfo &volumeInfo, const Volume::Source::CSIVolume::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, const Option< state::VolumeState > &volumeState=None()) 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, SecretResolver *secretResolver=nullptr)
 

Constructor & Destructor Documentation

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

Reimplemented from mesos::csi::VolumeManager.

Member Function Documentation

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

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