versions

package
v1.2.45 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinorVersionsSupported              = 2
	MajorMinorPatchFormattedErrorOutput = "An error occurred formatting the version for output: %v"
)

Variables

This section is empty.

Functions

func FormatMajorMinorPatch added in v1.2.31

func FormatMajorMinorPatch(version string) (string, error)

func GetFilteredVersionList

func GetFilteredVersionList(versionList []string, minVersion string, maxVersion string) []string

func GetMinimalHostedMachinePoolVersion

func GetMinimalHostedMachinePoolVersion(controlPlaneVersion string) (string, error)

Used for hosted machinepool minimal version

func GetVersionList

func GetVersionList(r *rosa.Runtime, channelGroup string, isSTS bool, isHostedCP bool, filterHostedCP bool,
	defaultFirst bool) (defaultVersion string, versionList []string, err error)

func IsGreaterThanOrEqual added in v1.2.27

func IsGreaterThanOrEqual(version1, version2 string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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