version

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 PrintDownStreamVersions

func PrintDownStreamVersions(output io.Writer, minSupportedVersion string) error

func PrintUpStreamVersions

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
y or Y : Canonical URL