Documentation ¶
Index ¶
- func NextAvailableVersions(client clientset.Interface) (nextPatch *version.Version, nextMinor *version.Version, ...)
- func UpgradePath(client clientset.Interface) ([]*version.Version, error)
- func UpgradePathWithAvailableVersions(currentClusterVersion *version.Version, availableVersions []*version.Version) ([]*version.Version, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextAvailableVersions ¶
func NextAvailableVersions(client clientset.Interface) (nextPatch *version.Version, nextMinor *version.Version, nextMajor *version.Version, err error)
NextAvailableVersions return the next patch version available (if any) for the current minor version, the next minor version (if any) for the current major version, and the next major version (if any)
func UpgradePath ¶
UpgradePath returns the list of versions the cluster needs to go through in order to upgrade to the latest available version
func UpgradePathWithAvailableVersions ¶
func UpgradePathWithAvailableVersions(currentClusterVersion *version.Version, availableVersions []*version.Version) ([]*version.Version, error)
UpgradePathWithAvailableVersions returns the list of versions the cluster need to go through in order to upgrade to the latest available version in the provided list of available versions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.