pgdumpservice

package
v4.5.1-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

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