github.com/ryanslade/nomad@v0.2.4-0.20160128061903-fc95782f2089/client/driver/executor/exec_universal.go (about) 1 // +build !linux 2 3 package executor 4 5 func NewExecutor(ctx *ExecutorContext) Executor { 6 return &UniversalExecutor{ 7 BasicExecutor: NewBasicExecutor(ctx).(*BasicExecutor), 8 } 9 } 10 11 // UniversalExecutor wraps the BasicExecutor 12 type UniversalExecutor struct { 13 *BasicExecutor 14 }