package tar2ext4
import "github.com/Microsoft/hcsshim/ext4/tar2ext4"
Index ¶
- func AppendVhdFooter(p *params)
- func Convert(r io.Reader, w io.ReadWriteSeeker, options ...Option) error
- func ConvertWhiteout(p *params)
- func InlineData(p *params)
- type Option
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.
Source Files ¶
- Version
- v0.7.7
- Published
- Oct 8, 2018
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 2 hours ago –
Tools for package owners.