Documentation ¶
Index ¶
- func BackupHandler(w http.ResponseWriter, r *http.Request)
- func CreatepgDump(request *msgs.CreatepgDumpBackupRequest, ns string) msgs.CreatepgDumpBackupResponse
- func RemovePgDumpJob(name, ns string)
- func Restore(request *msgs.PgRestoreRequest, ns string) msgs.PgRestoreResponse
- func RestoreHandler(w http.ResponseWriter, r *http.Request)
- func ShowDumpHandler(w http.ResponseWriter, r *http.Request)
- func ShowpgDump(clusterName string, selector string, ns string) msgs.ShowBackupResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupHandler ¶
func BackupHandler(w http.ResponseWriter, r *http.Request)
BackupHandler ... pgo backup --backup-type=pgdump mycluster
func CreatepgDump ¶
func CreatepgDump(request *msgs.CreatepgDumpBackupRequest, ns string) msgs.CreatepgDumpBackupResponse
CreateBackup ...
pgo backup mycluster pgo backup --selector=name=mycluster
func Restore ¶
func Restore(request *msgs.PgRestoreRequest, ns string) msgs.PgRestoreResponse
Restore ...
pgo restore mycluster --to-cluster=restored
func RestoreHandler ¶
func RestoreHandler(w http.ResponseWriter, r *http.Request)
RestoreHandler ... pgo restore mycluster --restore-type=pgdump --to-cluster=restored
func ShowDumpHandler ¶
func ShowDumpHandler(w http.ResponseWriter, r *http.Request)
ShowpgDumpHandler ... returns a ShowpgDumpResponse
func ShowpgDump ¶
func ShowpgDump(clusterName string, selector string, ns string) msgs.ShowBackupResponse
ShowpgDump ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.