Documentation ¶
Index ¶
- Constants
- func CreateUpgrade(request *msgs.CreateUpgradeRequest, ns string) msgs.CreateUpgradeResponse
- func CreateUpgradeHandler(w http.ResponseWriter, r *http.Request)
- func DeleteUpgrade(name, ns string) msgs.DeleteUpgradeResponse
- func DeleteUpgradeHandler(w http.ResponseWriter, r *http.Request)
- func ShowUpgrade(name, ns string) msgs.ShowUpgradeResponse
- func ShowUpgradeHandler(w http.ResponseWriter, r *http.Request)
- type ShowUpgradeResponse
- type UpgradeDetail
Constants ¶
View Source
const MajorUpgrade = "major"
MajorUpgrade major upgrade type
View Source
const MinorUpgrade = "minor"
MinorUpgrade minor upgrade type
Variables ¶
This section is empty.
Functions ¶
func CreateUpgrade ¶
func CreateUpgrade(request *msgs.CreateUpgradeRequest, ns string) msgs.CreateUpgradeResponse
CreateUpgrade ...
func CreateUpgradeHandler ¶
func CreateUpgradeHandler(w http.ResponseWriter, r *http.Request)
CreateUpgradeHandler ... pgo upgrade mycluster parameters --upgrade-type parameters --ccp-image-tag
func DeleteUpgrade ¶
func DeleteUpgrade(name, ns string) msgs.DeleteUpgradeResponse
DeleteUpgrade ...
func DeleteUpgradeHandler ¶
func DeleteUpgradeHandler(w http.ResponseWriter, r *http.Request)
DeleteUpgradeHandler ... pgo delete upgrade returns a ShowUpgradeResponse
func ShowUpgradeHandler ¶
func ShowUpgradeHandler(w http.ResponseWriter, r *http.Request)
ShowUpgradeHandler ... pgo show upgrade pgo delete myupgrade parameters showsecrets parameters selector parameters postgresversion returns a ShowUpgradeResponse
Types ¶
type ShowUpgradeResponse ¶
type ShowUpgradeResponse struct {
Items []UpgradeDetail
}
ShowUpgradeResponse ...
Click to show internal directories.
Click to hide internal directories.