17 #ifndef __CSI_SERVICE_MANAGER_HPP__ 18 #define __CSI_SERVICE_MANAGER_HPP__ 47 class ServiceManagerProcess;
57 const SlaveID& agentId,
59 const std::string& rootDir,
60 const CSIPluginInfo& info,
62 const std::string& containerPrefix,
70 const CSIPluginInfo& info,
97 #endif // __CSI_SERVICE_MANAGER_HPP__
Definition: metrics.hpp:28
constexpr Service CONTROLLER_SERVICE
Definition: service_manager.hpp:40
process::Future< std::string > getApiVersion()
A copyable interface to manage an internal runtime process for asynchronous gRPC calls.
Definition: grpc.hpp:157
constexpr Service NODE_SERVICE
Definition: service_manager.hpp:43
ServiceManager(const SlaveID &agentId, const process::http::URL &agentUrl, const std::string &rootDir, const CSIPluginInfo &info, const hashset< Service > &services, const std::string &containerPrefix, const Option< std::string > &authToken, const process::grpc::client::Runtime &runtime, Metrics *metrics)
Definition: executor.hpp:48
CSIPluginContainerInfo::Service Service
Definition: service_manager.hpp:38
ServiceManager & operator=(const ServiceManager &)=delete
process::Future< Nothing > recover()
Definition: service_manager.hpp:51
PID< MetricsProcess > metrics
process::Future< std::string > getServiceEndpoint(const Service &service)