supportedversion

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SupportedPreviousMinorVersions = 2

SupportedPreviousMinorVersions is the number of minor versions prior to current version that are supported.

Variables

View Source
var LatestSupportedVersion = semver.MustParse("4.15.0")

LatestSupportedVersion is the latest minor OCP version supported by the HyperShift operator. NOTE: The .0 (z release) should be ignored. It's only here to support semver parsing.

View Source
var MinSupportedVersion = semver.MustParse(subtractMinor(&LatestSupportedVersion, uint64(SupportedPreviousMinorVersions)).String())

Functions

func GetMinSupportedVersion added in v0.1.11

func GetMinSupportedVersion(hc *hyperv1.HostedCluster) semver.Version

func IsValidReleaseVersion

func IsValidReleaseVersion(version, currentVersion, latestVersionSupported, minSupportedVersion *semver.Version, networkType hyperv1.NetworkType, platformType hyperv1.PlatformType) error

func LookupLatestSupportedRelease added in v0.1.10

func LookupLatestSupportedRelease(ctx context.Context, hc *hyperv1.HostedCluster) (string, error)

LookupLatestSupportedRelease picks the latest multi-arch image supported by this Hypershift Operator

func Supported

func Supported() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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