Versions in this module Expand all Collapse all v2 v2.0.1 Nov 6, 2025 Changes in this version + const QemuImgFormat + func AcceptableAsBaseDisk(info *Info) error + type Info struct + ActualSize int64 + BackingFilename string + BackingFilenameFormat string + Children []InfoChild + ClusterSize int + DirtyFlag bool + Filename string + Format string + FormatSpecific *InfoFormatSpecific + FullBackingFilename string + VSize int64 + func GetInfo(ctx context.Context, path string) (*Info, error) + type InfoChild struct + Info Info + Name string + type InfoFormatSpecific struct + Data json.RawMessage + Type string + func (sp *InfoFormatSpecific) Qcow2() *InfoFormatSpecificDataQcow2 + func (sp *InfoFormatSpecific) Vmdk() *InfoFormatSpecificDataVmdk + type InfoFormatSpecificDataQcow2 struct + Compat string + CompressionType string + Corrupt bool + ExtendedL2 bool + LazyRefcounts bool + RefcountBits int + type InfoFormatSpecificDataVmdk struct + CID int + CreateType string + Extents []InfoFormatSpecificDataVmdkExtent + ParentCID int + type InfoFormatSpecificDataVmdkExtent struct + ClusterSize int + Filename string + Format string + VSize int64 + type QemuImageUtil struct + DefaultFormat string + func (q *QemuImageUtil) ConvertToRaw(ctx context.Context, source, dest string, size *int64, ...) error + func (q *QemuImageUtil) CreateDisk(ctx context.Context, disk string, size int64) error + func (q *QemuImageUtil) MakeSparse(_ context.Context, _ *os.File, _ int64) error + func (q *QemuImageUtil) ResizeDisk(ctx context.Context, disk string, size int64) error v2.0.0-rc.0 Nov 4, 2025 v2.0.0-beta.0 Oct 29, 2025 v2.0.0-alpha.2 Oct 3, 2025 v2.0.0-alpha.0 Sep 5, 2025 Other modules containing this package github.com/lima-vm/lima