upgradeservice

package
v3.5.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 ShowUpgrade

func ShowUpgrade(name, ns string) msgs.ShowUpgradeResponse

ShowUpgrade ...

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 ...

type UpgradeDetail

type UpgradeDetail struct {
	Name string
}

UpgradeDetail ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL