github.com/bigcommerce/nomad@v0.9.3-bc/drivers/shared/executor/executor_basic.go (about) 1 // +build !linux 2 3 package executor 4 5 import ( 6 hclog "github.com/hashicorp/go-hclog" 7 ) 8 9 func NewExecutorWithIsolation(logger hclog.Logger) Executor { 10 logger = logger.Named("executor") 11 logger.Error("isolation executor is not supported on this platform, using default") 12 return NewExecutor(logger) 13 } 14 15 func (e *UniversalExecutor) configureResourceContainer(_ int) error { return nil } 16 17 func (e *UniversalExecutor) runAs(_ string) error { return nil }