package vhdx
import "github.com/Microsoft/hcsshim/internal/vhdx"
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 ¶
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.
Source Files ¶
- Version
- v0.13.0 (latest)
- Published
- Apr 21, 2025
- Platform
- windows/amd64
- Imports
- 14 packages
- Last checked
- 12 hours ago –
Tools for package owners.