@@ -8,44 +8,38 @@ import "go.einride.tech/aip/resourcename"
88
99func resourceIDToVolumeName (resourceID string ) string {
1010 return resourcename .Join (
11- "//storage.opiproject.org/" ,
1211 "volumes" , resourceID ,
1312 )
1413}
1514
1615func resourceIDToSubsystemName (resourceID string ) string {
1716 return resourcename .Join (
18- "//storage.opiproject.org/" ,
1917 "subsystems" , resourceID ,
2018 )
2119}
2220
2321func resourceIDToNamespaceName (subsysResourceID , ctrlrResourceID string ) string {
2422 return resourcename .Join (
25- "//storage.opiproject.org/" ,
2623 "subsystems" , subsysResourceID ,
2724 "namespaces" , ctrlrResourceID ,
2825 )
2926}
3027
3128func resourceIDToControllerName (subsysResourceID , ctrlrResourceID string ) string {
3229 return resourcename .Join (
33- "//storage.opiproject.org/" ,
3430 "subsystems" , subsysResourceID ,
3531 "controllers" , ctrlrResourceID ,
3632 )
3733}
3834
3935func resourceIDToRemoteControllerName (resourceID string ) string {
4036 return resourcename .Join (
41- "//storage.opiproject.org/" ,
4237 "nvmeRemoteControllers" , resourceID ,
4338 )
4439}
4540
4641func resourceIDToNvmePathName (ctrlrResourceID , pathResourceID string ) string {
4742 return resourcename .Join (
48- "//storage.opiproject.org/" ,
4943 "nvmeRemoteControllers" , ctrlrResourceID ,
5044 "nvmePaths" , pathResourceID ,
5145 )
0 commit comments