mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-04 22:22:21 +02:00
The WAL archive hook and the restore job hook each derived, inline, whether to verify the archive destination before proceeding. Pull each decision into a small function so the operator-decision-versus-fallback logic can be exercised on its own. Behavior is unchanged: archiving still fails on a marker-file stat error, and restore still falls back to the Cluster annotation alone. Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> |
||
|---|---|---|
| .. | ||
| check.go | ||
| common.go | ||
| doc.go | ||
| errors_test.go | ||
| errors.go | ||
| health.go | ||
| scheme.go | ||
| suite_test.go | ||
| wal_import.go | ||
| wal_test.go | ||
| wal.go | ||