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

Function DataVolumeMount

internal/postgres/reconcile.go:20–22  ·  view source on GitHub ↗

DataVolumeMount returns the name and mount path of the PostgreSQL data volume.

()

Source from the content-addressed store, hash-verified

18
19// DataVolumeMount returns the name and mount path of the PostgreSQL data volume.
20func DataVolumeMount() corev1.VolumeMount {
21 return corev1.VolumeMount{Name: "postgres-data", MountPath: dataMountPath}
22}
23
24// TablespaceVolumeMount returns the name and mount path of the PostgreSQL tablespace data volume.
25func TablespaceVolumeMount(tablespaceName string) corev1.VolumeMount {

Callers 7

reconcileRestoreJobMethod · 0.92
reconcileInstanceMethod · 0.92
InstancePodFunction · 0.85
TestDataVolumeMountFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestDataVolumeMountFunction · 0.68