2016-02-02 22:36:11 +00:00
|
|
|
// +build !linux
|
|
|
|
|
2016-02-05 00:03:17 +00:00
|
|
|
package executor
|
2016-02-02 22:36:11 +00:00
|
|
|
|
2016-03-19 19:18:10 +00:00
|
|
|
import cgroupConfig "github.com/opencontainers/runc/libcontainer/configs"
|
2016-03-16 02:22:40 +00:00
|
|
|
|
2016-02-04 00:03:43 +00:00
|
|
|
func (e *UniversalExecutor) configureChroot() error {
|
|
|
|
return nil
|
2016-02-02 22:36:11 +00:00
|
|
|
}
|
|
|
|
|
2016-04-02 08:06:41 +00:00
|
|
|
func DestroyCgroup(groups *cgroupConfig.Cgroup, paths map[string]string) error {
|
2016-02-04 00:03:43 +00:00
|
|
|
return nil
|
2016-02-02 22:36:11 +00:00
|
|
|
}
|
|
|
|
|
2016-02-04 00:03:43 +00:00
|
|
|
func (e *UniversalExecutor) removeChrootMounts() error {
|
|
|
|
return nil
|
2016-02-03 02:54:04 +00:00
|
|
|
}
|
|
|
|
|
2016-02-04 00:03:43 +00:00
|
|
|
func (e *UniversalExecutor) runAs(userid string) error {
|
|
|
|
return nil
|
2016-02-02 22:36:11 +00:00
|
|
|
}
|
|
|
|
|
2016-02-05 08:11:09 +00:00
|
|
|
func (e *UniversalExecutor) applyLimits(pid int) error {
|
2016-02-04 00:03:43 +00:00
|
|
|
return nil
|
2016-02-02 22:36:11 +00:00
|
|
|
}
|
|
|
|
|
2016-02-04 00:03:43 +00:00
|
|
|
func (e *UniversalExecutor) configureIsolation() error {
|
2016-02-03 02:54:04 +00:00
|
|
|
return nil
|
2016-02-02 22:36:11 +00:00
|
|
|
}
|