Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrependEmptyLayer ¶ added in v0.2.21
func PrependEmptyLayer(ctx context.Context, cs content.Store, manifestDesc ocispec.Descriptor) (ocispec.Descriptor, error)
PrependEmptyLayer modifies the original image manifest and config to prepend an empty layer This is done on purpose to force new shas for all the subsequent layers when unpacked by runtimes So that no layer reuse can be possible between stock OCI images and nydus-converted OCI images It returns the updated manifest descriptor
Types ¶
Click to show internal directories.
Click to hide internal directories.