version

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 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 GetOfficialWorkflowVersion

func GetOfficialWorkflowVersion(versionStr string) (string, error)

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

func IsOfficialWorkflowVersion

func IsOfficialWorkflowVersion(versionStr string) bool

IsOfficialWorkflowVersion checks whether the provided version string follows a KubeVela Workflow 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