MountForTablespace returns the normalized tablespace volume name for a given tablespace, on a cluster pod
(tablespaceName string)
| 47 | // MountForTablespace returns the normalized tablespace volume name for a given |
| 48 | // tablespace, on a cluster pod |
| 49 | func MountForTablespace(tablespaceName string) string { |
| 50 | return path.Join(PgTablespaceVolumePath, tablespaceName) |
| 51 | } |
| 52 | |
| 53 | // LocationForTablespace returns the data location for tablespace on a cluster pod |
| 54 | func LocationForTablespace(tablespaceName string) string { |
no test coverage detected