2015-05-14 06:42:16 +08:00
|
|
|
package devices
|
|
|
|
|
|
|
|
import (
|
2015-06-22 10:29:59 +08:00
|
|
|
"github.com/opencontainers/runc/libcontainer/configs"
|
2015-05-14 06:42:16 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
// TODO Windows. This can be factored out further - Devices are not supported
|
|
|
|
// by Windows Containers.
|
|
|
|
|
|
|
|
func DeviceFromPath(path, permissions string) (*configs.Device, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func HostDevices() ([]*configs.Device, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|