compatibility

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OCP Lifecycle Statuses
	OCPStatusGA      = "generally-available"
	OCPStatusMS      = "maintenance-support"
	OCPStatusEOL     = "end-of-life"
	OCPStatusUnknown = "unknown"
	OCPStatusPreGA   = "pre-general-availability"
)

Variables

This section is empty.

Functions

func DetermineOCPStatus

func DetermineOCPStatus(version string, date time.Time) string

func GetLifeCycleDates

func GetLifeCycleDates() map[string]VersionInfo

func IsRHCOSCompatible

func IsRHCOSCompatible(machineVersion, ocpVersion string) bool

func IsRHELCompatible

func IsRHELCompatible(machineVersion, ocpVersion string) bool

Types

type VersionInfo

type VersionInfo struct {
	GADate  time.Time // General Availability Date
	FSEDate time.Time // Full Support Ends Date
	MSEDate time.Time // Maintenance Support Ends Date

	MinRHCOSVersion      string   // Minimum RHCOS Version supported
	RHELVersionsAccepted []string // Contains either specific versions or a minimum version eg. "7.9 or later" or "7.9 and 8.4"
}

Jump to

Keyboard shortcuts

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