17 lines
349 B
Go
17 lines
349 B
Go
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
|
|
}
|