archive

package
v5.19.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 19 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Transport = ociArchiveTransport{}

Transport is an ImageTransport for OCI archive it creates an oci-archive tar file by calling into the OCI transport tarring the directory created by oci and deleting the directory

Functions

func LoadManifestDescriptor

func LoadManifestDescriptor(imgRef types.ImageReference) (imgspecv1.Descriptor, error)

LoadManifestDescriptor loads the manifest Deprecated: use LoadManifestDescriptorWithContext instead

func LoadManifestDescriptorWithContext added in v5.1.0

func LoadManifestDescriptorWithContext(sys *types.SystemContext, imgRef types.ImageReference) (imgspecv1.Descriptor, error)

LoadManifestDescriptorWithContext loads the manifest

func NewReference

func NewReference(file, image string) (types.ImageReference, error)

NewReference returns an OCI reference for a file and a image.

func ParseReference

func ParseReference(reference string) (types.ImageReference, error)

ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an OCI ImageReference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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