| 129 | |
| 130 | |
| 131 | string getEndpointDirSymlinkPath( |
| 132 | const string& rootDir, |
| 133 | const string& type, |
| 134 | const string& name, |
| 135 | const ContainerID& containerId) |
| 136 | { |
| 137 | return path::join( |
| 138 | getContainerPath(rootDir, type, name, containerId), |
| 139 | ENDPOINT_DIR_SYMLINK); |
| 140 | } |
| 141 | |
| 142 | |
| 143 | Try<string> getEndpointSocketPath( |