Documentation ¶
Index ¶
- func FromPath(client *govmomi.Client, name string, dc *object.Datacenter, ...) (*object.ClusterComputeResource, error)
- func Properties(cluster *object.ClusterComputeResource) (*mo.ClusterComputeResource, error)
- func PropertiesFromPath(client *govmomi.Client, dc *object.Datacenter, pool string, ...) (clusterProp *mo.ClusterComputeResource, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPath ¶
func FromPath(client *govmomi.Client, name string, dc *object.Datacenter, status *taskstatus.Status) (*object.ClusterComputeResource, error)
FromPath loads a ClusterComputeResource from its path. The datacenter is optional if the path is specific enough to not require it.
func Properties ¶
func Properties(cluster *object.ClusterComputeResource) (*mo.ClusterComputeResource, error)
Properties is a convenience method that wraps fetching the ClusterComputeResource MO from its higher-level object.
func PropertiesFromPath ¶
func PropertiesFromPath(client *govmomi.Client, dc *object.Datacenter, pool string, status *taskstatus.Status) (clusterProp *mo.ClusterComputeResource, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.