Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶
type CalculatorType ¶
type CalculatorType string
const ( // Augmented Semver: for softwares where minor versions are considered major versions (ex: kubernetes 1.21 -> 1.22) AugmentedSemverCalculator CalculatorType = "augmented-semver" CandidateCountCalculator CalculatorType = "candidate-count" MetaCalculator CalculatorType = "meta" ReleaseDateCalculator CalculatorType = "release-date" SemverCalculator CalculatorType = "semver" SkipCalculator CalculatorType = "skip" )
func ToCalculator ¶
func ToCalculator(name string) (CalculatorType, error)
type Software ¶
type Software struct { Calculator CalculatorType CalculatedScore int Dependencies []*Software Name string Type SoftwareType Version Version VersionCandidates []Version }
type SoftwareType ¶
type SoftwareType string
type SoftwaresToUpdate ¶
type SoftwaresToUpdate struct {
Softwares []Software
}
Click to show internal directories.
Click to hide internal directories.