Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDriver ¶
func RegisterDriver(drv IDeviceDriver)
Types ¶
type IDeviceDriver ¶
type IDeviceDriver interface { GetType() apis.ContainerDeviceType GetRuntimeDevices(input *hostapi.ContainerCreateInput, devs []*hostapi.ContainerDevice) ([]*runtimeapi.Device, error) }
func GetDriver ¶
func GetDriver(typ apis.ContainerDeviceType) IDeviceDriver
Click to show internal directories.
Click to hide internal directories.