os

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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 oVirt VM
	FindOperatingSystem(*ovirtsdk.Vm) (string, error)
}

OSFinder defines operation of discovering OS name of a VM

type OVirtOSFinder

type OVirtOSFinder struct {
	OsMapProvider os.OSMapProvider
}

OVirtOSFinder provides oVirt VM OS information

func (*OVirtOSFinder) FindOperatingSystem

func (o *OVirtOSFinder) FindOperatingSystem(vm *ovirtsdk.Vm) (string, error)

FindOperatingSystem tries to find operating system name of the given oVirt VM

Jump to

Keyboard shortcuts

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