mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Windows: Tidy libcontainer\devices
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// +build linux freebsd
|
||||
|
||||
package devices
|
||||
|
||||
import (
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
// +build windows
|
||||
|
||||
package devices
|
||||
@@ -1,16 +0,0 @@
|
||||
package devices
|
||||
|
||||
import (
|
||||
"github.com/opencontainers/runc/libcontainer/configs"
|
||||
)
|
||||
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user