open-nomad/drivers/shared/executor/executor_basic.go

16 lines
444 B
Go
Raw Normal View History

// +build !linux
2016-02-02 22:36:11 +00:00
2016-02-05 00:03:17 +00:00
package executor
2016-02-02 22:36:11 +00:00
import hclog "github.com/hashicorp/go-hclog"
2016-05-25 21:58:32 +00:00
func NewExecutorWithIsolation(logger hclog.Logger) Executor {
logger = logger.Named("executor")
logger.Error("isolation executor is not supported on this platform, using default")
return NewExecutor(logger)
}
func (e *UniversalExecutor) configureResourceContainer(_ int) error { return nil }
2016-02-02 22:36:11 +00:00
func (e *UniversalExecutor) runAs(_ string) error { return nil }