github.com/ranjib/nomad@v0.1.1-0.20160225204057-97751b02f70b/client/driver/executor/executor_basic.go (about) 1 // +build !linux 2 3 package executor 4 5 import ( 6 cgroupConfig "github.com/opencontainers/runc/libcontainer/configs" 7 ) 8 9 func (e *UniversalExecutor) configureChroot() error { 10 return nil 11 } 12 13 func DestroyCgroup(groups *cgroupConfig.Cgroup) error { 14 return nil 15 } 16 17 func (e *UniversalExecutor) removeChrootMounts() error { 18 return nil 19 } 20 21 func (e *UniversalExecutor) runAs(userid string) error { 22 return nil 23 } 24 25 func (e *UniversalExecutor) applyLimits(pid int) error { 26 return nil 27 } 28 29 func (e *UniversalExecutor) configureIsolation() error { 30 return nil 31 }