# Functions
NewGenericPlugin creates a new plugin for a generic device.
NewPlugin creates a new instance of a device plugin.
ToUSBIDHookFunc handles mapstructure decode of standard platform / vendor IDs.
# Constants
DevicePathType represents a file-system device node and is mounted as a device.
MountPathType represents an ordinary file-system node and is bind-mounted.
# Structs
DeviceSpec defines a device that should be discovered and scheduled.
GenericPlugin is a plugin for generic devices that can: * be found using either a file path or a USB identifier; and * mounted and used without special logic.
Group represents a set of devices that should be grouped and mounted into a container together as one single meta-device.
Path represents a file path that should be discovered.
USBSpec represents a USB device specification that should be discovered.
# Interfaces
Plugin is a Kubernetes device plugin that can be run.