Documentation ¶
Overview ¶
vhdx package adds the utility methods necessary to deal with the vhdx that are used as the scratch space for the containers and the uvm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScratchVhdxPartitionInfo ¶
Scratch VHDs are formatted with GPT style and have 1 MSFT_RESERVED partition and 1 BASIC_DATA partition. This struct contains the partitionID of this BASIC_DATA partition and the DiskID of this scratch vhdx.
func GetScratchVhdPartitionInfo ¶
func GetScratchVhdPartitionInfo(ctx context.Context, vhdxPath string) (_ ScratchVhdxPartitionInfo, err error)
Returns the VhdxInfo of a GPT vhdx at path vhdxPath.
Click to show internal directories.
Click to hide internal directories.