Documentation
¶
Index ¶
Constants ¶
View Source
const HypervisorListBody = `` /* 2192-byte string literal not displayed */
The first hypervisor represents what the specification says (~Newton) The second is exactly the same, but what you can get off a real system (~Kilo)
Variables ¶
View Source
var ( HypervisorFake = hypervisors.Hypervisor{ CPUInfo: hypervisors.CPUInfo{ Arch: "x86_64", Model: "Nehalem", Vendor: "Intel", Features: []string{ "pge", "clflush", }, Topology: hypervisors.Topology{ Cores: 1, Threads: 1, Sockets: 4, }, }, CurrentWorkload: 0, Status: "enabled", State: "up", DiskAvailableLeast: 0, HostIP: "1.1.1.1", FreeDiskGB: 1028, FreeRamMB: 7680, HypervisorHostname: "fake-mini", HypervisorType: "fake", HypervisorVersion: 2002000, ID: 1, LocalGB: 1028, LocalGBUsed: 0, MemoryMB: 8192, MemoryMBUsed: 512, RunningVMs: 0, Service: hypervisors.Service{ Host: "e6a37ee802d74863ab8b91ade8f12a67", ID: 2, DisabledReason: "", }, VCPUs: 1, VCPUsUsed: 0, } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.