Documentation ¶
Index ¶
- Constants
- func GetNextVersion(reference name.Tag, pin *Level, latest bool) (*name.Tag, error)
- func GetNextVersions(references []name.Reference, within *Level, latest bool) ([]name.Reference, error)
- func HasSameMajorLevel(t, o Tag) bool
- func HasSameMinorLevel(t, o Tag) bool
- func HasSamePatchLevel(t, o Tag) bool
- type Level
- type Tag
- type TagCategories
- type Tags
Constants ¶
View Source
const ( MAJOR Level = 0 MINOR = 1 PATCH = 2 )
Variables ¶
This section is empty.
Functions ¶
func GetNextVersion ¶
func GetNextVersions ¶
func HasSameMajorLevel ¶
func HasSameMinorLevel ¶
func HasSamePatchLevel ¶
Types ¶
type TagCategories ¶
func MakeTagCategories ¶
func MakeTagCategories(tags Tags) TagCategories
type Tags ¶
type Tags []Tag
func (Tags) FilterSameMinorVersion ¶
func (Tags) FindGreaterThan ¶
func (Tags) FindHighestPatchLevel ¶
Click to show internal directories.
Click to hide internal directories.