Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Device ¶
func Device(d *devices.Device) specs.LinuxDevice
Device transforms a libcontainer configs.Device to a specs.LinuxDevice object.
func DevicesFromPath ¶
func DevicesFromPath(pathOnHost, pathInContainer, cgroupPermissions string) (devs []specs.LinuxDevice, devPermissions []specs.LinuxDeviceCgroup, err error)
DevicesFromPath computes a list of devices and device permissions from paths (pathOnHost and pathInContainer) and cgroup permissions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.