devicehandler

package
v0.0.0-...-dd127ae Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDriverName

func GetDriverName(pciAddr string) (string, error)

GetDriverName returns current driver attached to a pci device from its pci address

func GetNumaNode

func GetNumaNode(pciAddr string) int

GetNumaNode returns current numa node that the pci device belong to from its pci address

Types

type DeviceHandler

type DeviceHandler interface {
	SetupDevices() error
	GetDevices() (*DeviceList, error)
}

type DeviceList

type DeviceList map[string]pluginapi.Device

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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