Documentation ¶
Overview ¶
Package walrestore implement the walrestore command
Index ¶
Constants ¶
View Source
const ( // SpoolDirectory is the directory where we spool the WAL files that // were pre-archived in parallel SpoolDirectory = postgres.ScratchDataDirectory + "/wal-restore-spool" )
Variables ¶
View Source
var ( // ErrEndOfWALStreamReached is returned when end of WAL is detected in the cloud archive ErrEndOfWALStreamReached = errors.New("end of WAL reached") // ErrNoBackupConfigured is returned when no backup is configured ErrNoBackupConfigured = errors.New("backup not configured") // ErrExternalClusterNotFound is returned when the specification refers to // an external cluster which is not defined. This should be prevented // from the validation webhook ErrExternalClusterNotFound = errors.New("external cluster not found") )
Functions ¶
func GetRecoverConfiguration ¶
func GetRecoverConfiguration( cluster *apiv1.Cluster, podName string, ) ( string, []string, *apiv1.BarmanObjectStoreConfiguration, error, )
GetRecoverConfiguration get the appropriate recover Configuration for a given cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.