17 #ifndef __CSI_VOLUME_MANAGER_HPP__ 18 #define __CSI_VOLUME_MANAGER_HPP__ 23 #include <google/protobuf/map.h> 43 #include "csi/state.hpp" 52 google::protobuf::Map<std::string, std::string>
context;
61 const std::string& rootDir,
62 const CSIPluginInfo& info,
64 const std::string& apiVersion,
82 const Volume::Source::CSIVolume::VolumeCapability& capability,
83 const google::protobuf::Map<std::string, std::string>& parameters) = 0;
107 const std::string&
name,
109 const Volume::Source::CSIVolume::VolumeCapability& capability,
110 const google::protobuf::Map<std::string, std::string>& parameters) = 0;
117 const Volume::Source::CSIVolume::VolumeCapability& capability,
118 const google::protobuf::Map<std::string, std::string>& parameters) = 0;
127 const std::string& volumeId) = 0;
131 const std::string& volumeId) = 0;
143 const std::string& volumeId,
150 const std::string& volumeId) = 0;
156 #endif // __CSI_VOLUME_MANAGER_HPP__ Definition: volume_manager.hpp:57
Protocol< RecoverRequest, RecoverResponse > recover
Definition: option.hpp:29
Definition: volume_manager.hpp:48
google::protobuf::Map< std::string, std::string > context
Definition: volume_manager.hpp:52
Definition: metrics.hpp:28
Option< Error > validateVolume(const Volume &volume)
A copyable interface to manage an internal runtime process for asynchronous gRPC calls.
Definition: grpc.hpp:157
std::string id
Definition: volume_manager.hpp:51
Bytes capacity
Definition: volume_manager.hpp:50
Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)
Definition: resolver.hpp:34
Definition: service_manager.hpp:51
PID< MetricsProcess > metrics
constexpr const char * name
Definition: shell.hpp:41