Documentation ¶
Index ¶
- Constants
- Variables
- func CmpVersion(v1Str string, v2Str string) int
- func ParsePredicate(behaviourOrConstraint string, displayName string, ...) (func(string) bool, bool, error)
- func RetrieveVersion(versionFiles []VersionFile, rootVersionFilePath string, conf *config.Config) (string, error)
- func StableVersion(versionStr string) bool
- type VersionFile
Constants ¶
View Source
const ( LatestAllowedKey = "latest-allowed" LatestPreKey = "latest-pre" LatestStableKey = "latest-stable" LatestKey = "latest" MinRequiredKey = "min-required" )
Variables ¶
Functions ¶
func CmpVersion ¶
func ParsePredicate ¶
func ParsePredicate(behaviourOrConstraint string, displayName string, predicateReaders []func(*config.Config) (func(string) bool, bool, error), conf *config.Config) (func(string) bool, bool, error)
the boolean returned as second value indicates to reverse order for filtering.
func RetrieveVersion ¶ added in v1.0.9
func StableVersion ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.