Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffinityRule ¶
type AffinityRule struct {
*fc.MSCluster_AffinityRule
}
func GetAffinityRule ¶
func GetAffinityRule(whost *host.WmiHost, affinityRuleName string) (caffinityRule *AffinityRule, err error)
GetAffinityRule gets an existing virtual machine Make sure to call Close once done using this instance
func NewAffinityRule ¶
func NewAffinityRule(instance *wmi.WmiInstance) (*AffinityRule, error)
NewAffinityRule
type AffinityRuleCollection ¶
type AffinityRuleCollection []*AffinityRule
func GetAffinityRules ¶
func GetAffinityRules(whost *host.WmiHost) (caffinityRulecollection AffinityRuleCollection, err error)
GetAffinityRule gets an existing virtual machine Make sure to call Close once done using this instance
func NewAffinityRuleCollection ¶
func NewAffinityRuleCollection(instances []*wmi.WmiInstance) (col AffinityRuleCollection, err error)
func (*AffinityRuleCollection) Close ¶
func (instances *AffinityRuleCollection) Close() (err error)
func (*AffinityRuleCollection) String ¶
func (instances *AffinityRuleCollection) String() string
Click to show internal directories.
Click to hide internal directories.