Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSFinder ¶
type OSFinder interface { // FindOperatingSystem tries to find operating system name of the given Vmware VM FindOperatingSystem(vm *mo.VirtualMachine) (string, error) }
OSFinder defines operation of discovering OS name of a VM
type VmwareOSFinder ¶
type VmwareOSFinder struct {
OsMapProvider os.OSMapProvider
}
VmwareOSFinder provides Vmware VM OS information
func (VmwareOSFinder) FindOperatingSystem ¶
func (r VmwareOSFinder) FindOperatingSystem(vm *mo.VirtualMachine) (string, error)
FindOperatingSystem tries to find the guest operating system name of the given Vmware VM
Click to show internal directories.
Click to hide internal directories.