versions

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HighestConstrainedVersion

func HighestConstrainedVersion(versions []string, config v1alpha1.VersionSelection) (string, error)

Types

type SemverWrap

type SemverWrap struct {
	semver.Version
	Original string
}

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 NewRelaxedSemversNoErr(versions []string) Semvers

func (Semvers) All

func (v Semvers) All() []string

func (Semvers) FilterConstraints

func (v Semvers) FilterConstraints(constraintList string) (Semvers, error)

func (Semvers) FilterPrereleases

func (v Semvers) FilterPrereleases(prereleases *v1alpha1.VersionSelectionSemverPrereleases) Semvers

func (Semvers) Highest

func (v Semvers) Highest() (string, bool)

func (Semvers) Len

func (v Semvers) Len() int

func (Semvers) Sorted

func (v Semvers) Sorted() Semvers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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