2019-05-21 04:11:48 +00:00
|
|
|
//+build !linux
|
|
|
|
|
|
|
|
package allocrunner
|
|
|
|
|
|
|
|
import (
|
2019-08-28 14:51:34 +00:00
|
|
|
hclog "github.com/hashicorp/go-hclog"
|
2019-06-14 03:05:57 +00:00
|
|
|
clientconfig "github.com/hashicorp/nomad/client/config"
|
2019-05-21 04:11:48 +00:00
|
|
|
"github.com/hashicorp/nomad/client/pluginmanager/drivermanager"
|
|
|
|
"github.com/hashicorp/nomad/nomad/structs"
|
|
|
|
"github.com/hashicorp/nomad/plugins/drivers"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TODO: Support windows shared networking
|
|
|
|
func newNetworkManager(alloc *structs.Allocation, driverManager drivermanager.Manager) (nm drivers.DriverNetworkManager, err error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
2019-06-14 03:05:57 +00:00
|
|
|
|
2019-09-04 20:33:25 +00:00
|
|
|
func newNetworkConfigurator(log hclog.Logger, alloc *structs.Allocation, config *clientconfig.Config) (NetworkConfigurator, error) {
|
|
|
|
return &hostNetworkConfigurator{}, nil
|
2019-06-14 03:05:57 +00:00
|
|
|
}
|