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
Copy file name to clipboardExpand all lines: copy/copy.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -92,8 +92,9 @@ type Options struct {
92
92
PreserveDigestsbool
93
93
// manifest MIME type of image set by user. "" is default and means use the autodetection to the manifest MIME type
94
94
ForceManifestMIMETypestring
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 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
+
ImageListPlatforms []manifest.Schema2PlatformSpec// if ImageListSelection is CopySpecificImages, copy only these target platforms
97
+
Instances []digest.Digest// if ImageListSelection is CopySpecificImages, copy only these instances and the list itself, this is auto generated by ImageListPlatforms
97
98
// Give priority to pulling gzip images if multiple images are present when configured to OptionalBoolTrue,
98
99
// prefers the best compression if this is configured as OptionalBoolFalse. Choose automatically (and the choice may change over time)
99
100
// if this is set to OptionalBoolUndefined (which is the default behavior, and recommended for most callers).
returnnil, fmt.Errorf("copying multiple images: destination transport %q does not support copying multiple images as a group", destRef.Transport().Name())
0 commit comments