open-nomad/drivers/docker/driver_default.go

12 lines
213 B
Go
Raw Normal View History

//+build !windows
package docker
import (
docker "github.com/fsouza/go-dockerclient"
)
func getPortBinding(ip string, port string) docker.PortBinding {
return docker.PortBinding{HostIP: ip, HostPort: port}
}