version

package
v1.99.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBundleVersion

func GetBundleVersion() string

func GetCRCVersion

func GetCRCVersion() string

func GetCommitSha

func GetCommitSha() string

func GetPodmanVersion added in v1.99.2

func GetPodmanVersion() string

func GetTrayVersion added in v1.99.2

func GetTrayVersion() string

func InstallPath added in v1.32.0

func InstallPath() string

func IsInstaller added in v1.32.0

func IsInstaller() bool

func IsLinuxRelease added in v1.99.2

func IsLinuxRelease() bool

func IsOkdBuild added in v1.20.0

func IsOkdBuild() bool

Types

type CrcReleaseInfo

type CrcReleaseInfo struct {
	Version Version           `json:"version"`
	Links   map[string]string `json:"links"`
}

func GetCRCLatestVersionFromMirror added in v1.28.0

func GetCRCLatestVersionFromMirror(transport http.RoundTripper) (*CrcReleaseInfo, error)

type Version added in v1.28.0

type Version struct {
	CrcVersion       *semver.Version `json:"crcVersion"`
	GitSha           string          `json:"gitSha"`
	OpenshiftVersion string          `json:"openshiftVersion"`
}

Jump to

Keyboard shortcuts

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