2019-04-26 03:39:49 +08:00
|
|
|
// +build !linux,!darwin
|
|
|
|
|
|
|
|
package parse
|
|
|
|
|
2019-09-13 05:44:50 +08:00
|
|
|
import (
|
|
|
|
"github.com/opencontainers/runc/libcontainer/configs"
|
2020-04-04 04:34:43 +08:00
|
|
|
"github.com/pkg/errors"
|
2019-09-13 05:44:50 +08:00
|
|
|
)
|
|
|
|
|
2019-04-26 03:39:49 +08:00
|
|
|
func getDefaultProcessLimits() []string {
|
|
|
|
return []string{}
|
|
|
|
}
|
2019-09-13 05:44:50 +08:00
|
|
|
|
2020-01-29 23:11:23 +08:00
|
|
|
func DeviceFromPath(device string) ([]configs.Device, error) {
|
2020-04-04 04:34:43 +08:00
|
|
|
return []configs.Device{}, errors.Errorf("devices not supported")
|
2019-09-13 05:44:50 +08:00
|
|
|
}
|