Documentation
¶
Index ¶
- Variables
- type ByVersion
- type SupportedRelease
- func GetAllKymaReleases() []*SupportedRelease
- func GetKymaReleasesBetween(firstRelease *SupportedRelease, lastRelease *SupportedRelease) []*SupportedRelease
- func GetKymaReleasesSince(firstRelease *SupportedRelease) []*SupportedRelease
- func GetKymaReleasesUntil(lastRelease *SupportedRelease) []*SupportedRelease
- func GetNextKymaRelease() *SupportedRelease
- func (r *SupportedRelease) Branch() string
- func (r *SupportedRelease) Compare(other *SupportedRelease) int
- func (r *SupportedRelease) IsNotNewerThan(other *SupportedRelease) bool
- func (r *SupportedRelease) IsNotOlderThan(other *SupportedRelease) bool
- func (r *SupportedRelease) JobPrefix() string
- func (r *SupportedRelease) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Release123 = mustParse("1.23") Release122 = mustParse("1.22") Release121 = mustParse("1.21") Release120 = mustParse("1.20") )
List of currently supported releases
Functions ¶
This section is empty.
Types ¶
type SupportedRelease ¶
SupportedRelease defines supported releases
func GetAllKymaReleases ¶
func GetAllKymaReleases() []*SupportedRelease
GetAllKymaReleases returns all supported kyma release branches
func GetKymaReleasesBetween ¶
func GetKymaReleasesBetween(firstRelease *SupportedRelease, lastRelease *SupportedRelease) []*SupportedRelease
GetKymaReleasesBetween filters all available releases later or the same as the given one
func GetKymaReleasesSince ¶
func GetKymaReleasesSince(firstRelease *SupportedRelease) []*SupportedRelease
GetKymaReleasesSince filters all available releases later or the same as the given one
func GetKymaReleasesUntil ¶
func GetKymaReleasesUntil(lastRelease *SupportedRelease) []*SupportedRelease
GetKymaReleasesUntil filters all available releases earlier or the same as the given one
func GetNextKymaRelease ¶
func GetNextKymaRelease() *SupportedRelease
GetNextKymaRelease returns the version of kyma currently under development
func (*SupportedRelease) Branch ¶
func (r *SupportedRelease) Branch() string
Branch returns a git branch for this release
func (*SupportedRelease) Compare ¶
func (r *SupportedRelease) Compare(other *SupportedRelease) int
Compare compares this version to another one. It returns -1, 0, or 1 if the version smaller, equal, or larger than the other version.
func (*SupportedRelease) IsNotNewerThan ¶
func (r *SupportedRelease) IsNotNewerThan(other *SupportedRelease) bool
IsNotNewerThan compares releases and returns true if the release is newer than the one provided.
func (*SupportedRelease) IsNotOlderThan ¶
func (r *SupportedRelease) IsNotOlderThan(other *SupportedRelease) bool
IsNotOlderThan compares releases and returns true if the release is older than the one provided.
func (*SupportedRelease) JobPrefix ¶
func (r *SupportedRelease) JobPrefix() string
JobPrefix returns a prefix for all jobs for this release
func (*SupportedRelease) String ¶
func (r *SupportedRelease) String() string
String returns formatted release