Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotADevice = errors.New("not a device node")
)
Functions ¶
func DeviceFromPath ¶ added in v0.16.0
Given the path to a device and it's cgroup_permissions(which cannot be easilly queried) look up the information about a linux device and return that information as a Device struct.
func HostDevices ¶ added in v0.16.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.