version

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 6 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 GetMacosInstallPath added in v1.21.0

func GetMacosInstallPath() string

func IsMacosInstallPathSet added in v1.21.0

func IsMacosInstallPathSet() bool

func IsMsiBuild added in v1.28.0

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