Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendVhdFooter ¶
func AppendVhdFooter(p *params)
AppendVhdFooter instructs the converter to add a fixed VHD footer to the file.
func Convert ¶
Convert writes a compact ext4 file system image that contains the files in the input tar stream.
func ConvertWhiteout ¶
func ConvertWhiteout(p *params)
ConvertWhiteout instructs the converter to convert OCI-style whiteouts (beginning with .wh.) to overlay-style whiteouts.
func InlineData ¶
func InlineData(p *params)
InlineData instructs the converter to write small files into the inode structures directly. This creates smaller images but currently is not compatible with DAX.
Types ¶
type Option ¶
type Option func(*params)
Option is the type for optional parameters to Convert.
func MaximumDiskSize ¶
MaximumDiskSize instructs the writer to limit the disk size to the specified value. This also reserves enough metadata space for the specified disk size. If not provided, then 16GB is the default.