Documentation ¶
Index ¶
- Constants
- Variables
- func All() []interface{}
- type Base
- type BranchNavigator
- type CDROM
- type Cluster
- type Concern
- type CpuPinning
- type DataCenter
- type Disk
- type DiskAttachment
- type DiskProfile
- type Guest
- type Host
- type HostDevice
- type HostNIC
- type InvalidRefError
- type IpAddress
- type ListOptions
- type Model
- type NIC
- type NICProfile
- type Network
- type NetworkAttachment
- type ParentNavigator
- type Property
- type Ref
- type Snapshot
- type StorageDomain
- type Tree
- type TreeNode
- type VM
- type WatchDog
Constants ¶
View Source
const (
MaxDetail = base.MaxDetail
)
Variables ¶
View Source
var ( DataCenterKind = libref.ToKind(DataCenter{}) VNICProfileKind = libref.ToKind(NICProfile{}) ClusterKind = libref.ToKind(Cluster{}) HostKind = libref.ToKind(Host{}) NetKind = libref.ToKind(Network{}) StorageKind = libref.ToKind(StorageDomain{}) DiskKind = "Disk" // TODO: UPDATE WITH MODEL. VmKind = libref.ToKind(VM{}) )
Kinds
View Source
var NotFound = libmodel.NotFound
Errors
Functions ¶
Types ¶
type Base ¶
type Base struct { // Managed object ID. ID string `sql:"pk"` // Name Name string `sql:"d0,index(name)"` // Revision Description string `sql:"d0"` // Revision Revision int64 `sql:"incremented,d0,index(revision)"` }
Base oVirt model.
type BranchNavigator ¶
type BranchNavigator = base.BranchNavigator
type CpuPinning ¶
type DataCenter ¶
type DataCenter struct {
Base
}
type DiskAttachment ¶
type DiskProfile ¶
type Host ¶
type Host struct { Base Cluster string `sql:"d0,fk(cluster +cascade)"` Status string `sql:""` ProductName string `sql:""` ProductVersion string `sql:""` InMaintenance bool `sql:""` CpuSockets int16 `sql:""` CpuCores int16 `sql:""` NetworkAttachments []NetworkAttachment `sql:""` NICs []HostNIC `sql:""` }
type HostDevice ¶
type InvalidRefError ¶
type InvalidRefError = base.InvalidRefError
type ListOptions ¶
type ListOptions = base.ListOptions
type NICProfile ¶
type NetworkAttachment ¶
type ParentNavigator ¶
type ParentNavigator = base.ParentNavigator
type StorageDomain ¶
type VM ¶
type VM struct { Base Cluster string `sql:"d0,fk(cluster +cascade)"` Host string `sql:"d0,index(host)"` RevisionValidated int64 `sql:"d0,index(revisionValidated)" eq:"-"` PolicyVersion int `sql:"d0,index(policyVersion)" eq:"-"` GuestName string `sql:""` CpuSockets int16 `sql:""` CpuCores int16 `sql:""` CpuThreads int16 `sql:""` CpuAffinity []CpuPinning `sql:""` Memory int64 `sql:""` BalloonedMemory bool `sql:""` BIOS string `sql:""` Display string `sql:""` IOThreads int16 `sql:""` StorageErrorResumeBehaviour string `sql:""` HaEnabled bool `sql:""` UsbEnabled bool `sql:""` BootMenuEnabled bool `sql:""` PlacementPolicyAffinity string `sql:""` Timezone string `sql:""` Status string `sql:""` Stateless string `sql:""` SerialNumber string `sql:""` HasIllegalImages bool `sql:""` NumaNodeAffinity []string `sql:""` LeaseStorageDomain string `sql:""` DiskAttachments []DiskAttachment `sql:""` NICs []NIC `sql:""` HostDevices []HostDevice `sql:""` CDROMs []CDROM `sql:""` WatchDogs []WatchDog `sql:""` Properties []Property `sql:""` Snapshots []Snapshot `sql:""` Concerns []Concern `sql:"" eq:"-"` Guest Guest `sql:""` OSType string `sql:""` }
Click to show internal directories.
Click to hide internal directories.