Versions in this module Expand all Collapse all v0 v0.12.0 Jun 6, 2014 Changes in this version + const Wildcard + var DefaultAllowedDevices = append([]*Device{ ... }, DefaultSimpleDevices) + var DefaultAutoCreatedDevices = append([]*Device{ ... }, DefaultSimpleDevices) + var DefaultSimpleDevices = []*Device + var ErrNotADeviceNode = errors.New("not a device node") + func GetDeviceNumberString(deviceNumber int64) string + func Major(devNumber int) int64 + func Minor(devNumber int) int64 + func Mkdev(majorNumber int64, minorNumber int64) int + type Device struct + CgroupPermissions string + FileMode os.FileMode + MajorNumber int64 + MinorNumber int64 + Path string + Type rune + func GetDevice(path string, cgroupPermissions string) (*Device, error) + func GetHostDeviceNodes() ([]*Device, error) + func (device *Device) GetCgroupAllowString() string