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

Function WALVolumeMount

internal/postgres/reconcile.go:35–37  ·  view source on GitHub ↗

WALVolumeMount returns the name and mount path of the PostgreSQL WAL volume.

()

Source from the content-addressed store, hash-verified

33
34// WALVolumeMount returns the name and mount path of the PostgreSQL WAL volume.
35func WALVolumeMount() corev1.VolumeMount {
36 return corev1.VolumeMount{Name: "postgres-wal", MountPath: walMountPath}
37}
38
39// DownwardAPIVolumeMount returns the name and mount path of the DownwardAPI volume.
40func DownwardAPIVolumeMount() corev1.VolumeMount {

Callers 5

reconcileMoveWALDirMethod · 0.92
reconcileRestoreJobMethod · 0.92
InstancePodFunction · 0.85
TestWALVolumeMountFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestWALVolumeMountFunction · 0.68