pcie

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstancePath

func GetInstancePath(whost *host.WmiHost, deviceId string) (instancePath string, err error)

func NewPciExpress

func NewPciExpress(whost *host.WmiHost) (pcie *v2.Msvm_PciExpress, err error)

Types

type PciExpressSettingData

type PciExpressSettingData struct {
	*v2.Msvm_PciExpressSettingData
}

func GetDefaultPciExpressSettingData

func GetDefaultPciExpressSettingData(whost *host.WmiHost) (*PciExpressSettingData, error)

func NewPciExpressSettingData

func NewPciExpressSettingData(instance *wmi.WmiInstance) (*PciExpressSettingData, error)

NewPciExpressSettingData

type PcieDevice

type PcieDevice struct {
	*PciExpressSettingData
}

func NewPcieDevice

func NewPcieDevice(instance *wmi.WmiInstance) (*PcieDevice, error)

func (*PcieDevice) CloneEx1

func (pcie *PcieDevice) CloneEx1() (*PcieDevice, error)

func (*PcieDevice) GetPath

func (device *PcieDevice) GetPath() (string, error)

type PcieDeviceCollection

type PcieDeviceCollection []*PcieDevice

func NewPcieDeviceCollection

func NewPcieDeviceCollection(instances []*wmi.WmiInstance) (col PcieDeviceCollection, err error)

func (*PcieDeviceCollection) Close

func (vms *PcieDeviceCollection) Close() (err error)

func (*PcieDeviceCollection) String

func (vms *PcieDeviceCollection) String() string

Jump to

Keyboard shortcuts

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