manifest

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

PreferManifestList specifically requests a manifest list first

Functions

func ManifestToImageConfig

ManifestToImageConfig takes an image manifest and converts it into a structured object.

func ProcessManifestList

func ProcessManifestList(ctx context.Context, srcDigest digest.Digest, srcManifest distribution.Manifest, manifests distribution.ManifestService, ref imagereference.DockerImageReference, keepManifestList bool) ([]distribution.Manifest, distribution.Manifest, digest.Digest, error)

Types

type ManifestLocation

type ManifestLocation struct {
	Manifest     digest.Digest
	ManifestList digest.Digest
}

func FirstManifest

FirstManifest returns the first manifest at the request location that matches the filter function.

func (ManifestLocation) IsList

func (m ManifestLocation) IsList() bool

func (ManifestLocation) String

func (m ManifestLocation) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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