version

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// AnyRange represents any versions range.
	AnyRange = "*"
)
View Source
const ImageTag = "v0.2.5"

Variables

View Source
var (
	Version = "undefined"
)

Functions

func Jump

func Jump(nodeVersion, machineVersion string) (bool, error)

func LessThan

func LessThan(s1, s2 string) (bool, error)

func MatchesRange added in v0.0.4

func MatchesRange(version, versionsRange string) (bool, error)

MatchesRange parses the provided version and versions range, and checks if the provided version matches the provided range.

Types

This section is empty.

Jump to

Keyboard shortcuts

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