hypervctl

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiskSize

func GetDiskSize(diskPath string) (strongunits.B, error)

func ResizeDisk

func ResizeDisk(diskPath string, newSize strongunits.GiB) error

ResizeDisk takes a diskPath and strongly typed new size and uses powershell to change its size. There is no error protection for trying to size a disk smaller than the current size.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL