2015-04-29 22:53:35 +00:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package daemon
|
|
|
|
|
2016-10-13 21:51:10 +00:00
|
|
|
import (
|
|
|
|
"github.com/docker/docker/container"
|
|
|
|
"github.com/docker/libnetwork"
|
|
|
|
)
|
2015-04-29 22:53:35 +00:00
|
|
|
|
2015-11-12 19:55:17 +00:00
|
|
|
func (daemon *Daemon) setupLinkedContainers(container *container.Container) ([]string, error) {
|
2015-04-29 22:53:35 +00:00
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
2015-11-03 01:06:09 +00:00
|
|
|
// getSize returns real size & virtual size
|
2015-11-12 19:55:17 +00:00
|
|
|
func (daemon *Daemon) getSize(container *container.Container) (int64, int64) {
|
2015-04-29 22:53:35 +00:00
|
|
|
// TODO Windows
|
|
|
|
return 0, 0
|
|
|
|
}
|
|
|
|
|
2015-11-12 19:55:17 +00:00
|
|
|
func (daemon *Daemon) setupIpcDirs(container *container.Container) error {
|
2015-08-03 22:05:34 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-04-06 19:01:29 +00:00
|
|
|
// TODO Windows: Fix Post-TP5. This is a hack to allow docker cp to work
|
2015-11-12 19:55:17 +00:00
|
|
|
// against containers which have volumes. You will still be able to cp
|
|
|
|
// to somewhere on the container drive, but not to any mounted volumes
|
|
|
|
// inside the container. Without this fix, docker cp is broken to any
|
|
|
|
// container which has a volume, regardless of where the file is inside the
|
|
|
|
// container.
|
|
|
|
func (daemon *Daemon) mountVolumes(container *container.Container) error {
|
2015-08-03 22:05:34 +00:00
|
|
|
return nil
|
|
|
|
}
|
2015-09-24 21:59:23 +00:00
|
|
|
|
2015-11-12 19:55:17 +00:00
|
|
|
func detachMounted(path string) error {
|
2015-12-01 18:39:34 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2015-11-12 19:55:17 +00:00
|
|
|
func killProcessDirectly(container *container.Container) error {
|
2015-11-11 21:53:38 +00:00
|
|
|
return nil
|
|
|
|
}
|
2016-03-10 04:33:21 +00:00
|
|
|
|
|
|
|
func isLinkable(child *container.Container) bool {
|
|
|
|
return false
|
|
|
|
}
|
2016-04-20 22:35:11 +00:00
|
|
|
|
|
|
|
func enableIPOnPredefinedNetwork() bool {
|
|
|
|
return true
|
|
|
|
}
|
2016-09-21 19:02:20 +00:00
|
|
|
|
|
|
|
func (daemon *Daemon) isNetworkHotPluggable() bool {
|
|
|
|
return false
|
|
|
|
}
|
2016-10-13 21:51:10 +00:00
|
|
|
|
|
|
|
func setupPathsAndSandboxOptions(container *container.Container, sboxOptions *[]libnetwork.SandboxOption) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func initializeNetworkingPaths(container *container.Container, nc *container.Container) {
|
|
|
|
}
|