backrestservice

package
v3.5.5-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBackup

CreateBackup ...

pgo backup mycluster 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 Restore

func Restore(request *msgs.RestoreRequest, ns string) msgs.RestoreResponse
Restore ...

pgo restore mycluster --to-cluster=restored

func RestoreHandler

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

RestoreHandler ... pgo restore mycluster --to-cluster=restored

func ShowBackrest

func ShowBackrest(name, selector, ns string) msgs.ShowBackrestResponse

ShowBackrest ...

func ShowBackrestHandler

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

ShowBackrestHandler ... returns a ShowBackrestResponse

Types

This section is empty.

Jump to

Keyboard shortcuts

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