backrestservice

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 22 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 DeleteBackrestHandler

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

DeleteBackrestHandler deletes a targeted backup from a pgBackRest repository pgo delete backup hippo --target=pgbackrest-backup-id

func DeleteBackup

DeleteBackup deletes a specific backup from a pgBackRest repository

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