Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
Name string
ID string
ParentID string
Hier ClusterHierarchy
}
When two or more physical machines are grouped to work and be managed as a whole, the aggregate computing and memory resources form a cluster.
type ClusterHierarchy ¶
type ClusterHierarchy struct {
Dc HierarchyValue
}
func (ClusterHierarchy) IsSet ¶
func (h ClusterHierarchy) IsSet() bool
type Datacenter ¶
type Dcs ¶
type Dcs map[string]*Datacenter
func (Dcs) Get ¶
func (dcs Dcs) Get(id string) *Datacenter
func (Dcs) Put ¶
func (dcs Dcs) Put(datacenter *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
}
A host is the virtual representation of the computing and memory resources of a physical machine running ESXi.
type HostHierarchy ¶
type HostHierarchy struct {
Dc HierarchyValue
Cluster HierarchyValue
}
func (HostHierarchy) IsSet ¶
func (h HostHierarchy) IsSet() bool
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.