Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Tar2VHD ¶
Tar2VHD takes in a tarstream and outputs a vhd containing the files. It also returns the size of the outputted VHD file.
Types ¶
type Options ¶
type Options struct { TarOpts *archive.TarOptions // Docker's archive.TarOptions struct Filesystem fs.Filesystem // Interface for type of filesystem Converter vhd.Converter // Interface for type of whiteout file TempDirectory string // Temp directory used for the conversions }
Options contains the configuration parameters that get passed to the tar2vhd library.
Click to show internal directories.
Click to hide internal directories.