pgdumpservice

package
v4.3.1+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: 17 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 RemovePgDumpJob

func RemovePgDumpJob(name, ns string)

TODO: Needed?

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