Versions in this module Expand all Collapse all v0 v0.13.1 May 8, 2020 v0.13.0 May 8, 2020 Changes in this version + const Namespace + const OperatorConfig + type PostgresDB struct + Name string + Namespace string + Secret string + Superuser string + func GetGenericPostgresDB(client *k8s.Client, s3 *minio.Client, namespace, name, secret, version string) (*PostgresDB, error) + func GetPostgresDB(client *k8s.Client, s3 *minio.Client, name string) (*PostgresDB, error) + func (db *PostgresDB) Backup() error + func (db *PostgresDB) GenerateBackupJob() *k8s.DeploymentBuilder + func (db *PostgresDB) ListBackups() ([]string, error) + func (db *PostgresDB) Restore(backup string) error + func (db *PostgresDB) ScheduleBackup(schedule string) error + func (db *PostgresDB) String() string