Documentation ¶
Overview ¶
Package match provides functionality for conveniently matching a v1.Descriptor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher func(desc v1.Descriptor) bool
Matcher function that is given a v1.Descriptor, and returns whether or not it matches a given rule. Can match on anything it wants in the Descriptor.
func Annotation ¶
Annotation returns a match.Matcher that matches based on the provided annotation.
func Digests ¶ added in v0.3.0
Digests returns a match.Matcher that matches at least one of the provided Digests
func MediaTypes ¶
MediaTypes returns a match.Matcher that matches at least one of the provided media types.
Click to show internal directories.
Click to hide internal directories.