package
1.4.0-beta.2
Repository: https://github.com/crisesw/containerd.git
Documentation: pkg.go.dev

# Functions

Any returns a platform MatchComparer which matches any of the platforms with no preference for ordering.
Default returns the default matcher for the platform.
DefaultSpec returns the current platform's default platform specification.
DefaultString returns the default string specifier for the platform.
Format returns a string specifier from the provided platform specification.
MustParse is like Parses but panics if the specifier cannot be parsed.
NewMatcher returns a simple matcher based on the provided platform specification.
Normalize validates and translate the platform to the canonical value.
Only returns a match comparer for a single platform using default resolution logic for the platform.
Ordered returns a platform MatchComparer which matches any of the platforms but orders them in order they are provided.
Parse parses the platform specifier syntax into a platform declaration.

# Variables

All is a platform MatchComparer which matches all platforms with preference for ordering.

# Interfaces

MatchComparer is able to match and compare platforms to filter and sort platforms.
Matcher matches platforms specifications, provided by an image or runtime.