You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an InstancePlatforms field to the copy.Options structure. When
asked to copy only a specific subset of instances, combine the Instances
list with the instances which match the platforms given in the
InstancePlatforms list, returning an error if we're unable to find an
instance which matches any of the InstancePlatforms.
Signed-off-by: Nalin Dahyabhai <[email protected]>
// manifest MIME type of image set by user. "" is default and means use the autodetection to the manifest MIME type
93
94
ForceManifestMIMETypestring
94
-
ImageListSelectionImageListSelection// set to either CopySystemImage (the default), CopyAllImages, or CopySpecificImages to control which instances we copy when the source reference is a list; ignored if the source reference is not a list
95
-
Instances []digest.Digest// if ImageListSelection is CopySpecificImages, copy only these instances and the list itself
95
+
ImageListSelectionImageListSelection// set to either CopySystemImage (the default), CopyAllImages, or CopySpecificImages to control which instances we copy when the source reference is a list; ignored if the source reference is not a list
96
+
Instances []digest.Digest// if ImageListSelection is CopySpecificImages, copy only these instances, instances matching the InstancePlatforms list, and the list itself
97
+
InstancePlatforms []imgspecv1.Platform// if ImageListSelection is CopySpecificImages, copy only matching instances, instances listed in the Instances list, and the list itself
96
98
// Give priority to pulling gzip images if multiple images are present when configured to OptionalBoolTrue,
97
99
// prefers the best compression if this is configured as OptionalBoolFalse. Choose automatically (and the choice may change over time)
98
100
// if this is set to OptionalBoolUndefined (which is the default behavior, and recommended for most callers).
0 commit comments