Documentation ¶
Index ¶
- func GetGithubReleases() ([]string, error)
- func GetOpenshiftVersion(sshCommander provision.SSHCommander) (string, error)
- func IsGreaterOrEqualToBaseVersion(version string, baseVersion string) (bool, error)
- func OpenShiftTagsByAscending(tags []string, minSupportedVersion, defaultVersion string) ([]string, error)
- func PrintUpstreamVersions(output io.Writer, minSupportedVersion string, defaultVersion string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGithubReleases ¶ added in v1.23.0
func GetOpenshiftVersion ¶ added in v1.7.0
func GetOpenshiftVersion(sshCommander provision.SSHCommander) (string, error)
func IsGreaterOrEqualToBaseVersion ¶ added in v1.10.0
IsGreaterOrEqualToBaseVersion returns true if the version is greater or equal to the base version
func OpenShiftTagsByAscending ¶ added in v1.23.0
func PrintUpstreamVersions ¶ added in v1.23.0
func PrintUpstreamVersions(output io.Writer, minSupportedVersion string, defaultVersion string) error
PrintUpstreamVersions prints the origin versions which satisfies the following conditions:
- Major versions greater than or equal to the minimum supported and default version
- Pre-release versions greater than default version
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.