version

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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