Documentation ¶
Index ¶
- func HighestConstrainedVersion(versions []string, config v1alpha1.VersionSelection) (string, error)
- func HighestConstrainedVersionWithAdditionalConstraints(versions []string, config v1alpha1.VersionSelection, ...) (string, error)
- type ConstraintCallback
- type SemverWrap
- type Semvers
- func (v Semvers) All() []string
- func (v Semvers) Filter(f func(string) bool) Semvers
- func (v Semvers) FilterConstraints(constraintList string) (Semvers, error)
- func (v Semvers) FilterPrereleases(prereleases *v1alpha1.VersionSelectionSemverPrereleases) Semvers
- func (v Semvers) Highest() (string, bool)
- func (v Semvers) Len() int
- func (v Semvers) Sorted() Semvers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HighestConstrainedVersion ¶
func HighestConstrainedVersion(versions []string, config v1alpha1.VersionSelection) (string, error)
func HighestConstrainedVersionWithAdditionalConstraints ¶
func HighestConstrainedVersionWithAdditionalConstraints(versions []string, config v1alpha1.VersionSelection, additionalConstraints []ConstraintCallback) (string, error)
Types ¶
type ConstraintCallback ¶
type SemverWrap ¶
func NewRelaxedSemver ¶
func NewRelaxedSemver(version string) (SemverWrap, error)
func NewSemver ¶
func NewSemver(version string) (SemverWrap, error)
type Semvers ¶
type Semvers struct {
// contains filtered or unexported fields
}
func NewRelaxedSemversNoErr ¶
func (Semvers) FilterConstraints ¶
func (Semvers) FilterPrereleases ¶
func (v Semvers) FilterPrereleases(prereleases *v1alpha1.VersionSelectionSemverPrereleases) Semvers
Click to show internal directories.
Click to hide internal directories.