version

package
v0.0.0-...-cc62b12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiVersion = "UNKNOWN"

VelaVersion is the version of cli.

View Source
var GitRevision = "UNKNOWN"

GitRevision is the commit of repo

Functions

func GetOfficialAPIVersion

func GetOfficialAPIVersion(versionStr string) (string, error)

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

func IsOfficialAPIVersion

func IsOfficialAPIVersion(versionStr string) bool

IsOfficialAPIVersion checks whether the provided version string follows a API 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