package
Version:
v0.0.0-...-884d9dc
Opens a new window with list of versions in this module.
Published: Apr 30, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type Cluster struct {
ZoneID int `xml:"ZONE_ID"`
ClusterID int `xml:"CLUSTER_ID"`
}
type Datastore struct {
ZoneID int `xml:"ZONE_ID"`
DatastoreID int `xml:"DATASTORE_ID"`
}
type Host struct {
ZoneID int `xml:"ZONE_ID"`
HostID int `xml:"HOST_ID"`
}
type Pool struct {
XMLName xml.Name `xml:"VDC_POOL"`
VDCs []VDC `xml:"VDC"`
}
Pool represents an OpenNebula Vdc pool
type VDC struct {
XMLName xml.Name `xml:"VDC"`
ID int `xml:"ID,omitempty"`
Name string `xml:"NAME"`
Groups shared.EntitiesID `xml:"GROUPS,omitempty"`
Clusters []Cluster `xml:"CLUSTERS>CLUSTER,omitempty"`
Hosts []Host `xml:"HOSTS>HOST,omitempty"`
Datastores []Datastore `xml:"DATASTORES>DATASTORE,omitempty"`
VNets []VNet `xml:"VNETS>VNET,omitempty"`
Template Template `xml:"TEMPLATE"`
}
VDC represents an OpenNebula Vdc
type VNet struct {
ZoneID int `xml:"ZONE_ID"`
VnetID int `xml:"VNET_ID"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.