version

package
Version: v1.34.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGithubReleases added in v1.23.0

func GetGithubReleases() ([]string, error)

func GetOpenshiftVersion added in v1.7.0

func GetOpenshiftVersion(sshCommander provision.SSHCommander) (string, error)

func IsGreaterOrEqualToBaseVersion added in v1.10.0

func IsGreaterOrEqualToBaseVersion(version string, baseVersion string) (bool, error)

IsGreaterOrEqualToBaseVersion returns true if the version is greater or equal to the base version

func OpenShiftTagsByAscending added in v1.23.0

func OpenShiftTagsByAscending(tags []string, minSupportedVersion, defaultVersion string) ([]string, error)

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:

1. Major versions greater than or equal to the minimum supported and default version
2. Pre-release versions greater than default version

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL