box

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiskLocation added in v1.11.0

func GetDiskLocation() string

GetDiskLocation returns the full path of the current VM disk image.

func GetDiskUUID

func GetDiskUUID() string

GetDiskUUID returns the VirtualBox UUID for the image of the current VM

func GetLogDir added in v1.12.0

func GetLogDir() string

GetLogDir returns the full path of VirtualBox log directory

func GetType

func GetType() string

GetType returns the box type (e.g. "digabi/ktp-qa") of the current VM If there is no current VM installed, get the value from ~/ktp/Vagrantfile

func GetVersion

func GetVersion() string

GetVersion returns the version string (e.g. "SERVER7108X v69") of the current VM If there is no current VM installed, get the value from ~/ktp/Vagrantfile

func MediumSizeOnDisk added in v1.11.0

func MediumSizeOnDisk(location string) (uint64, error)

MediumSizeOnDisk returns the size of the current VM disk image on disk (= the expected size of a VM backup) in megabytes.

func SetCacheShowVMInfo

func SetCacheShowVMInfo(newShowVMInfo string)

SetCacheShowVMInfo sets cacheShowVMInfo content It is exported for unit tests

Types

This section is empty.

Jump to

Keyboard shortcuts

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