semantic

package
v3.2.8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 CmpVersion(v1Str string, v2Str string) int

func ParsePredicate

func ParsePredicate(behaviourOrConstraint string, displayName string, constraintInfo types.ConstraintInfo, iacExts []iacparser.ExtDescription, conf *config.Config) (types.PredicateInfo, error)

func RetrieveVersion

func RetrieveVersion(versionFiles []types.VersionFile, conf *config.Config) (string, error)

func SelectVersionsToUninstall

func SelectVersionsToUninstall(behaviourOrConstraint string, installPath string, versions []string, displayer loghelper.Displayer) ([]string, error)

versions must be sorted in descending order.

func StableVersion

func StableVersion(versionStr string) bool

Types

This section is empty.

Directories

Path Synopsis
parser
iac

Jump to

Keyboard shortcuts

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