package devices
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/docker/libcontainer/devices"
Index ¶
- Variables
- func DeviceFromPath(path, permissions string) (*configs.Device, error)
- func HostDevices() ([]*configs.Device, error)
- func Major(devNumber int) int64
- func Minor(devNumber int) int64
Variables ¶
Functions ¶
func DeviceFromPath ¶
Given the path to a device and it's 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 ¶
func Major ¶
func Minor ¶
Source Files ¶
devices_unix.go number.go
- Version
- v1.1.7
- Published
- Jan 27, 2016
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 18 minutes ago –
Tools for package owners.