LocationForTablespace returns the data location for tablespace on a cluster pod
(tablespaceName string)
| 52 | |
| 53 | // LocationForTablespace returns the data location for tablespace on a cluster pod |
| 54 | func LocationForTablespace(tablespaceName string) string { |
| 55 | return path.Join(MountForTablespace(tablespaceName), "data") |
| 56 | } |
| 57 | |
| 58 | // convertPostgresIDToK8sName returns a postgres identifier without the characters |
| 59 | // that are illegal in K8s names and domains. (Lowercase RFC 1123) |
no test coverage detected