package devices
import "github.com/opencontainers/runc/libcontainer/devices"
Index ¶
- Variables
- func DeviceFromPath(path, permissions string) (*configs.Device, error)
- func HostDevices() ([]*configs.Device, error)
Variables ¶
Functions ¶
func DeviceFromPath ¶
Given the path to a device and its cgroup_permissions(which cannot be easily queried) look up the information about a linux device and return that information as a Device struct.
func HostDevices ¶
Source Files ¶
- Version
- v1.0.0-rc8
- Published
- Apr 24, 2019
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 2 minutes ago –
Tools for package owners.