Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterHierarchy ¶
type ClusterHierarchy struct {
DC HierarchyValue
}
func (ClusterHierarchy) IsSet ¶
func (h ClusterHierarchy) IsSet() bool
type DataCenters ¶ added in v0.17.0
type DataCenters map[string]*Datacenter
func (DataCenters) Get ¶ added in v0.17.0
func (dcs DataCenters) Get(id string) *Datacenter
func (DataCenters) Put ¶ added in v0.17.0
func (dcs DataCenters) Put(dc *Datacenter)
type Datacenter ¶
type HierarchyValue ¶
type HierarchyValue struct {
ID, Name string
}
func (HierarchyValue) IsSet ¶
func (v HierarchyValue) IsSet() bool
func (*HierarchyValue) Set ¶
func (v *HierarchyValue) Set(id, name string)
type Host ¶
type Host struct {
Name string
ID string
ParentID string
Hier HostHierarchy
OverallStatus string
MetricList performance.MetricList
Ref types.ManagedObjectReference
}
type HostHierarchy ¶
type HostHierarchy struct {
DC HierarchyValue
Cluster HierarchyValue
}
func (HostHierarchy) IsSet ¶
func (h HostHierarchy) IsSet() bool
type Resources ¶
type Resources struct {
DataCenters DataCenters
Folders Folders
Clusters Clusters
Hosts Hosts
VMs VMs
}
type VM ¶
type VM struct {
Name string
ID string
ParentID string
Hier VMHierarchy
OverallStatus string
MetricList performance.MetricList
Ref types.ManagedObjectReference
}
type VMHierarchy ¶
type VMHierarchy struct {
DC HierarchyValue
Cluster HierarchyValue
Host HierarchyValue
}
func (VMHierarchy) IsSet ¶
func (h VMHierarchy) IsSet() bool
Click to show internal directories.
Click to hide internal directories.