backupservice

package
v4.2.3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBackup

func CreateBackup(request *msgs.CreateBackupRequest, ns, pgouser string) msgs.CreateBackupResponse
CreateBackup ...

pgo backup mycluster pgo backup all pgo backup --selector=name=mycluster

func CreateBackupHandler

func CreateBackupHandler(w http.ResponseWriter, r *http.Request)

CreateBackupHandler ... pgo backup all pgo backup --selector=name=mycluster pgo backup mycluster

func DeleteBackup

func DeleteBackup(clusterName, ns string) msgs.DeleteBackupResponse

DeleteBackup ...

func DeleteBackupHandler

func DeleteBackupHandler(w http.ResponseWriter, r *http.Request)

DeleteBackupHandler ... returns a ShowBackupResponse

func Restore

Restore takes a PgbasebackupRestoreRequest, creates the pgtask's needed to initiate the restore of a cluster using a pg_basebackup backup, and then returns a PgbasebackupRestoreResponse

func RestoreHandler

func RestoreHandler(w http.ResponseWriter, r *http.Request)

RestoreHandler takes a GET request for URL path '/pgbasebackuprestore', calls the required business logic to perform a pg_basebackup restore, and then returns the appropriate response

func ShowBackup

func ShowBackup(name, ns string) msgs.ShowBackupResponse

ShowBackup ...

func ShowBackupHandler

func ShowBackupHandler(w http.ResponseWriter, r *http.Request)

ShowBackupHandler ... returns a ShowBackupResponse

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL