backrestservice

package
v4.4.0-beta.1+incompat... Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBackup

func CreateBackup(request *msgs.CreateBackrestBackupRequest, ns, pgouser string) msgs.CreateBackrestBackupResponse
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, pgouser 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