Documentation ¶
Index ¶
- Variables
- func AllDeviceDrivers() map[string]bool
- func AllMountPoints() map[string]bool
- func DeviceExists(devs []*devicepluginapi.Device, id string) bool
- func GetDevices() []*devicepluginapi.Device
- func GetEPCSize() uint64
- func WatchXIDs(ctx context.Context, devs []*devicepluginapi.Device, ...)
- type EPCSection
Constants ¶
This section is empty.
Variables ¶
View Source
var AESMSocketDir string = "/var/run/aesmd"
View Source
var EnableAESMSocketAttach bool
Functions ¶
func AllDeviceDrivers ¶
AllDeviceDrivers lists all device drivers.
func DeviceExists ¶
func DeviceExists(devs []*devicepluginapi.Device, id string) bool
DeviceExists check device existence by id.
func GetDevices ¶
func GetDevices() []*devicepluginapi.Device
GetDevices divides EPC into many virtual devices, each device's ecp memory is 1MiB.
func WatchXIDs ¶
func WatchXIDs(ctx context.Context, devs []*devicepluginapi.Device, xids chan<- *devicepluginapi.Device)
WatchXIDs is used for device health-check.
Types ¶
type EPCSection ¶
EPCSection - ECP Section(Bank).
Click to show internal directories.
Click to hide internal directories.