Documentation
¶
Index ¶
- func CreateConfiguredDriver(inst *limatype.Instance, sshLocalPort int) (*driver.ConfiguredDriver, error)
- func EnsureDisk(ctx context.Context, instDir, diskSize string, diskImageFormat image.Type) error
- func InspectStatus(ctx context.Context, inst *limatype.Instance) (string, error)
- func MigrateDiskLayout(instDir string) error
- func ResolveVMType(ctx context.Context, y *limatype.LimaYAML, filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfiguredDriver ¶
func CreateConfiguredDriver(inst *limatype.Instance, sshLocalPort int) (*driver.ConfiguredDriver, error)
CreateConfiguredDriver creates a driver.ConfiguredDriver for the given instance.
func EnsureDisk ¶ added in v2.0.3
EnsureDisk creates the VM disk from the downloaded image. For ISO images, it renames the image to "iso" and creates an empty disk. For non-ISO images, it converts the image to "disk" and removes the original.
func InspectStatus ¶
func MigrateDiskLayout ¶ added in v2.1.0
MigrateDiskLayout creates symlinks from the current filenames (disk, iso) to the legacy filenames (diffdisk, basedisk) used by older Lima versions. The original files are left in place so older Lima versions can still use them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.