package labelsort
import "github.com/coreos/rkt/common/labelsort"
Index ¶
Functions ¶
func RankedName ¶
RankedName compares the label names of li, lj lexically returning true if li.Name < lj.Name, else false. The names "version", "os", and "arch" always have lower ranks in that order, hence "version" < "os" < "arch" < [any other label name]
Types ¶
type By ¶
By is a functional type which compares two labels li, lj, returning true if li < lj, else false.
func (By) Sort ¶
Source Files ¶
- Version
- v1.30.0 (latest)
- Published
- Apr 13, 2018
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 4 days ago –
Tools for package owners.