Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSelf ¶
GetSelf gets VirtualMachine reference for the VM this process is running on
Types ¶
type Guest ¶
type Guest interface { GuestID() string Spec() *spec.VirtualMachineConfigSpec Controller() *types.BaseVirtualController }
Guest interface defines the different guest types
type LinuxGuestType ¶
type LinuxGuestType struct { *spec.VirtualMachineConfigSpec // contains filtered or unexported fields }
LinuxGuestType type
func (*LinuxGuestType) Controller ¶
func (l *LinuxGuestType) Controller() *types.BaseVirtualController
Controller returns the types.BaseVirtualController to the caller
func (*LinuxGuestType) GuestID ¶
func (l *LinuxGuestType) GuestID() string
GuestID returns the guest id of the linux guest
func (*LinuxGuestType) Spec ¶
func (l *LinuxGuestType) Spec() *spec.VirtualMachineConfigSpec
Spec returns the underlying types.VirtualMachineConfigSpec to the caller
Source Files
¶
- guest.go
- linux.go
Click to show internal directories.
Click to hide internal directories.