clustersharedvolume

package
v0.38.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterSharedVolume

type ClusterSharedVolume struct {
	*fc.MSCluster_ClusterSharedVolume
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL