Documentation
¶
Index ¶
- func IndexForSinglePlatformImage(ref name.Reference, image v1.Image, platforms ...string) (v1.ImageIndex, error)
- func ManifestListForImage(img string, platforms []string, opts ...remote.Option) (v1.ImageIndex, error)
- func OCIArtifactImage(img string, opts ...remote.Option) (v1.Image, error)
- func RetainOnlyRequestedPlatformsInIndex(index v1.ImageIndex, platforms ...string) (v1.ImageIndex, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexForSinglePlatformImage ¶ added in v1.20.0
func ManifestListForImage ¶
func OCIArtifactImage ¶ added in v1.19.0
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. |
Click to show internal directories.
Click to hide internal directories.