b3ea68948b
Go 1.19 will forecefully format all your doc strings. To get this out of the way, here is one big commit with all the changes gofmt wants to make.
19 lines
439 B
Go
19 lines
439 B
Go
//go:build windows
|
|
|
|
package docker
|
|
|
|
import docker "github.com/fsouza/go-dockerclient"
|
|
|
|
// Currently Windows containers don't support host ip in port binding.
|
|
func getPortBinding(ip string, port string) docker.PortBinding {
|
|
return docker.PortBinding{HostIP: "", HostPort: port}
|
|
}
|
|
|
|
func tweakCapabilities(basics, adds, drops []string) ([]string, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func setCPUSetCgroup(path string, pid int) error {
|
|
return nil
|
|
}
|