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.
Click to show internal directories.
Click to hide internal directories.