Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
mesos::csi::VolumeManager Class Referenceabstract

#include <volume_manager.hpp>

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

Public Member Functions

virtual ~VolumeManager ()=default
 
virtual process::Future< Nothingrecover ()=0
 
virtual process::Future< std::vector< VolumeInfo > > listVolumes ()=0
 
virtual process::Future< BytesgetCapacity (const Volume::Source::CSIVolume::VolumeCapability &capability, const google::protobuf::Map< std::string, std::string > &parameters)=0
 
virtual 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)=0
 
virtual process::Future< Option< Error > > validateVolume (const VolumeInfo &volumeInfo, const Volume::Source::CSIVolume::VolumeCapability &capability, const google::protobuf::Map< std::string, std::string > &parameters)=0
 
virtual process::Future< bool > deleteVolume (const std::string &volumeId)=0
 
virtual process::Future< NothingattachVolume (const std::string &volumeId)=0
 
virtual process::Future< NothingdetachVolume (const std::string &volumeId)=0
 
virtual process::Future< NothingpublishVolume (const std::string &volumeId, const Option< state::VolumeState > &volumeState=None())=0
 
virtual process::Future< NothingunpublishVolume (const std::string &volumeId)=0
 

Static Public Member Functions

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

virtual mesos::csi::VolumeManager::~VolumeManager ( )
virtualdefault

Member Function Documentation

virtual process::Future<Nothing> mesos::csi::VolumeManager::attachVolume ( const std::string &  volumeId)
pure virtual
static Try<process::Owned<VolumeManager> > mesos::csi::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 
)
static
virtual process::Future<VolumeInfo> mesos::csi::VolumeManager::createVolume ( const std::string &  name,
const Bytes capacity,
const Volume::Source::CSIVolume::VolumeCapability &  capability,
const google::protobuf::Map< std::string, std::string > &  parameters 
)
pure virtual
virtual process::Future<bool> mesos::csi::VolumeManager::deleteVolume ( const std::string &  volumeId)
pure virtual
virtual process::Future<Nothing> mesos::csi::VolumeManager::detachVolume ( const std::string &  volumeId)
pure virtual
virtual process::Future<Bytes> mesos::csi::VolumeManager::getCapacity ( const Volume::Source::CSIVolume::VolumeCapability &  capability,
const google::protobuf::Map< std::string, std::string > &  parameters 
)
pure virtual
virtual process::Future<std::vector<VolumeInfo> > mesos::csi::VolumeManager::listVolumes ( )
pure virtual
virtual process::Future<Nothing> mesos::csi::VolumeManager::publishVolume ( const std::string &  volumeId,
const Option< state::VolumeState > &  volumeState = None() 
)
pure virtual
virtual process::Future<Nothing> mesos::csi::VolumeManager::recover ( )
pure virtual
virtual process::Future<Nothing> mesos::csi::VolumeManager::unpublishVolume ( const std::string &  volumeId)
pure virtual
virtual process::Future<Option<Error> > mesos::csi::VolumeManager::validateVolume ( const VolumeInfo volumeInfo,
const Volume::Source::CSIVolume::VolumeCapability &  capability,
const google::protobuf::Map< std::string, std::string > &  parameters 
)
pure virtual

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