Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterSharedVolume ¶
type ClusterSharedVolume struct {
}
func GetClusterSharedVolume ¶
func GetClusterSharedVolume(whost *host.WmiHost, volumeName string) (cvolume *ClusterSharedVolume, err error)
GetClusterSharedVolume gets an existing virtual machine Make sure to call Close once done using this instance
func NewClusterSharedVolume ¶
func NewClusterSharedVolume(instance *wmi.WmiInstance) (*ClusterSharedVolume, error)
NewClusterSharedVolume
func (*ClusterSharedVolume) ContainsPath ¶
func (c *ClusterSharedVolume) ContainsPath(absolutePath string) (status bool, err error)
ContainsPath checks if the input path is part of this cluster shared volume
func (*ClusterSharedVolume) GetFaultState ¶
func (c *ClusterSharedVolume) GetFaultState() (value int32, err error)
GetFaultState gets the value of FaultState for the instance
func (*ClusterSharedVolume) IsFaultStateOK ¶
func (c *ClusterSharedVolume) IsFaultStateOK() (status bool, err error)
IsFaultStateOK get the cluster health status
func (*ClusterSharedVolume) IsStatusOK ¶
func (c *ClusterSharedVolume) IsStatusOK() (status bool, err error)
IsStatusOK get the cluster health status
type ClusterSharedVolumeCollection ¶
type ClusterSharedVolumeCollection []*ClusterSharedVolume
func GetClusterSharedVolumes ¶
func GetClusterSharedVolumes(whost *host.WmiHost) (cvolumecollection ClusterSharedVolumeCollection, err error)
GetClusterSharedVolume gets an existing virtual machine Make sure to call Close once done using this instance
func NewClusterSharedVolumeCollection ¶
func NewClusterSharedVolumeCollection(instances []*wmi.WmiInstance) (col ClusterSharedVolumeCollection, err error)
func (*ClusterSharedVolumeCollection) Close ¶
func (instances *ClusterSharedVolumeCollection) Close() (err error)
func (*ClusterSharedVolumeCollection) String ¶
func (instances *ClusterSharedVolumeCollection) String() string
Click to show internal directories.
Click to hide internal directories.