service

package
v0.38.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 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 ClusterService

type ClusterService struct {
	*fc.MSCluster_Service
}

func GetLocalClusterService

func GetLocalClusterService(whost *host.WmiHost) (mgmt *ClusterService, err error)

GetVirtualEthernetSwitchManagementService gets the VMMS Switch Management Service

func NewClusterService

func NewClusterService(instance *wmi.WmiInstance) (*ClusterService, error)

NewClusterService

type ClusterServiceCollection

type ClusterServiceCollection []*ClusterService

func GetClusterServices

func GetClusterServices(whost *host.WmiHost) (cservicecollection ClusterServiceCollection, err error)

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

func NewClusterServiceCollection

func NewClusterServiceCollection(instances []*wmi.WmiInstance) (col ClusterServiceCollection, err error)

func (*ClusterServiceCollection) Close

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

func (*ClusterServiceCollection) String

func (instances *ClusterServiceCollection) String() string

Jump to

Keyboard shortcuts

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