Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "postgres-operator"
)
Variables ¶
This section is empty.
Functions ¶
func GetOrCreateDB ¶
func TestLogicalBackupE2E ¶ added in v0.36.0
func TestLogicalBackupE2E(p *platform.Platform, test *console.TestResults)
TestLogicalBackupE2E will test the logical backup function that comes with the db.flanksource.com/PostgresqlDB by: - Create a PG Cluster with db.flanksource.com/PostgresqlDB - Insert test fixtures to the database - Trigger the backup CronJob so we can have a fresh logical backup of the cluster - Spin up a new PG Cluster with db.flanksource.com/PostgresqlDB - Run the restore command to restore the data of the first PG Cluster to the second cluster - Check the test fixtures is in the second cluster
Types ¶
Click to show internal directories.
Click to hide internal directories.