Documentation
¶
Index ¶
- type ClusterSharedVolume
- func GetClusterSharedVolume(whost *host.WmiHost, volumeName string) (cvolume *ClusterSharedVolume, err error)
- func GetClusterSharedVolumebyName(whost *host.WmiHost, name string) (cvolume *ClusterSharedVolume, err error)
- func GetClusterSharedVolumebyVolumeName(whost *host.WmiHost, volumeName string) (cvolume *ClusterSharedVolume, err error)
- func NewClusterSharedVolume(instance *wmi.WmiInstance) (*ClusterSharedVolume, error)
- func (c *ClusterSharedVolume) ContainsPath(absolutePath string) (status bool, err error)
- func (c *ClusterSharedVolume) GetAssociatedClusterResource() (clusterResource *resource.Resource, err error)
- func (c *ClusterSharedVolume) GetFaultState() (value int32, err error)
- func (c *ClusterSharedVolume) IsFaultStateOK() (status bool, err error)
- func (c *ClusterSharedVolume) IsStatusOK() (status bool, err error)
- func (c *ClusterSharedVolume) OwnerGroup() (ownerGroup string, err error)
- type ClusterSharedVolumeCollection
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 GetClusterSharedVolumebyName ¶ added in v0.24.3
func GetClusterSharedVolumebyName(whost *host.WmiHost, name string) (cvolume *ClusterSharedVolume, err error)
GetClusterSharedVolumebyName gets an name of the cluster shared volume Make sure to call Close once done using this instance Sometimes the volume name is difficult to compare
func GetClusterSharedVolumebyVolumeName ¶ added in v0.24.3
func GetClusterSharedVolumebyVolumeName(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) GetAssociatedClusterResource ¶ added in v0.24.3
func (c *ClusterSharedVolume) GetAssociatedClusterResource() (clusterResource *resource.Resource, err error)
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
func (*ClusterSharedVolume) OwnerGroup ¶ added in v0.24.3
func (c *ClusterSharedVolume) OwnerGroup() (ownerGroup string, err error)
OwnerGroup checks if the input path is part of this cluster shared volume
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