images

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 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

Jump to

Keyboard shortcuts

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