17 #ifndef __CSI_PATHS_HPP__ 18 #define __CSI_PATHS_HPP__ 67 const std::string& rootDir,
68 const std::string&
type,
69 const std::string&
name);
73 const std::string& rootDir,
74 const std::string&
type,
75 const std::string&
name,
80 const std::string& rootDir,
81 const std::string& dir);
85 const std::string& rootDir,
86 const std::string&
type,
87 const std::string&
name,
92 const std::string& rootDir,
93 const std::string&
type,
94 const std::string&
name,
102 const std::string& rootDir,
103 const std::string&
type,
104 const std::string&
name,
109 const std::string& rootDir,
110 const std::string&
type,
111 const std::string&
name);
115 const std::string& rootDir,
116 const std::string&
type,
117 const std::string&
name,
118 const std::string& volumeId);
122 const std::string& rootDir,
123 const std::string& dir);
127 const std::string& rootDir,
128 const std::string&
type,
129 const std::string&
name,
130 const std::string& volumeId);
134 const std::string& rootDir,
135 const std::string&
type,
136 const std::string&
name);
140 const std::string& mountRootDir);
144 const std::string& mountRootDir,
145 const std::string& volumeId);
149 const std::string& mountRootDir,
150 const std::string& dir);
154 const std::string& mountRootDir,
155 const std::string& volumeId);
159 const std::string& mountRootDir,
160 const std::string& volumeId);
166 #endif // __CSI_PATHS_HPP__ std::string getMountRootDir(const std::string &rootDir, const std::string &type, const std::string &name)
Try< std::list< std::string > > getVolumePaths(const std::string &rootDir, const std::string &type, const std::string &name)
std::string getMountPath(const std::string &mountRootDir, const std::string &volumeId)
Try< std::list< std::string > > getMountPaths(const std::string &mountRootDir)
std::string name
Definition: paths.hpp:61
std::string getEndpointDirSymlinkPath(const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
std::string volumeId
Definition: paths.hpp:62
std::string paths()
Definition: os.hpp:138
std::string type
Definition: paths.hpp:52
std::string getMountTargetPath(const std::string &mountRootDir, const std::string &volumeId)
std::string getMountStagingPath(const std::string &mountRootDir, const std::string &volumeId)
std::string type
Definition: paths.hpp:60
std::string name
Definition: paths.hpp:53
Try< ContainerPath > parseContainerPath(const std::string &rootDir, const std::string &dir)
std::string getVolumePath(const std::string &rootDir, const std::string &type, const std::string &name, const std::string &volumeId)
std::string getVolumeStatePath(const std::string &rootDir, const std::string &type, const std::string &name, const std::string &volumeId)
Try< std::string > getEndpointSocketPath(const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
std::string getContainerInfoPath(const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
Try< std::string > parseMountPath(const std::string &mountRootDir, const std::string &dir)
Try< VolumePath > parseVolumePath(const std::string &rootDir, const std::string &dir)
Try< std::list< std::string > > getContainerPaths(const std::string &rootDir, const std::string &type, const std::string &name)
std::string getContainerPath(const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
ContainerID containerId
Definition: paths.hpp:54