Documentation ¶
Index ¶
- func CreateBackup(request *msgs.CreateBackrestBackupRequest, ns, pgouser string) msgs.CreateBackrestBackupResponse
- func CreateBackupHandler(w http.ResponseWriter, r *http.Request)
- func DeleteBackrestHandler(w http.ResponseWriter, r *http.Request)
- func DeleteBackup(request msgs.DeleteBackrestBackupRequest) msgs.DeleteBackrestBackupResponse
- func Restore(request *msgs.RestoreRequest, ns, pgouser string) msgs.RestoreResponse
- func RestoreHandler(w http.ResponseWriter, r *http.Request)
- func ShowBackrest(name, selector, ns string) msgs.ShowBackrestResponse
- func ShowBackrestHandler(w http.ResponseWriter, r *http.Request)
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 ¶
func DeleteBackup(request msgs.DeleteBackrestBackupRequest) msgs.DeleteBackrestBackupResponse
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.
Click to show internal directories.
Click to hide internal directories.