version

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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 GetCRCMacTrayVersion added in v1.15.0

func GetCRCMacTrayVersion() string

func GetCRCVersion

func GetCRCVersion() string

func GetCRCWindowsTrayVersion added in v1.11.0

func GetCRCWindowsTrayVersion() string

func GetCommitSha

func GetCommitSha() string

func InstallPath added in v1.32.0

func InstallPath() string

func IsInstaller added in v1.32.0

func IsInstaller() 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