version

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitRevision = "UNKNOWN"

GitRevision is the commit of repo

View Source
var VelaVersion = "UNKNOWN"

VelaVersion is the version of cli.

Functions

func GetOfficialKubeVelaVersion added in v1.2.3

func GetOfficialKubeVelaVersion(versionStr string) (string, error)

GetOfficialKubeVelaVersion extracts the KubeVela version from the provided string More precisely, this method returns the segments and prerelease info w/o metadata

func IsOfficialKubeVelaVersion added in v1.2.3

func IsOfficialKubeVelaVersion(versionStr string) bool

IsOfficialKubeVelaVersion checks whether the provided version string follows a KubeVela version pattern

func ShouldUseLegacyHelmRepo added in v1.9.3

func ShouldUseLegacyHelmRepo(ver *version.Version) bool

ShouldUseLegacyHelmRepo checks whether the provided version should use the legacy helm repo

Types

This section is empty.

Jump to

Keyboard shortcuts

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