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
image: extract image format options into separate structs
Reorganize `ImageConvertOptions` by extracting format-specific options
into dedicated structs (EstargzOptions, ZstdOptions, ZstdChunkedOptions,
NydusOptions, OverlaybdOptions) and embedding them for better code
organization and maintainability.
Signed-off-by: ChengyuZhu6 <[email protected]>
// Estargz convert legacy tar(.gz) layers to eStargz for lazy pulling. Should be used in conjunction with '--oci'
72
81
Estargzbool
73
82
// EstargzRecordIn read 'ctr-remote optimize --record-out=<FILE>' record file (EXPERIMENTAL)
@@ -82,16 +91,18 @@ type ImageConvertOptions struct {
82
91
EstargzExternalTocbool
83
92
// EstargzKeepDiffID convert to esgz without changing diffID (cannot be used in conjunction with '--estargz-record-in'. must be specified with '--estargz-external-toc')
84
93
EstargzKeepDiffIDbool
85
-
// #endregion
94
+
}
86
95
87
-
// #region zstd flags
96
+
// ZstdOptions contains zstd conversion options
97
+
typeZstdOptionsstruct {
88
98
// Zstd convert legacy tar(.gz) layers to zstd. Should be used in conjunction with '--oci'
0 commit comments