ethernetport

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalEthernetPort

type ExternalEthernetPort struct {
	*v2.Msvm_ExternalEthernetPort
}

func GetExternalEthernetPort

func GetExternalEthernetPort(whost *host.WmiHost, ethernetName string) (ethernet *ExternalEthernetPort, err error)

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

func GetExternalEthernetPortByID

func GetExternalEthernetPortByID(whost *host.WmiHost, ethernetID string) (ethernet *ExternalEthernetPort, err error)

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

func NewExternalEthernetPort

func NewExternalEthernetPort(instance *wmi.WmiInstance) (*ExternalEthernetPort, error)

NewExternalEthernetPort

Jump to

Keyboard shortcuts

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