clustersharedvolume

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 9 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 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

Jump to

Keyboard shortcuts

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