supportedversion

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 4 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.13.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 IsValidReleaseVersion

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

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