MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / TablespaceVolumeMount

Function TablespaceVolumeMount

internal/postgres/reconcile.go:25–27  ·  view source on GitHub ↗

TablespaceVolumeMount returns the name and mount path of the PostgreSQL tablespace data volume.

(tablespaceName string)

Source from the content-addressed store, hash-verified

23
24// TablespaceVolumeMount returns the name and mount path of the PostgreSQL tablespace data volume.
25func TablespaceVolumeMount(tablespaceName string) corev1.VolumeMount {
26 return corev1.VolumeMount{Name: "tablespace-" + tablespaceName, MountPath: tablespaceMountPath + "/" + tablespaceName}
27}
28
29// TempVolumeMount returns the name and mount path of the ephemeral volume.
30func TempVolumeMount() corev1.VolumeMount {

Callers 4

reconcileRestoreJobMethod · 0.92
InstancePodFunction · 0.85

Calls

no outgoing calls

Tested by 1