groupset

package
v0.31.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupSet

type GroupSet struct {
	*fc.MSCluster_GroupSet
}

func CreateAvailabilitySet added in v0.24.2

func CreateAvailabilitySet(whost *host.WmiHost, name string, updateDomainCount int) (availabilitySet *GroupSet, err error)

CreateAffinityRule

func GetAvailabilitySet added in v0.24.2

func GetAvailabilitySet(whost *host.WmiHost, grpSetName string) (cgpSet *GroupSet, err error)

GetAvailabilitySet gets an existing virtual machine Make sure to call Close once done using this instance

func GetGroupSet

func GetGroupSet(whost *host.WmiHost, grpSetName string) (cgpSet *GroupSet, err error)

GetGroupSet gets an existing virtual machine Make sure to call Close once done using this instance

func NewGroupSet

func NewGroupSet(instance *wmi.WmiInstance) (*GroupSet, error)

NewGroupSet

type GroupSetCollection

type GroupSetCollection []*GroupSet

func GetGroupSets

func GetGroupSets(whost *host.WmiHost) (cgpSetcollection GroupSetCollection, err error)

GetGroupSet gets an existing virtual machine Make sure to call Close once done using this instance

func NewGroupSetCollection

func NewGroupSetCollection(instances []*wmi.WmiInstance) (col GroupSetCollection, err error)

func (*GroupSetCollection) Close

func (instances *GroupSetCollection) Close() (err error)

func (*GroupSetCollection) String

func (instances *GroupSetCollection) String() string

Jump to

Keyboard shortcuts

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