images

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexForSinglePlatformImage added in v1.20.0

func IndexForSinglePlatformImage(
	ref name.Reference,
	image v1.Image,
	platforms ...string,
) (v1.ImageIndex, error)

func ManifestListForImage

func ManifestListForImage(
	img string,
	platforms []string,
	opts ...remote.Option,
) (v1.ImageIndex, error)

func OCIArtifactImage added in v1.19.0

func OCIArtifactImage(
	img string,
	opts ...remote.Option,
) (v1.Image, error)

OCIArtifactImage gets the image from the registry and checks if the image is an OCI artifact.

func RetainOnlyRequestedPlatformsInIndex added in v1.20.0

func RetainOnlyRequestedPlatformsInIndex(
	index v1.ImageIndex,
	platforms ...string,
) (v1.ImageIndex, error)

Types

This section is empty.

Directories

Path Synopsis
Package archive provides readers for image archives: OCI image layout tarballs (per the OCI image-spec) and docker-save tarballs (the output of `docker save`/`podman save`).
Package archive provides readers for image archives: OCI image layout tarballs (per the OCI image-spec) and docker-save tarballs (the output of `docker save`/`podman save`).
testutil
Package testutil provides helpers for building OCI and docker image archive tarballs in tests across the mindthegap codebase.
Package testutil provides helpers for building OCI and docker image archive tarballs in tests across the mindthegap codebase.

Jump to

Keyboard shortcuts

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