tag

package
v0.0.0-...-3427b4e 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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	Literal  string
	Prefix   string
	Suffix   string
	Version  []int
	Category string
}

func ListAllTags

func ListAllTags(reference name.Reference) ([]Tag, error)

func MakeTag

func MakeTag(tag string) Tag

func (Tag) Compare

func (a Tag) Compare(b Tag) int

func (Tag) Equals

func (a Tag) Equals(b Tag) bool

type TagCategories

type TagCategories map[string]TagList

func MakeTagCategories

func MakeTagCategories(tags TagList) TagCategories

type TagList

type TagList []Tag

func (TagList) FindGreaterThan

func (l TagList) FindGreaterThan(tag Tag) TagList

func (TagList) Len

func (a TagList) Len() int

func (TagList) Less

func (a TagList) Less(i, j int) bool

func (TagList) Swap

func (a TagList) Swap(i, j int)

type Tags

type Tags []Tag

Jump to

Keyboard shortcuts

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