image

package
v0.0.0-...-aa10f78 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnpackedImage

type UnpackedImage struct {
	Image       containerd.Image
	SnapshotKey string
}

func Pull

func Pull(ctx context.Context, client *containerd.Client, ref string) (*UnpackedImage, error)

Pull pulls a remote image and unpacks it into the default snapshotter (typically, overlayfs). It returns an UnpackedImage which contains the image and the snapshot key.

Containerd's snapshot key of an image is the ChainID of the image's diffIDs.

Jump to

Keyboard shortcuts

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