version

package
v0.0.0-...-2c539bb Latest Latest
Warning

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

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

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

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

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