descriptormatcher

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Every

func Every(ocispec.Descriptor) bool

func None

func None(descriptor ocispec.Descriptor) bool

Types

type Matcher

type Matcher func(descriptor ocispec.Descriptor) bool

func And

func And(matchers ...Matcher) Matcher

func Annotation

func Annotation(key, value string) Matcher

func Digests

func Digests(digests ...digest.Digest) Matcher

func EncodedDigestPrefix

func EncodedDigestPrefix(prefix string) Matcher

func Equal

func Equal(to ocispec.Descriptor) Matcher

func MediaTypes

func MediaTypes(mediaTypes ...string) Matcher

func Name

func Name(name string) Matcher

func Or

func Or(matchers ...Matcher) Matcher

Jump to

Keyboard shortcuts

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