Version: v0.0.0-...-5f17a04 Latest Latest

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0




View Source
const (

	// Major means a major difference between two versions
	Major = "MAJOR"
	// Minor means a minor difference between two versions
	Minor = "MINOR"
	// Patch means a patch difference between two versions
	Patch = "PATCH"
	// Same means two versions are the same
	Same = "SAME"
	// Unknown means the difference between the two versions is unknown
	Unknown = "UNKNOWN"

	// Notfound means a version could not be found
	Notfound = "NOTFOUND"
	// Failure means something went wrong went finding the version
	Failure = "FAILURE"
	// MultipleChartsFound means that multiple charts were found and that's why the search failed. Specify overwrites in config.
	// Nodata indicates there was not a failure but there wasn't any data
	Nodata = "NODATA"


This section is empty.


func DetermineLifeCycleStatus

func DetermineLifeCycleStatus(latestVersion string, currentVersion string) string

DetermineLifeCycleStatus compares two versions to determin the status of the difference

func FindHighestVersionInList

func FindHighestVersionInList(versions []string, allowAllReleases bool) string

FindHighestVersionInList finds the highest version in an list of versions or returns NOTFOUND


This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL