Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed files/bin/hyperkit files/bin/machine-driver-hyperkit files/bin/qcow-tool files/machine/image.qcow2.bz2 files/machine/kernel files/machine/initrd.img files/machine/UEFI.fd files/machine/machine.yaml FS embed.FS Binaries = map[string]string{ "hyperkit": "files/bin/hyperkit", "machine-driver-hyperkit": "files/bin/machine-driver-hyperkit", "qcow-tool": "files/bin/qcow-tool", } Machine = map[string]string{ "image.qcow2.bz2": "files/machine/image.qcow2.bz2", "kernel": "files/machine/kernel", "initrd.img": "files/machine/initrd.img", "machine.yaml": "files/machine/machine.yaml", "UEFI.fd": "files/machine/UEFI.fd", } )
View Source
var Version = "0.0.0-dev"
Functions ¶
func UnbundleBin ¶
func UnbundleMachine ¶
Types ¶
type BundleVersion ¶
type BundleVersion struct {
Bundle Bundle
}
func NewVersionFromBundle ¶
func NewVersionFromBundle() (*BundleVersion, error)
func (*BundleVersion) String ¶
func (b *BundleVersion) String() string
Click to show internal directories.
Click to hide internal directories.