Files
nomad/drivers/shared/executor/executor_basic.go
Nick Ethier 467930f650 executor: use grpc instead of netrpc as plugin protocol
* Added protobuf spec for executor
 * Seperated executor structs into their own package
2018-12-05 11:03:56 -05:00

19 lines
519 B
Go

// +build !linux
package executor
import (
hclog "github.com/hashicorp/go-hclog"
"github.com/hashicorp/nomad/drivers/shared/executor/structs"
)
func NewExecutorWithIsolation(logger hclog.Logger) structs.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 }
func (e *UniversalExecutor) runAs(_ string) error { return nil }