Documentation ¶
Index ¶
- func CreateBackup(request *msgs.CreateBackupRequest, ns string) msgs.CreateBackupResponse
- func CreateBackupHandler(w http.ResponseWriter, r *http.Request)
- func DeleteBackup(backupName, ns string) msgs.DeleteBackupResponse
- func DeleteBackupHandler(w http.ResponseWriter, r *http.Request)
- func RemoveBackupJob(name, ns string)
- func ShowBackup(name, ns string) msgs.ShowBackupResponse
- func ShowBackupHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBackup ¶
func CreateBackup(request *msgs.CreateBackupRequest, ns string) msgs.CreateBackupResponse
CreateBackup ...
pgo backup mycluster pgo backup all 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 DeleteBackup ¶
func DeleteBackup(backupName, ns string) msgs.DeleteBackupResponse
DeleteBackup ...
func DeleteBackupHandler ¶
func DeleteBackupHandler(w http.ResponseWriter, r *http.Request)
DeleteBackupHandler ... returns a ShowBackupResponse
func RemoveBackupJob ¶
func RemoveBackupJob(name, ns string)
func ShowBackupHandler ¶
func ShowBackupHandler(w http.ResponseWriter, r *http.Request)
ShowBackupHandler ... returns a ShowBackupResponse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.