PvcNameForTablespace returns the normalized tablespace PVC name for a given tablespace, on a cluster pod
(podName, tablespaceName string)
| 81 | // PvcNameForTablespace returns the normalized tablespace PVC name for a given |
| 82 | // tablespace, on a cluster pod |
| 83 | func PvcNameForTablespace(podName, tablespaceName string) string { |
| 84 | return podName + apiv1.TablespaceVolumeInfix + convertPostgresIDToK8sName(tablespaceName) |
| 85 | } |
| 86 | |
| 87 | // VolumeMountNameForTablespace returns the normalized tablespace volume name for a given |
| 88 | // tablespace, on a cluster pod |
no test coverage detected