Documentation ¶
Index ¶
- func CreateBackup(request *msgs.CreateBackrestBackupRequest, ns string) msgs.CreateBackrestBackupResponse
- func CreateBackupHandler(w http.ResponseWriter, r *http.Request)
- func Restore(request *msgs.RestoreRequest, ns 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 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 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.