Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNetwork ¶
type ClusterNetwork struct {
*fc.MSCluster_Network
}
func GetClusterNetwork ¶
func GetClusterNetwork(whost *host.WmiHost, nodeName string) (cnode *ClusterNetwork, err error)
GetClusterNetwork gets an existing virtual machine Make sure to call Close once done using this instance
func NewClusterNetwork ¶
func NewClusterNetwork(instance *wmi.WmiInstance) (*ClusterNetwork, error)
NewClusterNetwork
func (*ClusterNetwork) IsPartitioned ¶
func (c *ClusterNetwork) IsPartitioned() (status bool, err error)
IsPartitioned get the cluster network health status
func (*ClusterNetwork) State ¶
func (c *ClusterNetwork) State() (value int32, err error)
State gets the value of FaultState for the instance
type ClusterNetworkCollection ¶
type ClusterNetworkCollection []*ClusterNetwork
func GetClusterNetworks ¶
func GetClusterNetworks(whost *host.WmiHost) (cnodecollection ClusterNetworkCollection, err error)
GetClusterNetwork gets an existing virtual machine Make sure to call Close once done using this instance
func NewClusterNetworkCollection ¶
func NewClusterNetworkCollection(instances []*wmi.WmiInstance) (col ClusterNetworkCollection, err error)
func (*ClusterNetworkCollection) Close ¶
func (instances *ClusterNetworkCollection) Close() (err error)
func (*ClusterNetworkCollection) String ¶
func (instances *ClusterNetworkCollection) String() string
Click to show internal directories.
Click to hide internal directories.