Documentation ¶
Index ¶
- Constants
- func CmpVersion(v1Str string, v2Str string) int
- func ParsePredicate(behaviourOrConstraint string, displayName string, ...) (types.PredicateInfo, error)
- func RetrieveVersion(versionFiles []types.VersionFile, conf *config.Config) (string, error)
- func SelectVersionsToUninstall(behaviourOrConstraint string, installPath string, versions []string, ...) ([]string, error)
- func StableVersion(versionStr string) bool
Constants ¶
View Source
const ( LatestAllowedKey = "latest-allowed" LatestPreKey = "latest-pre" LatestStableKey = "latest-stable" LatestKey = "latest" MinRequiredKey = "min-required" LatestPrefix = "latest:" MinPrefix = "min:" )
Variables ¶
This section is empty.
Functions ¶
func CmpVersion ¶
func ParsePredicate ¶
func ParsePredicate(behaviourOrConstraint string, displayName string, constraintInfo types.ConstraintInfo, iacExts []iacparser.ExtDescription, conf *config.Config) (types.PredicateInfo, error)
func RetrieveVersion ¶
func SelectVersionsToUninstall ¶
func SelectVersionsToUninstall(behaviourOrConstraint string, installPath string, versions []string, displayer loghelper.Displayer) ([]string, error)
versions must be sorted in descending order.
func StableVersion ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.